Package | Description |
---|---|
org.apache.commons.jcs3.auxiliary |
Root package for auxiliary caches.
|
org.apache.commons.jcs3.auxiliary.disk.block | |
org.apache.commons.jcs3.auxiliary.disk.indexed | |
org.apache.commons.jcs3.auxiliary.disk.jdbc | |
org.apache.commons.jcs3.auxiliary.disk.jdbc.hsql | |
org.apache.commons.jcs3.auxiliary.disk.jdbc.mysql | |
org.apache.commons.jcs3.auxiliary.lateral.socket.tcp | |
org.apache.commons.jcs3.auxiliary.remote |
Root package for the remote auxiliary cache.
|
org.apache.commons.jcs3.auxiliary.remote.http.client | |
org.apache.commons.jcs3.utils.discovery | |
org.apache.commons.jcs3.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 |
AbstractAuxiliaryCache.setElementSerializer(IElementSerializer elementSerializer)
Allows you to inject a custom serializer.
|
void |
AuxiliaryCache.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 |
---|
IndexedDisk(File file,
IElementSerializer elementSerializer)
Constructor for the Disk object
|
IndexedDiskCache(IndexedDiskCacheAttributes cattr,
IElementSerializer elementSerializer)
Constructor for the DiskCache object.
|
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.
|
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.
|
<K,V> LateralCacheNoWait<K,V> |
LateralTCPCacheFactory.createCacheNoWait(ITCPLateralCacheAttributes lca,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
Create a LateralCacheNoWait for the server configured in lca
|
<K,V> ICacheServiceNonLocal<K,V> |
LateralTCPCacheFactory.getCSNLInstance(ITCPLateralCacheAttributes lca,
IElementSerializer elementSerializer)
Returns an instance of the cache service.
|
static <K,V> LateralTCPListener<K,V> |
LateralTCPListener.getInstance(ITCPLateralCacheAttributes ilca,
ICompositeCacheManager cacheMgr,
IElementSerializer serializer)
Gets the instance attribute of the LateralCacheTCPListener class.
|
Constructor and Description |
---|
LateralTCPDiscoveryListener(String factoryName,
CompositeCacheManager cacheManager,
ICacheEventLogger cacheEventLogger,
IElementSerializer elementSerializer)
This plugs into the udp discovery system.
|
LateralTCPListener(ITCPLateralCacheAttributes ilca,
IElementSerializer serializer)
Only need one since it does work for all regions, just reference by multiple region names.
|
LateralTCPSender(ITCPLateralCacheAttributes lca,
IElementSerializer serializer)
Constructor for the LateralTCPSender object.
|
LateralTCPService(ITCPLateralCacheAttributes lca,
IElementSerializer serializer)
Constructor for the LateralTCPService object
|
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<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<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 | Method and Description |
---|---|
IElementSerializer |
UDPDiscoveryService.getSerializer()
Return the serializer implementation
|
Modifier and Type | Method and Description |
---|---|
UDPDiscoveryService |
UDPDiscoveryManager.getService(String discoveryAddress,
int discoveryPort,
String serviceAddress,
int servicePort,
int updTTL,
ICompositeCacheManager cacheMgr,
IElementSerializer serializer)
Creates a service for the address and port if one doesn't exist already.
|
protected void |
UDPDiscoveryReceiver.setSerializer(IElementSerializer serializer)
For testing
|
Constructor and Description |
---|
UDPDiscoverySender(String mcastInterface,
String host,
int port,
int udpTTL,
IElementSerializer serializer)
Constructor for the UDPDiscoverySender object
This sender can be used to send multiple messages.
|
UDPDiscoverySender(UDPDiscoveryAttributes udpDiscoveryAttributes,
IElementSerializer serializer)
Constructor for the UDPDiscoverySender object
This sender can be used to send multiple messages.
|
UDPDiscoveryService(UDPDiscoveryAttributes attributes,
IElementSerializer serializer)
Constructor
|
Modifier and Type | Class and Description |
---|---|
class |
CompressingSerializer
Performs default serialization and de-serialization.
|
class |
EncryptingSerializer
Performs 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.
|
Constructor and Description |
---|
CompressingSerializer(IElementSerializer serializer)
Wrapper constructor
|
EncryptingSerializer(IElementSerializer serializer)
Wrapper constructor
|
Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.