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.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.utils.serialization |
Modifier and Type | Method and Description |
---|---|
IElementSerializer |
AbstractAuxiliaryCache.getElementSerializer()
Allows it to be injected.
|
static IElementSerializer |
AuxiliaryCacheConfigurator.parseElementSerializer(Properties props,
String auxPrefix)
Parses the element 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 |
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 |
---|---|
<K,V> BlockDiskCache<K,V> |
BlockDiskCacheFactory.createCache(AuxiliaryCacheAttributes iaca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Create an instance of the BlockDiskCache.
|
Constructor and Description |
---|
BlockDisk(File file,
IElementSerializer elementSerializer)
Constructor for the Disk object
|
BlockDisk(File file,
int blockSizeBytes,
IElementSerializer elementSerializer)
Creates the file and set the block size in bytes.
|
BlockDiskCache(BlockDiskCacheAttributes cacheAttributes,
IElementSerializer elementSerializer)
Constructs the BlockDisk after setting up the root directory.
|
Modifier and Type | Method and Description |
---|---|
<K,V> IndexedDiskCache<K,V> |
IndexedDiskCacheFactory.createCache(AuxiliaryCacheAttributes iaca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Create an instance of an IndexedDiskCache.
|
Constructor and Description |
---|
IndexedDiskCache(IndexedDiskCacheAttributes cattr,
IElementSerializer elementSerializer)
Constructor for the DiskCache object.
|
Modifier and Type | Method and Description |
---|---|
IElementSerializer |
JDBCDiskCache.getElementSerializer() |
Modifier and Type | Method and Description |
---|---|
<K,V> JDBCDiskCache<K,V> |
JDBCDiskCacheFactory.createCache(AuxiliaryCacheAttributes rawAttr,
ICompositeCacheManager compositeCacheManager,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
This factory method should create an instance of the jdbc cache.
|
void |
JDBCDiskCache.setElementSerializer(IElementSerializer elementSerializer) |
Modifier and Type | Method and Description |
---|---|
<K,V> JDBCDiskCache<K,V> |
HSQLDiskCacheFactory.createCache(AuxiliaryCacheAttributes rawAttr,
ICompositeCacheManager compositeCacheManager,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
This factory method should create an instance of the hsqlcache.
|
Modifier and Type | Method and Description |
---|---|
<K,V> MySQLDiskCache<K,V> |
MySQLDiskCacheFactory.createCache(AuxiliaryCacheAttributes rawAttr,
ICompositeCacheManager compositeCacheManager,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
This factory method should create an instance of the mysqlcache.
|
Modifier and Type | Method and Description |
---|---|
<K,V> LateralCacheNoWaitFacade<K,V> |
LateralTCPCacheFactory.createCache(AuxiliaryCacheAttributes iaca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Creates a TCP lateral.
|
protected <K,V> LateralCacheNoWait<K,V> |
LateralTCPCacheFactory.createCacheNoWait(ITCPLateralCacheAttributes lca,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer) |
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.
|
RemoteCacheManager |
RemoteCacheFactory.getManager(IRemoteCacheAttributes cattr,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Returns an instance of RemoteCacheManager for the given connection parameters.
|
Constructor and Description |
---|
AbstractRemoteCacheListener(IRemoteCacheAttributes irca,
ICompositeCacheManager cacheMgr,
IElementSerializer elementSerializer)
Only need one since it does work for all regions, just reference by multiple region names.
|
AbstractRemoteCacheNoWaitFacade(List<ICache<K,V>> noWaits,
RemoteCacheAttributes rca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Deprecated.
Unused parameter cacheMgr scheduled for removal
|
AbstractRemoteCacheNoWaitFacade(List<RemoteCacheNoWait<K,V>> noWaits,
IRemoteCacheAttributes rca,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Constructs with the given remote cache, and fires events to any listeners.
|
RemoteCacheListener(IRemoteCacheAttributes irca,
ICompositeCacheManager cacheMgr,
IElementSerializer elementSerializer)
Only need one since it does work for all regions, just reference by multiple region names.
|
RemoteCacheManager(IRemoteCacheAttributes cattr,
ICompositeCacheManager cacheMgr,
RemoteCacheMonitor monitor,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Constructs an instance to with the given remote connection parameters.
|
RemoteCacheNoWaitFacade(List<ICache<K,V>> noWaits,
RemoteCacheAttributes rca,
ICompositeCacheManager cacheMgr,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer,
RemoteCacheFactory cacheFactory)
Deprecated.
Unused parameter cacheMgr scheduled for removal
|
RemoteCacheNoWaitFacade(List<RemoteCacheNoWait<K,V>> noWaits,
IRemoteCacheAttributes rca,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer,
RemoteCacheFactory cacheFactory)
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.
|
Constructor and Description |
---|
RemoteHttpClientListener(IRemoteCacheAttributes irca,
ICompositeCacheManager cacheMgr,
IElementSerializer elementSerializer)
Only need one since it does work for all regions, just reference by multiple region names.
|
Modifier and Type | Class and Description |
---|---|
class |
CompressingSerializer
Performs default serialization and de-serialization.
|
class |
StandardSerializer
Performs default serialization and de-serialization.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> ICacheElement<K,V> |
SerializationConversionUtil.getDeSerializedCacheElement(ICacheElementSerialized<K,V> serialized,
IElementSerializer elementSerializer)
This returns a wrapper that has a de-serialized version of the value
instead of the serialized value.
|
static <K,V> ICacheElementSerialized<K,V> |
SerializationConversionUtil.getSerializedCacheElement(ICacheElement<K,V> element,
IElementSerializer elementSerializer)
This returns a wrapper that has a serialized version of the value instead
of the value.
|
Copyright © 2002–2018 The Apache Software Foundation. All rights reserved.