public class DistributedCacheManager extends Object implements Startable
ExoContainer because
to be able to launch ispn instances in standalone mode we need to have a static
configuration file.| Modifier and Type | Field and Description |
|---|---|
protected org.infinispan.manager.EmbeddedCacheManager |
manager
The infinispan cache manager
|
| Constructor and Description |
|---|
DistributedCacheManager(InitParams params,
ConfigurationManager configManager)
Default constructor
|
DistributedCacheManager(InitParams params,
ConfigurationManager configManager,
TransactionService ts)
Default constructor
|
DistributedCacheManager(String configurationFile,
Map<String,String> parameters,
ConfigurationManager configManager)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
<K,V> org.infinispan.Cache<K,V> |
getCache(String cacheName)
Gives the cache corresponding to the given name if it doesn't exist
a
NullPointerException will be thrown |
void |
start() |
void |
stop() |
protected final org.infinispan.manager.EmbeddedCacheManager manager
public DistributedCacheManager(String configurationFile, Map<String,String> parameters, ConfigurationManager configManager)
public DistributedCacheManager(InitParams params, ConfigurationManager configManager)
public DistributedCacheManager(InitParams params, ConfigurationManager configManager, TransactionService ts)
public <K,V> org.infinispan.Cache<K,V> getCache(String cacheName)
NullPointerException will be thrownpublic void start()
start in interface StartableStartable.start()public void stop()
stop in interface StartableStartable.stop()Copyright © 2017 eXo Platform SAS. All Rights Reserved.