|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.ehcache.terracotta.TerracottaClient
public class TerracottaClient
Class encapsulating the idea of a Terracotta client. Provides access to the ClusteredInstanceFactory
for the cluster
Field Summary | |
---|---|
static String |
CUSTOM_SECRET_PROVIDER_SYSTEM_PROPERTY
|
Constructor Summary | |
---|---|
TerracottaClient(CacheManager cacheManager,
TerracottaClientConfiguration terracottaClientConfiguration)
Constructor accepting the CacheManager and the TerracottaClientConfiguration |
Method Summary | |
---|---|
boolean |
createClusteredInstanceFactory(Map<String,CacheConfiguration> cacheConfigs)
Returns true if the clusteredInstanceFactory was created, otherwise returns false. |
TerracottaCacheCluster |
getCacheCluster()
Get the CacheCluster associated with this client |
ClusteredInstanceFactory |
getClusteredInstanceFactory()
Returns the ClusteredInstanceFactory associated with this client |
void |
shutdown()
Shuts down the client |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String CUSTOM_SECRET_PROVIDER_SYSTEM_PROPERTY
Constructor Detail |
---|
public TerracottaClient(CacheManager cacheManager, TerracottaClientConfiguration terracottaClientConfiguration)
CacheManager
and the TerracottaClientConfiguration
cacheManager
- the cache manager to be clusteredterracottaClientConfiguration
- the configuration for the terracotta clientMethod Detail |
---|
public ClusteredInstanceFactory getClusteredInstanceFactory()
ClusteredInstanceFactory
associated with this client
public boolean createClusteredInstanceFactory(Map<String,CacheConfiguration> cacheConfigs)
cacheConfigs
- map of cache names to cache configurations
public TerracottaCacheCluster getCacheCluster()
CacheCluster
associated with this client
CacheCluster
associated with this clientpublic void shutdown()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |