|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.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()
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 |
void |
waitForOrchestrator(String cacheManagerName)
Wait for the Orchestrator for this CacheManager |
| 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 client| Method Detail |
|---|
public ClusteredInstanceFactory getClusteredInstanceFactory()
ClusteredInstanceFactory associated with this client
public boolean createClusteredInstanceFactory()
public TerracottaCacheCluster getCacheCluster()
CacheCluster associated with this client
CacheCluster associated with this clientpublic void shutdown()
public void waitForOrchestrator(String cacheManagerName)
cacheManagerName -
|
ehcache | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||