Package | Description |
---|---|
org.apache.jcs.auxiliary |
Root package for auxiliary caches.
|
org.apache.jcs.auxiliary.disk |
The primary disk auxiliary.
|
org.apache.jcs.auxiliary.disk.block | |
org.apache.jcs.auxiliary.disk.indexed | |
org.apache.jcs.auxiliary.disk.jdbc | |
org.apache.jcs.auxiliary.disk.jdbc.hsql | |
org.apache.jcs.auxiliary.disk.jdbc.mysql | |
org.apache.jcs.auxiliary.lateral |
Root package for the lateral cache family.
|
org.apache.jcs.auxiliary.lateral.socket.tcp | |
org.apache.jcs.auxiliary.lateral.socket.tcp.discovery | |
org.apache.jcs.auxiliary.remote |
Root package for the remote auxiliary cache.
|
org.apache.jcs.auxiliary.remote.http.client | |
org.apache.jcs.utils.serialization |
Modifier and Type | Field and Description |
---|---|
protected IElementSerializer |
AbstractAuxiliaryCache.elementSerializer
The serializer.
|
Modifier and Type | Method and Description |
---|---|
IElementSerializer |
AbstractAuxiliaryCache.getElementSerializer()
Allows it to be injected.
|
static IElementSerializer |
AuxiliaryCacheConfigurator.parseElementSerializer(java.util.Properties props,
java.lang.String auxPrefix)
Parses the element config, if there is any for the auxiliary.
|
Modifier and Type | Method and Description |
---|---|
AuxiliaryCache |
AuxiliaryCacheFactory.createCache(AuxiliaryCacheAttributes attr,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Creates an auxiliary using the supplied attributes.
|
void |
AuxiliaryCache.setElementSerializer(IElementSerializer elementSerializer)
Allows you to inject a custom serializer.
|
void |
AbstractAuxiliaryCache.setElementSerializer(IElementSerializer elementSerializer)
Allows you to inject a custom serializer.
|
Modifier and Type | Method and Description |
---|---|
IElementSerializer |
AbstractDiskCacheManager.getElementSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractDiskCacheManager.setElementSerializer(IElementSerializer elementSerializer) |
Modifier and Type | Field and Description |
---|---|
protected IElementSerializer |
BlockDisk.elementSerializer
The serializer.
|
Modifier and Type | Method and Description |
---|---|
AuxiliaryCache |
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
|
Constructor and Description |
---|
BlockDisk(java.io.File file,
IElementSerializer elementSerializer)
Constructor for the Disk object
|
Modifier and Type | Method and Description |
---|---|
AuxiliaryCache |
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 |
---|---|
IElementSerializer |
JDBCDiskCache.getElementSerializer() |
Modifier and Type | Method and Description |
---|---|
AuxiliaryCache |
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
|
void |
JDBCDiskCache.setElementSerializer(IElementSerializer elementSerializer) |
Modifier and Type | Method and Description |
---|---|
AuxiliaryCache |
HSQLDiskCacheFactory.createCache(AuxiliaryCacheAttributes rawAttr,
ICompositeCacheManager arg1,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
This factory method should create an instance of the mysqlcache.
|
Modifier and Type | Method and Description |
---|---|
AuxiliaryCache |
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 | Field and Description |
---|---|
protected IElementSerializer |
LateralCacheAbstractManager.elementSerializer
The serializer.
|
Modifier and Type | Method and Description |
---|---|
abstract AuxiliaryCache |
LateralCacheAbstractFactory.createCache(AuxiliaryCacheAttributes attr,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Creates a lateral cache.
|
Modifier and Type | Method and Description |
---|---|
AuxiliaryCache |
LateralTCPCacheFactory.createCache(AuxiliaryCacheAttributes iaca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Creates a TCP lateral.
|
static LateralTCPCacheManager |
LateralTCPCacheManager.getInstance(ITCPLateralCacheAttributes lca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Returns an instance of the LateralCacheManager.
|
Modifier and Type | Field and Description |
---|---|
protected IElementSerializer |
UDPDiscoveryService.elementSerializer
The serializer.
|
protected IElementSerializer |
UDPDiscoveryReceiver.elementSerializer
The serializer.
|
Modifier and Type | Method and Description |
---|---|
UDPDiscoveryService |
UDPDiscoveryManager.getService(ITCPLateralCacheAttributes lca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Returns the UDP Discovery service associated with this instance.
|
Constructor and Description |
---|
UDPDiscoveryReceiver(UDPDiscoveryService service,
java.lang.String multicastAddressString,
int multicastPort,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Constructor for the LateralUDPReceiver object.
|
UDPDiscoveryService(java.lang.String discoveryAddress,
int discoveryPort,
int servicePort,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer) |
Modifier and Type | Method and Description |
---|---|
AuxiliaryCache |
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[] noWaits,
RemoteCacheAttributes rca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Constructs with the given remote cache, and fires events to any listeners.
|
RemoteCacheFailoverRunner(RemoteCacheNoWaitFacade facade,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Constructor for the RemoteCacheFailoverRunner object.
|
RemoteCacheNoWaitFacade(RemoteCacheNoWait[] 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 |
---|---|
AuxiliaryCache |
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 | Class and Description |
---|---|
class |
StandardSerializer
Performs default serialization and de-serialization.
|
Modifier and Type | Method and Description |
---|---|
static ICacheElement |
SerializationConversionUtil.getDeSerializedCacheElement(ICacheElementSerialized serialized,
IElementSerializer elementSerializer)
This returns a wrapper that has a de-serialized version of the value
instead of the serialized value.
|
static ICacheElementSerialized |
SerializationConversionUtil.getSerializedCacheElement(ICacheElement element,
IElementSerializer elementSerializer)
This returns a wrapper that has a serialized version of the value instead
of the value.
|
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.