public class Infinispan<T extends Infinispan<T>> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Infinispan.InfinispanResources
Child mutators for Infinispan
|
Constructor and Description |
---|
Infinispan() |
Modifier and Type | Method and Description |
---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a property change listener
|
T |
cacheContainer(CacheContainer value)
Add the CacheContainer object to the list of subresources
|
T |
cacheContainer(CacheContainerSupplier supplier)
Install a supplied CacheContainer object to the list of subresources
|
T |
cacheContainer(String childKey)
Create and configure a CacheContainer object to the list of subresources
|
T |
cacheContainer(String childKey,
CacheContainerConsumer consumer)
Create and configure a CacheContainer object to the list of subresources
|
T |
cacheContainers(List<CacheContainer> value)
Add all CacheContainer objects to this subresource
|
String |
getKey() |
T |
remoteCacheContainer(RemoteCacheContainer value)
Add the RemoteCacheContainer object to the list of subresources
|
T |
remoteCacheContainer(RemoteCacheContainerSupplier supplier)
Install a supplied RemoteCacheContainer object to the list of
subresources
|
T |
remoteCacheContainer(String childKey)
Create and configure a RemoteCacheContainer object to the list of
subresources
|
T |
remoteCacheContainer(String childKey,
RemoteCacheContainerConsumer consumer)
Create and configure a RemoteCacheContainer object to the list of
subresources
|
T |
remoteCacheContainers(List<RemoteCacheContainer> value)
Add all RemoteCacheContainer objects to this subresource
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Removes a property change listener
|
Infinispan.InfinispanResources |
subresources() |
public String getKey()
public void addPropertyChangeListener(PropertyChangeListener listener)
public void removePropertyChangeListener(PropertyChangeListener listener)
public Infinispan.InfinispanResources subresources()
public T cacheContainers(List<CacheContainer> value)
value
- List of CacheContainer objects.public T cacheContainer(CacheContainer value)
value
- The CacheContainer to addpublic T cacheContainer(String childKey, CacheContainerConsumer consumer)
key
- The key for the CacheContainer resourceconfig
- The CacheContainerConsumer to usepublic T cacheContainer(String childKey)
key
- The key for the CacheContainer resourcepublic T cacheContainer(CacheContainerSupplier supplier)
public T remoteCacheContainers(List<RemoteCacheContainer> value)
value
- List of RemoteCacheContainer objects.public T remoteCacheContainer(RemoteCacheContainer value)
value
- The RemoteCacheContainer to addpublic T remoteCacheContainer(String childKey, RemoteCacheContainerConsumer consumer)
key
- The key for the RemoteCacheContainer resourceconfig
- The RemoteCacheContainerConsumer to usepublic T remoteCacheContainer(String childKey)
key
- The key for the RemoteCacheContainer resourcepublic T remoteCacheContainer(RemoteCacheContainerSupplier supplier)
Copyright © 2019 JBoss by Red Hat. All rights reserved.