public class CacheContainer<T extends CacheContainer> extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CacheContainer.CacheContainerResources
Child mutators for CacheContainer
|
| Constructor and Description |
|---|
CacheContainer(String key) |
| Modifier and Type | Method and Description |
|---|---|
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
|
AsyncOperationsThreadPool |
asyncOperationsThreadPool()
Defines a thread pool used for asynchronous operations.
|
T |
asyncOperationsThreadPool(AsyncOperationsThreadPool value)
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 org.wildfly.swarm.config.infinispan.cache_container.DistributedCache object to the list of subresources
|
T |
distributedCache(String childKey)
Create and configure a org.wildfly.swarm.config.infinispan.cache_container.DistributedCache object to the list of subresources
|
T |
distributedCache(String childKey,
DistributedCacheConfigurator config)
Create and configure a org.wildfly.swarm.config.infinispan.cache_container.DistributedCache object to the list of subresources
|
T |
distributedCaches(List<DistributedCache> value)
Add all org.wildfly.swarm.config.infinispan.cache_container.DistributedCache objects to this subresource
|
ExpirationThreadPool |
expirationThreadPool()
Defines a thread pool used for for evictions.
|
T |
expirationThreadPool(ExpirationThreadPool value)
Defines a thread pool used for for evictions.
|
String |
getKey() |
T |
invalidationCache(InvalidationCache value)
Add the org.wildfly.swarm.config.infinispan.cache_container.InvalidationCache object to the list of subresources
|
T |
invalidationCache(String childKey)
Create and configure a org.wildfly.swarm.config.infinispan.cache_container.InvalidationCache object to the list of subresources
|
T |
invalidationCache(String childKey,
InvalidationCacheConfigurator config)
Create and configure a org.wildfly.swarm.config.infinispan.cache_container.InvalidationCache object to the list of subresources
|
T |
invalidationCaches(List<InvalidationCache> value)
Add all org.wildfly.swarm.config.infinispan.cache_container.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.
|
JGroupsTransport |
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
|
String |
jndiName()
The jndi name to which to bind this cache container
|
T |
jndiName(String value)
The jndi name to which to bind this cache container
|
ListenerThreadPool |
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.
|
String |
localAddress()
The local address of the node.
|
T |
localAddress(String value)
The local address of the node.
|
T |
localCache(LocalCache value)
Add the org.wildfly.swarm.config.infinispan.cache_container.LocalCache object to the list of subresources
|
T |
localCache(String childKey)
Create and configure a org.wildfly.swarm.config.infinispan.cache_container.LocalCache object to the list of subresources
|
T |
localCache(String childKey,
LocalCacheConfigurator config)
Create and configure a org.wildfly.swarm.config.infinispan.cache_container.LocalCache object to the list of subresources
|
T |
localCaches(List<LocalCache> value)
Add all org.wildfly.swarm.config.infinispan.cache_container.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.
|
NoneTransport |
noneTransport()
A local-only transport used by this cache-container
|
T |
noneTransport(NoneTransport value)
A local-only transport used by this cache-container
|
PersistenceThreadPool |
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.
|
RemoteCommandThreadPool |
remoteCommandThreadPool()
Defines a thread pool used to execute remote commands.
|
T |
remoteCommandThreadPool(RemoteCommandThreadPool value)
Defines a thread pool used to execute remote commands.
|
T |
replicatedCache(ReplicatedCache value)
Add the org.wildfly.swarm.config.infinispan.cache_container.ReplicatedCache object to the list of subresources
|
T |
replicatedCache(String childKey)
Create and configure a org.wildfly.swarm.config.infinispan.cache_container.ReplicatedCache object to the list of subresources
|
T |
replicatedCache(String childKey,
ReplicatedCacheConfigurator config)
Create and configure a org.wildfly.swarm.config.infinispan.cache_container.ReplicatedCache object to the list of subresources
|
T |
replicatedCaches(List<ReplicatedCache> value)
Add all org.wildfly.swarm.config.infinispan.cache_container.ReplicatedCache objects to this subresource
|
StateTransferThreadPool |
stateTransferThreadPool()
Defines a thread pool used for for state transfer.
|
T |
stateTransferThreadPool(StateTransferThreadPool value)
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() |
TransportThreadPool |
transportThreadPool()
Defines a thread pool used for asynchronous transport communication.
|
T |
transportThreadPool(TransportThreadPool value)
Defines a thread pool used for asynchronous transport communication.
|
public CacheContainer(String key)
public String getKey()
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 jndiName()
public String localAddress()
public T localAddress(String value)
public String module()
public T module(String value)
public Boolean statisticsEnabled()
public T statisticsEnabled(Boolean value)
public CacheContainer.CacheContainerResources subresources()
public T invalidationCaches(List<InvalidationCache> value)
value - List of org.wildfly.swarm.config.infinispan.cache_container.InvalidationCache objects.public T invalidationCache(InvalidationCache value)
value - The org.wildfly.swarm.config.infinispan.cache_container.InvalidationCache to addpublic T invalidationCache(String childKey, InvalidationCacheConfigurator config)
key - The key for the org.wildfly.swarm.config.infinispan.cache_container.InvalidationCache resourceconfig - The org.wildfly.swarm.config.infinispan.cache_container.InvalidationCacheConfigurator to usepublic T invalidationCache(String childKey)
key - The key for the org.wildfly.swarm.config.infinispan.cache_container.InvalidationCache resourcepublic T localCaches(List<LocalCache> value)
value - List of org.wildfly.swarm.config.infinispan.cache_container.LocalCache objects.public T localCache(LocalCache value)
value - The org.wildfly.swarm.config.infinispan.cache_container.LocalCache to addpublic T localCache(String childKey, LocalCacheConfigurator config)
key - The key for the org.wildfly.swarm.config.infinispan.cache_container.LocalCache resourceconfig - The org.wildfly.swarm.config.infinispan.cache_container.LocalCacheConfigurator to usepublic T localCache(String childKey)
key - The key for the org.wildfly.swarm.config.infinispan.cache_container.LocalCache resourcepublic T replicatedCaches(List<ReplicatedCache> value)
value - List of org.wildfly.swarm.config.infinispan.cache_container.ReplicatedCache objects.public T replicatedCache(ReplicatedCache value)
value - The org.wildfly.swarm.config.infinispan.cache_container.ReplicatedCache to addpublic T replicatedCache(String childKey, ReplicatedCacheConfigurator config)
key - The key for the org.wildfly.swarm.config.infinispan.cache_container.ReplicatedCache resourceconfig - The org.wildfly.swarm.config.infinispan.cache_container.ReplicatedCacheConfigurator to usepublic T replicatedCache(String childKey)
key - The key for the org.wildfly.swarm.config.infinispan.cache_container.ReplicatedCache resourcepublic T distributedCaches(List<DistributedCache> value)
value - List of org.wildfly.swarm.config.infinispan.cache_container.DistributedCache objects.public T distributedCache(DistributedCache value)
value - The org.wildfly.swarm.config.infinispan.cache_container.DistributedCache to addpublic T distributedCache(String childKey, DistributedCacheConfigurator config)
key - The key for the org.wildfly.swarm.config.infinispan.cache_container.DistributedCache resourceconfig - The org.wildfly.swarm.config.infinispan.cache_container.DistributedCacheConfigurator to usepublic T distributedCache(String childKey)
key - The key for the org.wildfly.swarm.config.infinispan.cache_container.DistributedCache resourcepublic JGroupsTransport jgroupsTransport()
public T jgroupsTransport(JGroupsTransport value)
public RemoteCommandThreadPool remoteCommandThreadPool()
public T remoteCommandThreadPool(RemoteCommandThreadPool value)
public AsyncOperationsThreadPool asyncOperationsThreadPool()
public T asyncOperationsThreadPool(AsyncOperationsThreadPool value)
public ExpirationThreadPool expirationThreadPool()
public T expirationThreadPool(ExpirationThreadPool value)
public NoneTransport noneTransport()
public T noneTransport(NoneTransport value)
public TransportThreadPool transportThreadPool()
public T transportThreadPool(TransportThreadPool value)
public PersistenceThreadPool persistenceThreadPool()
public T persistenceThreadPool(PersistenceThreadPool value)
public ListenerThreadPool listenerThreadPool()
public T listenerThreadPool(ListenerThreadPool value)
public StateTransferThreadPool stateTransferThreadPool()
public T stateTransferThreadPool(StateTransferThreadPool value)
Copyright © 2015 JBoss by Red Hat. All rights reserved.