| 
 | 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 CacheManagerand theTerracottaClientConfiguration | |
| Method Summary | |
|---|---|
|  boolean | createClusteredInstanceFactory(Map<String,CacheConfiguration> cacheConfigs)Returns true if the clusteredInstanceFactory was created, otherwise returns false. | 
|  TerracottaCacheCluster | getCacheCluster()Get the CacheClusterassociated with this client | 
|  ClusteredInstanceFactory | getClusteredInstanceFactory()Returns the ClusteredInstanceFactoryassociated 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 client| Method 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 | |||||||||