Package | Description |
---|---|
org.apache.commons.jcs.auxiliary |
Root package for auxiliary caches.
|
org.apache.commons.jcs.auxiliary.disk |
The primary disk auxiliary.
|
org.apache.commons.jcs.auxiliary.disk.block | |
org.apache.commons.jcs.auxiliary.disk.indexed | |
org.apache.commons.jcs.auxiliary.disk.jdbc | |
org.apache.commons.jcs.auxiliary.disk.jdbc.hsql | |
org.apache.commons.jcs.auxiliary.disk.jdbc.mysql | |
org.apache.commons.jcs.auxiliary.lateral |
Root package for the lateral cache family.
|
org.apache.commons.jcs.auxiliary.lateral.socket.tcp | |
org.apache.commons.jcs.auxiliary.remote |
Root package for the remote auxiliary cache.
|
org.apache.commons.jcs.auxiliary.remote.http.client | |
org.apache.commons.jcs.auxiliary.remote.http.server | |
org.apache.commons.jcs.auxiliary.remote.server | |
org.apache.commons.jcs.engine.logging |
Modifier and Type | Method and Description |
---|---|
ICacheEventLogger |
AbstractAuxiliaryCache.getCacheEventLogger()
Allows it to be injected.
|
static ICacheEventLogger |
AuxiliaryCacheConfigurator.parseCacheEventLogger(Properties props,
String auxPrefix)
Parses the event logger config, if there is any for the auxiliary.
|
Modifier and Type | Method and Description |
---|---|
<K,V> AuxiliaryCache<K,V> |
AuxiliaryCacheFactory.createCache(AuxiliaryCacheAttributes attr,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Creates an auxiliary using the supplied attributes.
|
void |
AbstractAuxiliaryCache.setCacheEventLogger(ICacheEventLogger cacheEventLogger)
Allows it to be injected.
|
void |
AuxiliaryCache.setCacheEventLogger(ICacheEventLogger cacheEventLogger)
Every Auxiliary must allow for the use of an event logger.
|
Modifier and Type | Method and Description |
---|---|
ICacheEventLogger |
AbstractDiskCacheManager.getCacheEventLogger() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractDiskCacheManager.setCacheEventLogger(ICacheEventLogger cacheEventLogger) |
Modifier and Type | Method and Description |
---|---|
<K,V> AuxiliaryCache<K,V> |
BlockDiskCacheFactory.createCache(AuxiliaryCacheAttributes iaca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Get an instance of the BlockDiskCacheManager for the attributes and then get an
IndexedDiskCache from the manager.
|
static BlockDiskCacheManager |
BlockDiskCacheManager.getInstance(BlockDiskCacheAttributes defaultCacheAttributes,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Gets the singleton instance of the manager
|
Modifier and Type | Method and Description |
---|---|
<K,V> AuxiliaryCache<K,V> |
IndexedDiskCacheFactory.createCache(AuxiliaryCacheAttributes iaca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Get an instance of the IndexDiskCacheManager for the attributes and then get an
IndexedDiskCache from the manager.
|
static IndexedDiskCacheManager |
IndexedDiskCacheManager.getInstance(IndexedDiskCacheAttributes defaultCacheAttributes,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Gets the singleton instance of the manager
|
Modifier and Type | Method and Description |
---|---|
<K,V> AuxiliaryCache<K,V> |
JDBCDiskCacheFactory.createCache(AuxiliaryCacheAttributes rawAttr,
ICompositeCacheManager compositeCacheManager,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
This factory method should create an instance of the mysqlcache.
|
static JDBCDiskCacheManager |
JDBCDiskCacheManager.getInstance(JDBCDiskCacheAttributes cattr,
ICompositeCacheManager compositeCacheManager,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Gets the instance attribute of the HSQLCacheManager class
|
Modifier and Type | Method and Description |
---|---|
<K,V> AuxiliaryCache<K,V> |
HSQLDiskCacheFactory.createCache(AuxiliaryCacheAttributes rawAttr,
ICompositeCacheManager cacheManager,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
This factory method should create an instance of the hsqlcache.
|
Modifier and Type | Method and Description |
---|---|
<K,V> AuxiliaryCache<K,V> |
MySQLDiskCacheFactory.createCache(AuxiliaryCacheAttributes rawAttr,
ICompositeCacheManager cacheManager,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
This factory method should create an instance of the mysqlcache.
|
static MySQLDiskCacheManager |
MySQLDiskCacheManager.getInstance(MySQLDiskCacheAttributes cattr,
ICompositeCacheManager compositeCacheManager,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Gets the instance attribute of the HSQLCacheManager class
|
Modifier and Type | Method and Description |
---|---|
abstract <K,V> AuxiliaryCache<K,V> |
LateralCacheAbstractFactory.createCache(AuxiliaryCacheAttributes attr,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Creates a lateral cache.
|
Modifier and Type | Method and Description |
---|---|
<K,V> AuxiliaryCache<K,V> |
LateralTCPCacheFactory.createCache(AuxiliaryCacheAttributes iaca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Creates a TCP lateral.
|
LateralTCPDiscoveryListener |
LateralTCPDiscoveryListenerManager.getDiscoveryListener(ITCPLateralCacheAttributes ilca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Gets the instance attribute of the LateralCacheTCPListener class.
|
static LateralTCPCacheManager |
LateralTCPCacheManager.getInstance(ITCPLateralCacheAttributes lca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Returns an instance of the LateralCacheManager.
|
Constructor and Description |
---|
LateralTCPDiscoveryListener(ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
This plugs into the udp discovery system.
|
Modifier and Type | Method and Description |
---|---|
<K,V> AuxiliaryCache<K,V> |
RemoteCacheFactory.createCache(AuxiliaryCacheAttributes iaca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
For LOCAL clients we get a handle to all the failovers, but we do not register a listener
with them.
|
static RemoteCacheManager |
RemoteCacheManager.getInstance(IRemoteCacheAttributes cattr,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Returns an instance of RemoteCacheManager for the given connection parameters.
|
Constructor and Description |
---|
AbstractRemoteCacheNoWaitFacade(RemoteCacheNoWait<K,V>[] noWaits,
RemoteCacheAttributes rca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Constructs with the given remote cache, and fires events to any listeners.
|
RemoteCacheFailoverRunner(RemoteCacheNoWaitFacade<K,V> facade,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Constructor for the RemoteCacheFailoverRunner object.
|
RemoteCacheNoWaitFacade(RemoteCacheNoWait<K,V>[] noWaits,
RemoteCacheAttributes rca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Constructs with the given remote cache, and fires events to any listeners.
|
Modifier and Type | Method and Description |
---|---|
<K,V> AuxiliaryCache<K,V> |
RemoteHttpCacheFactory.createCache(AuxiliaryCacheAttributes iaca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
For LOCAL clients we get a handle to all the failovers, but we do not register a listener
with them.
|
static RemoteHttpCacheManager |
RemoteHttpCacheManager.getInstance(ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Get the singleton instance.
|
Modifier and Type | Method and Description |
---|---|
protected static ICacheEventLogger |
RemoteHttpCacheSeviceFactory.configureCacheEventLogger(Properties props)
Tries to get the event logger.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractRemoteCacheService.setCacheEventLogger(ICacheEventLogger cacheEventLogger)
Allows it to be injected.
|
Constructor and Description |
---|
AbstractRemoteCacheService(ICompositeCacheManager cacheManager,
ICacheEventLogger cacheEventLogger)
Creates the super with the needed items.
|
RemoteHttpCacheService(ICompositeCacheManager cacheManager,
RemoteHttpCacheServerAttributes remoteHttpCacheServerAttributes,
ICacheEventLogger cacheEventLogger)
Create a process with a cache manager.
|
Modifier and Type | Method and Description |
---|---|
protected static ICacheEventLogger |
RemoteCacheServerFactory.configureCacheEventLogger(Properties props)
Tries to get the event logger by new and old config styles.
|
Modifier and Type | Method and Description |
---|---|
void |
RegistryKeepAliveRunner.setCacheEventLogger(ICacheEventLogger cacheEventLogger)
Allows it to be injected.
|
void |
RemoteCacheServer.setCacheEventLogger(ICacheEventLogger cacheEventLogger)
Allows it to be injected.
|
Modifier and Type | Class and Description |
---|---|
class |
CacheEventLoggerDebugLogger
This implementation simple logs to a commons logger at debug level, for all events.
|
Copyright © 2002–2017 The Apache Software Foundation. All rights reserved.