Uses of Interface
org.apache.commons.jcs3.engine.behavior.IElementSerializer
Packages that use IElementSerializer
Package
Description
Root package for auxiliary caches.
Root package for the remote auxiliary cache.
-
Uses of IElementSerializer in org.apache.commons.jcs3.auxiliary
Methods in org.apache.commons.jcs3.auxiliary that return IElementSerializerModifier and TypeMethodDescriptionAbstractAuxiliaryCache.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.Methods in org.apache.commons.jcs3.auxiliary with parameters of type IElementSerializerModifier and TypeMethodDescription<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. -
Uses of IElementSerializer in org.apache.commons.jcs3.auxiliary.disk.block
Methods in org.apache.commons.jcs3.auxiliary.disk.block with parameters of type IElementSerializerModifier and TypeMethodDescription<K,
V> BlockDiskCache<K, V> BlockDiskCacheFactory.createCache
(AuxiliaryCacheAttributes iaca, ICompositeCacheManager cacheMgr, ICacheEventLogger cacheEventLogger, IElementSerializer elementSerializer) Create an instance of the BlockDiskCache.Constructors in org.apache.commons.jcs3.auxiliary.disk.block with parameters of type IElementSerializerModifierConstructorDescriptionBlockDisk
(File file, int blockSizeBytes, IElementSerializer elementSerializer) Creates the file and set the block size in bytes.BlockDisk
(File file, IElementSerializer elementSerializer) Constructor for the Disk objectBlockDiskCache
(BlockDiskCacheAttributes cacheAttributes, IElementSerializer elementSerializer) Constructs the BlockDisk after setting up the root directory. -
Uses of IElementSerializer in org.apache.commons.jcs3.auxiliary.disk.indexed
Methods in org.apache.commons.jcs3.auxiliary.disk.indexed with parameters of type IElementSerializerModifier and TypeMethodDescription<K,
V> IndexedDiskCache<K, V> IndexedDiskCacheFactory.createCache
(AuxiliaryCacheAttributes iaca, ICompositeCacheManager cacheMgr, ICacheEventLogger cacheEventLogger, IElementSerializer elementSerializer) Create an instance of an IndexedDiskCache.Constructors in org.apache.commons.jcs3.auxiliary.disk.indexed with parameters of type IElementSerializerModifierConstructorDescriptionIndexedDisk
(File file, IElementSerializer elementSerializer) Constructor for the Disk objectIndexedDiskCache
(IndexedDiskCacheAttributes cattr, IElementSerializer elementSerializer) Constructor for the DiskCache object. -
Uses of IElementSerializer in org.apache.commons.jcs3.auxiliary.disk.jdbc
Methods in org.apache.commons.jcs3.auxiliary.disk.jdbc with parameters of type IElementSerializerModifier and TypeMethodDescription<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. -
Uses of IElementSerializer in org.apache.commons.jcs3.auxiliary.disk.jdbc.hsql
Methods in org.apache.commons.jcs3.auxiliary.disk.jdbc.hsql with parameters of type IElementSerializerModifier and TypeMethodDescription<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. -
Uses of IElementSerializer in org.apache.commons.jcs3.auxiliary.disk.jdbc.mysql
Methods in org.apache.commons.jcs3.auxiliary.disk.jdbc.mysql with parameters of type IElementSerializerModifier and TypeMethodDescription<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. -
Uses of IElementSerializer in org.apache.commons.jcs3.auxiliary.lateral.socket.tcp
Methods in org.apache.commons.jcs3.auxiliary.lateral.socket.tcp with parameters of type IElementSerializerModifier and TypeMethodDescription<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.Constructors in org.apache.commons.jcs3.auxiliary.lateral.socket.tcp with parameters of type IElementSerializerModifierConstructorDescriptionprotected
LateralTCPDiscoveryListener
(String factoryName, CompositeCacheManager cacheManager, ICacheEventLogger cacheEventLogger, IElementSerializer elementSerializer) This plugs into the udp discovery system.protected
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 -
Uses of IElementSerializer in org.apache.commons.jcs3.auxiliary.remote
Methods in org.apache.commons.jcs3.auxiliary.remote with parameters of type IElementSerializerModifier and TypeMethodDescription<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.RemoteCacheFactory.getManager
(IRemoteCacheAttributes cattr, ICompositeCacheManager cacheMgr, ICacheEventLogger cacheEventLogger, IElementSerializer elementSerializer) Returns an instance of RemoteCacheManager for the given connection parameters.Constructors in org.apache.commons.jcs3.auxiliary.remote with parameters of type IElementSerializerModifierConstructorDescriptionAbstractRemoteCacheListener
(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.protected
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. -
Uses of IElementSerializer in org.apache.commons.jcs3.auxiliary.remote.http.client
Methods in org.apache.commons.jcs3.auxiliary.remote.http.client with parameters of type IElementSerializerModifier and TypeMethodDescription<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.Constructors in org.apache.commons.jcs3.auxiliary.remote.http.client with parameters of type IElementSerializerModifierConstructorDescriptionRemoteHttpClientListener
(IRemoteCacheAttributes irca, ICompositeCacheManager cacheMgr, IElementSerializer elementSerializer) Only need one since it does work for all regions, just reference by multiple region names. -
Uses of IElementSerializer in org.apache.commons.jcs3.utils.discovery
Methods in org.apache.commons.jcs3.utils.discovery that return IElementSerializerModifier and TypeMethodDescriptionUDPDiscoveryService.getSerializer()
Return the serializer implementationMethods in org.apache.commons.jcs3.utils.discovery with parameters of type IElementSerializerModifier and TypeMethodDescriptionUDPDiscoveryManager.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 testingConstructors in org.apache.commons.jcs3.utils.discovery with parameters of type IElementSerializerModifierConstructorDescriptionUDPDiscoverySender
(String mcastInterface, String host, int port, int udpTTL, IElementSerializer serializer) Constructor for the UDPDiscoverySender objectUDPDiscoverySender
(UDPDiscoveryAttributes udpDiscoveryAttributes, IElementSerializer serializer) Constructor for the UDPDiscoverySender objectUDPDiscoveryService
(UDPDiscoveryAttributes attributes, IElementSerializer serializer) Constructor -
Uses of IElementSerializer in org.apache.commons.jcs3.utils.serialization
Classes in org.apache.commons.jcs3.utils.serialization that implement IElementSerializerModifier and TypeClassDescriptionclass
Performs default serialization and de-serialization.class
Performs serialization and de-serialization.class
Performs default serialization and de-serialization.Methods in org.apache.commons.jcs3.utils.serialization with parameters of type IElementSerializerModifier and TypeMethodDescriptionstatic <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.Constructors in org.apache.commons.jcs3.utils.serialization with parameters of type IElementSerializerModifierConstructorDescriptionCompressingSerializer
(IElementSerializer serializer) Wrapper constructorEncryptingSerializer
(IElementSerializer serializer) Wrapper constructor