|
eXo Kernel :: Cache Extension :: Infinispan Implementation 2.5.1-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.services.ispn.DistributedCacheManager
public class DistributedCacheManager
This class is used to allow to use infinispan in distribution mode with
the ability to launch infinispan instances in standalone mode, in other
words outside an application server. To make it possible we will need to share
the same cache instance whatever the related ExoContainer because
to be able to launch ispn instances in standalone mode we need to have a static
configuration file.
| Field Summary | |
|---|---|
protected org.infinispan.manager.EmbeddedCacheManager |
manager
The infinispan cache manager |
| Constructor Summary | |
|---|---|
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 |
|
| Method Summary | ||
|---|---|---|
|
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()
|
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.infinispan.manager.EmbeddedCacheManager manager
| Constructor Detail |
|---|
public DistributedCacheManager(String configurationFile,
Map<String,String> parameters,
ConfigurationManager configManager)
public DistributedCacheManager(InitParams params,
ConfigurationManager configManager)
public DistributedCacheManager(InitParams params,
ConfigurationManager configManager,
TransactionService ts)
| Method Detail |
|---|
public <K,V> org.infinispan.Cache<K,V> getCache(String cacheName)
NullPointerException will be thrown
public void start()
start in interface StartableStartable.start()public void stop()
stop in interface StartableStartable.stop()
|
eXo Kernel :: Cache Extension :: Infinispan Implementation 2.5.1-GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||