Package | Description |
---|---|
org.apache.commons.jcs.auxiliary |
Root package for auxiliary caches.
|
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.behavior | |
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.engine.control |
The primary cache classes and the hub.
|
org.apache.commons.jcs.utils.discovery |
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.
|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
protected ICompositeCacheManager |
JDBCDiskCacheManager.getCompositeCacheManager() |
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
|
protected JDBCDiskCachePoolAccess |
JDBCDiskCache.initializePoolAccess(JDBCDiskCacheAttributes cattr,
ICompositeCacheManager compositeCacheManager)
Registers the driver and creates a poolAccess class.
|
protected void |
JDBCDiskCacheManager.setCompositeCacheManager(ICompositeCacheManager compositeCacheManager) |
Constructor and Description |
---|
JDBCDiskCache(JDBCDiskCacheAttributes cattr,
TableState tableState,
ICompositeCacheManager compositeCacheManager)
Constructs a JDBC Disk Cache for the provided cache attributes.
|
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 |
---|---|
protected ICompositeCacheManager |
MySQLDiskCacheManager.getCompositeCacheManager() |
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
|
protected void |
MySQLDiskCacheManager.setCompositeCacheManager(ICompositeCacheManager compositeCacheManager) |
Constructor and Description |
---|
MySQLDiskCache(MySQLDiskCacheAttributes attributes,
TableState tableState,
ICompositeCacheManager compositeCacheManager)
Delegates to the super and makes use of the MySQL specific parameters used for scheduled
optimization.
|
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.
|
abstract <K,V> ILateralCacheListener<K,V> |
LateralCacheAbstractFactory.createListener(ILateralCacheAttributes lac,
ICompositeCacheManager cacheMgr)
Makes sure a listener gets created.
|
Modifier and Type | Method and Description |
---|---|
ICompositeCacheManager |
ILateralCacheListener.getCacheManager() |
Modifier and Type | Method and Description |
---|---|
void |
ILateralCacheListener.setCacheManager(ICompositeCacheManager cacheMgr) |
Modifier and Type | Method and Description |
---|---|
ICompositeCacheManager |
LateralTCPListener.getCacheManager() |
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.
|
<K,V> ILateralCacheListener<K,V> |
LateralTCPCacheFactory.createListener(ILateralCacheAttributes lac,
ICompositeCacheManager cacheMgr)
Makes sure a listener gets created.
|
LateralTCPDiscoveryListener |
LateralTCPDiscoveryListenerManager.getDiscoveryListener(ITCPLateralCacheAttributes ilca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Gets the instance attribute of the LateralCacheTCPListener class.
|
static <K,V> LateralTCPListener<K,V> |
LateralTCPListener.getInstance(ITCPLateralCacheAttributes ilca,
ICompositeCacheManager cacheMgr)
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.
|
void |
LateralTCPListener.setCacheManager(ICompositeCacheManager cacheMgr) |
Constructor and Description |
---|
LateralTCPDiscoveryListener(ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
This plugs into the udp discovery system.
|
Modifier and Type | Method and Description |
---|---|
protected ICompositeCacheManager |
AbstractRemoteCacheListener.getCacheManager()
Gets the cacheManager attribute of the RemoteCacheListener object.
|
protected ICompositeCacheManager |
AbstractRemoteCacheNoWaitFacade.getCompositeCacheManager() |
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.
|
protected void |
AbstractRemoteCacheNoWaitFacade.setCompositeCacheManager(ICompositeCacheManager compositeCacheManager) |
Constructor and Description |
---|
AbstractRemoteCacheListener(IRemoteCacheAttributes irca,
ICompositeCacheManager cacheMgr)
Only need one since it does work for all regions, just reference by multiple region names.
|
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.
|
RemoteCacheListener(IRemoteCacheAttributes irca,
ICompositeCacheManager cacheMgr)
Only need one since it does work for all regions, just reference by multiple region names.
|
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.
|
Constructor and Description |
---|
RemoteHttpClientListener(IRemoteCacheAttributes irca,
ICompositeCacheManager cacheMgr)
Only need one since it does work for all regions, just reference by multiple region names.
|
Modifier and Type | Method and Description |
---|---|
protected ICompositeCacheManager |
AbstractRemoteCacheService.getCacheManager() |
Modifier and Type | Method and Description |
---|---|
static <K extends Serializable,V extends Serializable> |
RemoteHttpCacheSeviceFactory.createRemoteHttpCacheService(ICompositeCacheManager cacheManager)
Configures the attributes and the event logger and constructs a service.
|
protected void |
AbstractRemoteCacheService.setCacheManager(ICompositeCacheManager cacheManager) |
Constructor and Description |
---|
AbstractRemoteCacheService(ICompositeCacheManager cacheManager,
ICacheEventLogger cacheEventLogger)
Creates the super with the needed items.
|
RemoteCacheServiceAdaptor(ICompositeCacheManager cacheManager)
Create a process with a cache manager.
|
RemoteHttpCacheService(ICompositeCacheManager cacheManager,
RemoteHttpCacheServerAttributes remoteHttpCacheServerAttributes,
ICacheEventLogger cacheEventLogger)
Create a process with a cache manager.
|
Modifier and Type | Class and Description |
---|---|
class |
CompositeCacheManager
Manages a composite cache.
|
Modifier and Type | Method and Description |
---|---|
UDPDiscoveryService |
UDPDiscoveryManager.getService(String discoveryAddress,
int discoveryPort,
int servicePort,
ICompositeCacheManager cacheMgr)
Creates a service for the address and port if one doesn't exist already.
|
Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.