|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.web.tomcat.service.session.distributedcache.impl.DistributedCacheManagerFactoryImpl
public class DistributedCacheManagerFactoryImpl
Field Summary | |
---|---|
static String |
DEFAULT_CACHE_MODE
TreeCache's cache mode |
static String |
DEFAULT_CLUSTER_NAME
|
static String |
DEFAULT_ISOLATION_LEVEL
TreeCache's isolation level |
static long |
DEFAULT_LOCK_TIMEOUT
TreeCache's lock aquisition timeout |
static String |
DEFAULT_TM_LOOKUP
TransactionManagerLookup implementation that the TreeCache should use. |
Constructor Summary | |
---|---|
DistributedCacheManagerFactoryImpl()
|
Method Summary | |
---|---|
void |
clearCaches()
Convenience method for test fixtures to clear any injected cache. |
org.jboss.web.tomcat.service.session.distributedcache.spi.DistributedCacheManager |
getDistributedCacheManager(org.jboss.web.tomcat.service.session.distributedcache.spi.LocalDistributableSessionManager localManager)
|
org.jboss.cache.Cache<Object,Object> |
getPlainCache()
|
org.jboss.cache.pojo.PojoCache |
getPojoCache()
|
org.jboss.web.tomcat.service.session.distributedcache.spi.TomcatClusterConfig |
getTomcatClusterConfig()
|
void |
setPlainCache(org.jboss.cache.Cache<Object,Object> plainCache)
Hook for test fixtures to inject a Cache, which if present will be used to create the DistributedCacheManager in preference to any passed cacheConfigName . |
void |
setPojoCache(org.jboss.cache.pojo.PojoCache pojoCache)
Hook for test fixtures to inject a PojoCache, which if present will be used to create the DistributedCacheManager in preference to any passed cacheConfigName . |
void |
setTomcatClusterConfig(org.jboss.web.tomcat.service.session.distributedcache.spi.TomcatClusterConfig clusterConfig)
|
void |
start()
|
void |
stop()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_CLUSTER_NAME
public static final String DEFAULT_ISOLATION_LEVEL
public static final String DEFAULT_CACHE_MODE
public static final long DEFAULT_LOCK_TIMEOUT
public static final String DEFAULT_TM_LOOKUP
Constructor Detail |
---|
public DistributedCacheManagerFactoryImpl()
Method Detail |
---|
public org.jboss.web.tomcat.service.session.distributedcache.spi.DistributedCacheManager getDistributedCacheManager(org.jboss.web.tomcat.service.session.distributedcache.spi.LocalDistributableSessionManager localManager) throws org.jboss.web.tomcat.service.session.distributedcache.spi.ClusteringNotSupportedException
getDistributedCacheManager
in interface org.jboss.web.tomcat.service.session.distributedcache.spi.DistributedCacheManagerFactory
org.jboss.web.tomcat.service.session.distributedcache.spi.ClusteringNotSupportedException
public org.jboss.web.tomcat.service.session.distributedcache.spi.TomcatClusterConfig getTomcatClusterConfig()
getTomcatClusterConfig
in interface org.jboss.web.tomcat.service.session.distributedcache.spi.TomcatClusterDistributedCacheManagerFactory
public void setTomcatClusterConfig(org.jboss.web.tomcat.service.session.distributedcache.spi.TomcatClusterConfig clusterConfig)
setTomcatClusterConfig
in interface org.jboss.web.tomcat.service.session.distributedcache.spi.TomcatClusterDistributedCacheManagerFactory
public void start() throws Exception
start
in interface org.jboss.web.tomcat.service.session.distributedcache.spi.TomcatClusterDistributedCacheManagerFactory
Exception
public void stop() throws Exception
stop
in interface org.jboss.web.tomcat.service.session.distributedcache.spi.TomcatClusterDistributedCacheManagerFactory
Exception
public org.jboss.cache.pojo.PojoCache getPojoCache()
public void setPojoCache(org.jboss.cache.pojo.PojoCache pojoCache)
cacheConfigName
.
public org.jboss.cache.Cache<Object,Object> getPlainCache()
public void setPlainCache(org.jboss.cache.Cache<Object,Object> plainCache)
cacheConfigName
.
public void clearCaches()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |