org.terracotta.modules.ehcache.store
Class TerracottaClusteredInstanceFactory
java.lang.Object
org.terracotta.modules.ehcache.store.TerracottaClusteredInstanceFactory
- All Implemented Interfaces:
- net.sf.ehcache.terracotta.ClusteredInstanceFactory
public class TerracottaClusteredInstanceFactory
- extends Object
- implements net.sf.ehcache.terracotta.ClusteredInstanceFactory
|
Constructor Summary |
TerracottaClusteredInstanceFactory(net.sf.ehcache.config.TerracottaConfigConfiguration tcConfig)
This constructor is called reflectively by TerracottaStoreHelper.newStoreFactory() |
|
Method Summary |
net.sf.ehcache.event.CacheEventListener |
createEventReplicator(net.sf.ehcache.Ehcache cache)
|
static ClusteredStore |
createOldVersionStore(net.sf.ehcache.Ehcache cache)
|
net.sf.ehcache.store.Store |
createStore(net.sf.ehcache.Ehcache cache)
|
net.sf.ehcache.writer.writebehind.WriteBehind |
createWriteBehind(net.sf.ehcache.Ehcache cache)
|
net.sf.ehcache.transaction.xa.EhcacheXAStore |
createXAStore(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.store.Store store,
boolean bypassValidation)
|
net.sf.ehcache.cluster.CacheCluster |
getTopology()
|
String |
getUUID()
This is used by SampledMBeanRegistrationProvider to generate a JMX MBean ObjectName containing the client's uuid so
that it can be associated with the correct connection when tunneled to the L2. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_CACHE_MANAGER_NAME
public static final String DEFAULT_CACHE_MANAGER_NAME
- See Also:
- Constant Field Values
TerracottaClusteredInstanceFactory
public TerracottaClusteredInstanceFactory(net.sf.ehcache.config.TerracottaConfigConfiguration tcConfig)
- This constructor is called reflectively by TerracottaStoreHelper.newStoreFactory()
createStore
public net.sf.ehcache.store.Store createStore(net.sf.ehcache.Ehcache cache)
- Specified by:
createStore in interface net.sf.ehcache.terracotta.ClusteredInstanceFactory
createOldVersionStore
public static ClusteredStore createOldVersionStore(net.sf.ehcache.Ehcache cache)
createWriteBehind
public net.sf.ehcache.writer.writebehind.WriteBehind createWriteBehind(net.sf.ehcache.Ehcache cache)
- Specified by:
createWriteBehind in interface net.sf.ehcache.terracotta.ClusteredInstanceFactory
createXAStore
public net.sf.ehcache.transaction.xa.EhcacheXAStore createXAStore(net.sf.ehcache.Ehcache cache,
net.sf.ehcache.store.Store store,
boolean bypassValidation)
- Specified by:
createXAStore in interface net.sf.ehcache.terracotta.ClusteredInstanceFactory
createEventReplicator
public net.sf.ehcache.event.CacheEventListener createEventReplicator(net.sf.ehcache.Ehcache cache)
- Specified by:
createEventReplicator in interface net.sf.ehcache.terracotta.ClusteredInstanceFactory
getTopology
public net.sf.ehcache.cluster.CacheCluster getTopology()
- Specified by:
getTopology in interface net.sf.ehcache.terracotta.ClusteredInstanceFactory
getUUID
public String getUUID()
- This is used by SampledMBeanRegistrationProvider to generate a JMX MBean ObjectName containing the client's uuid so
that it can be associated with the correct connection when tunneled to the L2.
- Specified by:
getUUID in interface net.sf.ehcache.terracotta.ClusteredInstanceFactory
Copyright © 2010 Terracotta, Inc.. All Rights Reserved.