public class CacheContainer<T extends CacheContainer<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
CacheContainer.CacheContainerResources
Child mutators for CacheContainer
|
Constructor and Description |
---|
CacheContainer(String key) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
alias(String value)
The list of aliases for this cache container
|
List<String> |
aliases()
The list of aliases for this cache container
|
T |
aliases(List<String> value)
The list of aliases for this cache container
|
T |
aliases(String... args)
The list of aliases for this cache container
|
T |
asyncOperationsThreadPool()
Defines a thread pool used for asynchronous operations.
|
T |
asyncOperationsThreadPool(AsyncOperationsThreadPool value)
Defines a thread pool used for asynchronous operations.
|
T |
asyncOperationsThreadPool(AsyncOperationsThreadPoolConsumer consumer)
Defines a thread pool used for asynchronous operations.
|
T |
asyncOperationsThreadPool(AsyncOperationsThreadPoolSupplier supplier)
Defines a thread pool used for asynchronous operations.
|
String |
cacheManagerStatus()
The status of the cache manager component.
|
T |
cacheManagerStatus(String value)
The status of the cache manager component.
|
String |
clusterName()
The name of the cluster this node belongs to.
|
T |
clusterName(String value)
The name of the cluster this node belongs to.
|
String |
coordinatorAddress()
The logical address of the cluster's coordinator.
|
T |
coordinatorAddress(String value)
The logical address of the cluster's coordinator.
|
String |
defaultCache()
The default infinispan cache
|
T |
defaultCache(String value)
The default infinispan cache
|
T |
distributedCache(DistributedCache value)
Add the DistributedCache object to the list of subresources
|
T |
distributedCache(DistributedCacheSupplier supplier)
Install a supplied DistributedCache object to the list of subresources
|
T |
distributedCache(String childKey)
Create and configure a DistributedCache object to the list of
subresources
|
T |
distributedCache(String childKey,
DistributedCacheConsumer consumer)
Create and configure a DistributedCache object to the list of
subresources
|
T |
distributedCaches(List<DistributedCache> value)
Add all DistributedCache objects to this subresource
|
T |
expirationThreadPool()
Defines a thread pool used for for evictions.
|
T |
expirationThreadPool(ExpirationThreadPool value)
Defines a thread pool used for for evictions.
|
T |
expirationThreadPool(ExpirationThreadPoolConsumer consumer)
Defines a thread pool used for for evictions.
|
T |
expirationThreadPool(ExpirationThreadPoolSupplier supplier)
Defines a thread pool used for for evictions.
|
String |
getKey() |
T |
invalidationCache(InvalidationCache value)
Add the InvalidationCache object to the list of subresources
|
T |
invalidationCache(InvalidationCacheSupplier supplier)
Install a supplied InvalidationCache object to the list of subresources
|
T |
invalidationCache(String childKey)
Create and configure a InvalidationCache object to the list of
subresources
|
T |
invalidationCache(String childKey,
InvalidationCacheConsumer consumer)
Create and configure a InvalidationCache object to the list of
subresources
|
T |
invalidationCaches(List<InvalidationCache> value)
Add all InvalidationCache objects to this subresource
|
Boolean |
isCoordinator()
Set to true if this node is the cluster's coordinator.
|
T |
isCoordinator(Boolean value)
Set to true if this node is the cluster's coordinator.
|
T |
jgroupsTransport()
The description of the transport used by this cache container
|
T |
jgroupsTransport(JGroupsTransport value)
The description of the transport used by this cache container
|
T |
jgroupsTransport(JGroupsTransportConsumer consumer)
The description of the transport used by this cache container
|
T |
jgroupsTransport(JGroupsTransportSupplier supplier)
The description of the transport used by this cache container
|
T |
listenerThreadPool()
Defines a thread pool used for asynchronous cache listener notifications.
|
T |
listenerThreadPool(ListenerThreadPool value)
Defines a thread pool used for asynchronous cache listener notifications.
|
T |
listenerThreadPool(ListenerThreadPoolConsumer consumer)
Defines a thread pool used for asynchronous cache listener notifications.
|
T |
listenerThreadPool(ListenerThreadPoolSupplier supplier)
Defines a thread pool used for asynchronous cache listener notifications.
|
String |
localAddress()
The local address of the node.
|
T |
localAddress(String value)
The local address of the node.
|
T |
localCache(LocalCache value)
Add the LocalCache object to the list of subresources
|
T |
localCache(LocalCacheSupplier supplier)
Install a supplied LocalCache object to the list of subresources
|
T |
localCache(String childKey)
Create and configure a LocalCache object to the list of subresources
|
T |
localCache(String childKey,
LocalCacheConsumer consumer)
Create and configure a LocalCache object to the list of subresources
|
T |
localCaches(List<LocalCache> value)
Add all LocalCache objects to this subresource
|
String |
module()
The module whose class loader should be used when building this cache
container's configuration.
|
T |
module(String value)
The module whose class loader should be used when building this cache
container's configuration.
|
T |
noneTransport()
A local-only transport used by this cache-container
|
T |
noneTransport(NoneTransport value)
A local-only transport used by this cache-container
|
T |
noneTransport(NoneTransportConsumer consumer)
A local-only transport used by this cache-container
|
T |
noneTransport(NoneTransportSupplier supplier)
A local-only transport used by this cache-container
|
T |
persistenceThreadPool()
Defines a thread pool used for interacting with the persistent store.
|
T |
persistenceThreadPool(PersistenceThreadPool value)
Defines a thread pool used for interacting with the persistent store.
|
T |
persistenceThreadPool(PersistenceThreadPoolConsumer consumer)
Defines a thread pool used for interacting with the persistent store.
|
T |
persistenceThreadPool(PersistenceThreadPoolSupplier supplier)
Defines a thread pool used for interacting with the persistent store.
|
T |
remoteCommandThreadPool()
Defines a thread pool used to execute remote commands.
|
T |
remoteCommandThreadPool(RemoteCommandThreadPool value)
Defines a thread pool used to execute remote commands.
|
T |
remoteCommandThreadPool(RemoteCommandThreadPoolConsumer consumer)
Defines a thread pool used to execute remote commands.
|
T |
remoteCommandThreadPool(RemoteCommandThreadPoolSupplier supplier)
Defines a thread pool used to execute remote commands.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
T |
replicatedCache(ReplicatedCache value)
Add the ReplicatedCache object to the list of subresources
|
T |
replicatedCache(ReplicatedCacheSupplier supplier)
Install a supplied ReplicatedCache object to the list of subresources
|
T |
replicatedCache(String childKey)
Create and configure a ReplicatedCache object to the list of subresources
|
T |
replicatedCache(String childKey,
ReplicatedCacheConsumer consumer)
Create and configure a ReplicatedCache object to the list of subresources
|
T |
replicatedCaches(List<ReplicatedCache> value)
Add all ReplicatedCache objects to this subresource
|
T |
scatteredCache(ScatteredCache value)
Add the ScatteredCache object to the list of subresources
|
T |
scatteredCache(ScatteredCacheSupplier supplier)
Install a supplied ScatteredCache object to the list of subresources
|
T |
scatteredCache(String childKey)
Create and configure a ScatteredCache object to the list of subresources
|
T |
scatteredCache(String childKey,
ScatteredCacheConsumer consumer)
Create and configure a ScatteredCache object to the list of subresources
|
T |
scatteredCaches(List<ScatteredCache> value)
Add all ScatteredCache objects to this subresource
|
T |
stateTransferThreadPool()
Defines a thread pool used for for state transfer.
|
T |
stateTransferThreadPool(StateTransferThreadPool value)
Defines a thread pool used for for state transfer.
|
T |
stateTransferThreadPool(StateTransferThreadPoolConsumer consumer)
Defines a thread pool used for for state transfer.
|
T |
stateTransferThreadPool(StateTransferThreadPoolSupplier supplier)
Defines a thread pool used for for state transfer.
|
Boolean |
statisticsEnabled()
If enabled, statistics will be collected for this cache container
|
T |
statisticsEnabled(Boolean value)
If enabled, statistics will be collected for this cache container
|
CacheContainer.CacheContainerResources |
subresources() |
T |
transportThreadPool()
Defines a thread pool used for asynchronous transport communication.
|
T |
transportThreadPool(TransportThreadPool value)
Defines a thread pool used for asynchronous transport communication.
|
T |
transportThreadPool(TransportThreadPoolConsumer consumer)
Defines a thread pool used for asynchronous transport communication.
|
T |
transportThreadPool(TransportThreadPoolSupplier supplier)
Defines a thread pool used for asynchronous transport communication.
|
public CacheContainer(String key)
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public CacheContainer.CacheContainerResources subresources()
public T invalidationCaches(List<InvalidationCache> value)
value
- List of InvalidationCache objects.public T invalidationCache(InvalidationCache value)
value
- The InvalidationCache to addpublic T invalidationCache(String childKey, InvalidationCacheConsumer consumer)
key
- The key for the InvalidationCache resourceconfig
- The InvalidationCacheConsumer to usepublic T invalidationCache(String childKey)
key
- The key for the InvalidationCache resourcepublic T invalidationCache(InvalidationCacheSupplier supplier)
public T localCaches(List<LocalCache> value)
value
- List of LocalCache objects.public T localCache(LocalCache value)
value
- The LocalCache to addpublic T localCache(String childKey, LocalCacheConsumer consumer)
key
- The key for the LocalCache resourceconfig
- The LocalCacheConsumer to usepublic T localCache(String childKey)
key
- The key for the LocalCache resourcepublic T localCache(LocalCacheSupplier supplier)
public T replicatedCaches(List<ReplicatedCache> value)
value
- List of ReplicatedCache objects.public T replicatedCache(ReplicatedCache value)
value
- The ReplicatedCache to addpublic T replicatedCache(String childKey, ReplicatedCacheConsumer consumer)
key
- The key for the ReplicatedCache resourceconfig
- The ReplicatedCacheConsumer to usepublic T replicatedCache(String childKey)
key
- The key for the ReplicatedCache resourcepublic T replicatedCache(ReplicatedCacheSupplier supplier)
public T distributedCaches(List<DistributedCache> value)
value
- List of DistributedCache objects.public T distributedCache(DistributedCache value)
value
- The DistributedCache to addpublic T distributedCache(String childKey, DistributedCacheConsumer consumer)
key
- The key for the DistributedCache resourceconfig
- The DistributedCacheConsumer to usepublic T distributedCache(String childKey)
key
- The key for the DistributedCache resourcepublic T distributedCache(DistributedCacheSupplier supplier)
public T scatteredCaches(List<ScatteredCache> value)
value
- List of ScatteredCache objects.public T scatteredCache(ScatteredCache value)
value
- The ScatteredCache to addpublic T scatteredCache(String childKey, ScatteredCacheConsumer consumer)
key
- The key for the ScatteredCache resourceconfig
- The ScatteredCacheConsumer to usepublic T scatteredCache(String childKey)
key
- The key for the ScatteredCache resourcepublic T scatteredCache(ScatteredCacheSupplier supplier)
public T remoteCommandThreadPool(RemoteCommandThreadPool value)
public T remoteCommandThreadPool(RemoteCommandThreadPoolConsumer consumer)
public T remoteCommandThreadPool()
public T remoteCommandThreadPool(RemoteCommandThreadPoolSupplier supplier)
public T jgroupsTransport(JGroupsTransport value)
public T jgroupsTransport(JGroupsTransportConsumer consumer)
public T jgroupsTransport()
public T jgroupsTransport(JGroupsTransportSupplier supplier)
public T asyncOperationsThreadPool(AsyncOperationsThreadPool value)
public T asyncOperationsThreadPool(AsyncOperationsThreadPoolConsumer consumer)
public T asyncOperationsThreadPool()
public T asyncOperationsThreadPool(AsyncOperationsThreadPoolSupplier supplier)
public T expirationThreadPool(ExpirationThreadPool value)
public T expirationThreadPool(ExpirationThreadPoolConsumer consumer)
public T expirationThreadPool()
public T expirationThreadPool(ExpirationThreadPoolSupplier supplier)
public T transportThreadPool(TransportThreadPool value)
public T transportThreadPool(TransportThreadPoolConsumer consumer)
public T transportThreadPool()
public T transportThreadPool(TransportThreadPoolSupplier supplier)
public T noneTransport(NoneTransport value)
public T noneTransport(NoneTransportConsumer consumer)
public T noneTransport()
public T noneTransport(NoneTransportSupplier supplier)
public T persistenceThreadPool(PersistenceThreadPool value)
public T persistenceThreadPool(PersistenceThreadPoolConsumer consumer)
public T persistenceThreadPool()
public T persistenceThreadPool(PersistenceThreadPoolSupplier supplier)
public T listenerThreadPool(ListenerThreadPool value)
public T listenerThreadPool(ListenerThreadPoolConsumer consumer)
public T listenerThreadPool()
public T listenerThreadPool(ListenerThreadPoolSupplier supplier)
public T stateTransferThreadPool(StateTransferThreadPool value)
public T stateTransferThreadPool(StateTransferThreadPoolConsumer consumer)
public T stateTransferThreadPool()
public T stateTransferThreadPool(StateTransferThreadPoolSupplier supplier)
public String cacheManagerStatus()
public T cacheManagerStatus(String value)
public String clusterName()
public T clusterName(String value)
public String coordinatorAddress()
public T coordinatorAddress(String value)
public String defaultCache()
public Boolean isCoordinator()
public T isCoordinator(Boolean value)
public String localAddress()
public T localAddress(String value)
public String module()
public T module(String value)
public Boolean statisticsEnabled()
Copyright © 2019 JBoss by Red Hat. All rights reserved.