Uses of Interface
org.apache.jcs.engine.behavior.ICacheElement

Packages that use ICacheElement
org.apache.jcs.access Contains classes for accessing the cache. 
org.apache.jcs.access.behavior   
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.file   
org.apache.jcs.auxiliary.disk.indexed   
org.apache.jcs.auxiliary.disk.jdbc   
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.remote Root package for the remote auxiliary cache. 
org.apache.jcs.auxiliary.remote.http.client   
org.apache.jcs.auxiliary.remote.http.server   
org.apache.jcs.auxiliary.remote.util   
org.apache.jcs.auxiliary.remote.value   
org.apache.jcs.engine Interfaces used by the core and the auxiliary caches. 
org.apache.jcs.engine.behavior Interfaces used by the core and the auxiliary caches. 
org.apache.jcs.engine.control The primary cache classes and the hub. 
org.apache.jcs.engine.memory Parent package for memory type plugins. 
org.apache.jcs.engine.memory.behavior   
org.apache.jcs.engine.memory.fifo   
org.apache.jcs.engine.memory.lru The primary memory plugin using a 'least recently used' removal policy. 
org.apache.jcs.engine.memory.mru A memory plugin implemented using a 'most recently used' removal policy. 
org.apache.jcs.engine.memory.shrinking   
org.apache.jcs.engine.memory.util   
org.apache.jcs.utils.serialization   
 

Uses of ICacheElement in org.apache.jcs.access
 

Methods in org.apache.jcs.access that return ICacheElement
 ICacheElement CacheAccess.getCacheElement(Object name)
          This method returns the ICacheElement wrapper which provides access to element info and other attributes.
 

Uses of ICacheElement in org.apache.jcs.access.behavior
 

Methods in org.apache.jcs.access.behavior that return ICacheElement
 ICacheElement ICacheAccess.getCacheElement(Object name)
          This method returns the ICacheElement wrapper which provides access to element info and other attributes.
 

Uses of ICacheElement in org.apache.jcs.auxiliary
 

Methods in org.apache.jcs.auxiliary that return ICacheElement
 ICacheElement AbstractAuxiliaryCacheEventLogging.get(Serializable key)
          Gets the item from the cache.
protected  ICacheElement AbstractAuxiliaryCacheEventLogging.getWithEventLogging(Serializable key)
          Gets the item from the cache.
protected abstract  ICacheElement AbstractAuxiliaryCacheEventLogging.processGet(Serializable key)
          Implementation of get.
 

Methods in org.apache.jcs.auxiliary with parameters of type ICacheElement
protected  ICacheEvent AbstractAuxiliaryCache.createICacheEvent(ICacheElement item, String eventName)
          Logs an event if an event logger is configured.
protected abstract  void AbstractAuxiliaryCacheEventLogging.processUpdate(ICacheElement cacheElement)
          Implementation of put.
 void AbstractAuxiliaryCacheEventLogging.update(ICacheElement cacheElement)
          Puts an item into the cache.
protected  void AbstractAuxiliaryCacheEventLogging.updateWithEventLogging(ICacheElement cacheElement)
          Puts an item into the cache.
 

Uses of ICacheElement in org.apache.jcs.auxiliary.disk
 

Classes in org.apache.jcs.auxiliary.disk that implement ICacheElement
 class PurgatoryElement
          Wrapper for cache elements in purgatory.
 

Fields in org.apache.jcs.auxiliary.disk declared as ICacheElement
protected  ICacheElement PurgatoryElement.cacheElement
          Wrapped cache Element
 

Methods in org.apache.jcs.auxiliary.disk that return ICacheElement
protected  ICacheElement AbstractDiskCache.doGet(Serializable key)
          Get a value from the persistent store.
 ICacheElement AbstractDiskCache.get(Serializable key)
          Check to see if the item is in purgatory.
 ICacheElement PurgatoryElement.getCacheElement()
          Get the wrapped cache element.
 

Methods in org.apache.jcs.auxiliary.disk with parameters of type ICacheElement
protected  void AbstractDiskCache.doUpdate(ICacheElement cacheElement)
          Add a cache element to the persistent store.
 void AbstractDiskCache.update(ICacheElement cacheElement)
          Adds the provided element to the cache.
 

Constructors in org.apache.jcs.auxiliary.disk with parameters of type ICacheElement
PurgatoryElement(ICacheElement cacheElement)
          Constructor for the PurgatoryElement object
 

Uses of ICacheElement in org.apache.jcs.auxiliary.disk.block
 

Methods in org.apache.jcs.auxiliary.disk.block that return ICacheElement
protected  ICacheElement BlockDiskCache.processGet(Serializable key)
          Gets the ICacheElement for the key if it is in the cache.
 

Methods in org.apache.jcs.auxiliary.disk.block with parameters of type ICacheElement
protected  void BlockDiskCache.processUpdate(ICacheElement element)
          Writes an element to disk.
 

Uses of ICacheElement in org.apache.jcs.auxiliary.disk.file
 

Methods in org.apache.jcs.auxiliary.disk.file that return ICacheElement
protected  ICacheElement FileDiskCache.processGet(Serializable key)
          Looks for a file matching the key.
 

Methods in org.apache.jcs.auxiliary.disk.file with parameters of type ICacheElement
protected  void FileDiskCache.processUpdate(ICacheElement element)
          We create a temp file with the new contents, remove the old if it exists, and then rename the temp.
 

Uses of ICacheElement in org.apache.jcs.auxiliary.disk.indexed
 

Methods in org.apache.jcs.auxiliary.disk.indexed that return ICacheElement
protected  ICacheElement IndexedDiskCache.processGet(Serializable key)
          Gets the key, then goes to disk to get the object.
 

Methods in org.apache.jcs.auxiliary.disk.indexed with parameters of type ICacheElement
protected  void IndexedDiskCache.processUpdate(ICacheElement ce)
          Update the disk cache.
 

Uses of ICacheElement in org.apache.jcs.auxiliary.disk.jdbc
 

Methods in org.apache.jcs.auxiliary.disk.jdbc that return ICacheElement
protected  ICacheElement JDBCDiskCache.processGet(Serializable key)
          Queries the database for the value.
 

Methods in org.apache.jcs.auxiliary.disk.jdbc with parameters of type ICacheElement
protected  boolean JDBCDiskCache.doesElementExist(ICacheElement ce)
          Does an element exist for this key?
protected  void JDBCDiskCache.processUpdate(ICacheElement ce)
          Inserts or updates.
 

Uses of ICacheElement in org.apache.jcs.auxiliary.disk.jdbc.mysql
 

Methods in org.apache.jcs.auxiliary.disk.jdbc.mysql that return ICacheElement
protected  ICacheElement MySQLDiskCache.processGet(Serializable key)
          This delegates to the generic JDBC disk cache.
 

Methods in org.apache.jcs.auxiliary.disk.jdbc.mysql with parameters of type ICacheElement
protected  void MySQLDiskCache.processUpdate(ICacheElement element)
          This delegates to the generic JDBC disk cache.
 

Uses of ICacheElement in org.apache.jcs.auxiliary.lateral
 

Fields in org.apache.jcs.auxiliary.lateral declared as ICacheElement
 ICacheElement LateralElementDescriptor.ce
          The Cache Element that we are distributing.
 

Methods in org.apache.jcs.auxiliary.lateral that return ICacheElement
 ICacheElement LateralCacheNoWaitFacade.get(Serializable key)
          Synchronously reads from the lateral cache.
 ICacheElement LateralCacheNoWait.get(Serializable key)
          Synchronously reads from the lateral cache.
protected  ICacheElement LateralCache.processGet(Serializable key)
          The performance costs are too great.
 

Methods in org.apache.jcs.auxiliary.lateral with parameters of type ICacheElement
protected  void LateralCache.processUpdate(ICacheElement ce)
          Update lateral.
 void LateralCacheNoWaitFacade.update(ICacheElement ce)
           
 void LateralCacheNoWait.update(ICacheElement ce)
           
 

Constructors in org.apache.jcs.auxiliary.lateral with parameters of type ICacheElement
LateralElementDescriptor(ICacheElement ce)
          Constructor for the LateralElementDescriptor object
 

Uses of ICacheElement in org.apache.jcs.auxiliary.lateral.socket.tcp
 

Methods in org.apache.jcs.auxiliary.lateral.socket.tcp that return ICacheElement
 ICacheElement LateralTCPService.get(String cacheName, Serializable key)
           
 ICacheElement LateralTCPService.get(String cacheName, Serializable key, long requesterId)
          If get is allowed, we will issues a get request.
 

Methods in org.apache.jcs.auxiliary.lateral.socket.tcp with parameters of type ICacheElement
 void LateralTCPListener.handlePut(ICacheElement element)
          Increments the put count.
 void LateralTCPService.update(ICacheElement item)
           
 void LateralTCPService.update(ICacheElement item, long requesterId)
          If put is allowed, we will issue a put.
 

Uses of ICacheElement in org.apache.jcs.auxiliary.remote
 

Methods in org.apache.jcs.auxiliary.remote that return ICacheElement
 ICacheElement AbstractRemoteCacheNoWaitFacade.get(Serializable key)
          Synchronously reads from the remote cache.
 ICacheElement RemoteCacheNoWait.get(Serializable key)
          Synchronously reads from the remote cache.
 ICacheElement AbstractRemoteAuxiliaryCache.getUsingPool(Serializable key)
          This allows gets to timeout in case of remote server machine shutdown.
protected  ICacheElement AbstractRemoteAuxiliaryCache.processGet(Serializable key)
          Synchronously get from the remote cache; if failed, replace the remote handle with a zombie.
 

Methods in org.apache.jcs.auxiliary.remote with parameters of type ICacheElement
 void AbsractRemoteCacheListener.handlePut(ICacheElement cb)
          If this is configured to remove on put, then remove the element since it has been updated elsewhere.
protected  void AbstractRemoteAuxiliaryCache.processUpdate(ICacheElement ce)
          Serializes the object and then calls update on the remote server with the byte array.
 void AbstractRemoteCacheNoWaitFacade.update(ICacheElement ce)
          Put an element in the cache.
 void RemoteCacheNoWait.update(ICacheElement element)
          Adds a put event to the queue.
 

Uses of ICacheElement in org.apache.jcs.auxiliary.remote.http.client
 

Methods in org.apache.jcs.auxiliary.remote.http.client that return ICacheElement
 ICacheElement RemoteHttpCacheClient.get(String cacheName, Serializable key)
          Create a request, process, extract the payload.
 ICacheElement RemoteHttpCacheClient.get(String cacheName, Serializable key, long requesterId)
          Create a request, process, extract the payload.
 

Methods in org.apache.jcs.auxiliary.remote.http.client with parameters of type ICacheElement
 void RemoteHttpCacheClient.update(ICacheElement item)
          Puts a cache item to the cache.
 void RemoteHttpCacheClient.update(ICacheElement cacheElement, long requesterId)
          Puts a cache item to the cache.
 

Uses of ICacheElement in org.apache.jcs.auxiliary.remote.http.server
 

Methods in org.apache.jcs.auxiliary.remote.http.server that return ICacheElement
 ICacheElement AbstractRemoteCacheService.get(String cacheName, Serializable key)
          Returns a cache value from the specified remote cache; or null if the cache or key does not exist.
 ICacheElement AbstractRemoteCacheService.get(String cacheName, Serializable key, long requesterId)
          Returns a cache bean from the specified cache; or null if the key does not exist.
 ICacheElement RemoteHttpCacheService.processGet(String cacheName, Serializable key, long requesterId)
          Processes a get request.
 

Methods in org.apache.jcs.auxiliary.remote.http.server with parameters of type ICacheElement
protected  ICacheEvent AbstractRemoteCacheService.createICacheEvent(ICacheElement item, long requesterId, String eventName)
          Logs an event if an event logger is configured.
 void RemoteHttpCacheService.processUpdate(ICacheElement item, long requesterId)
          Processes an update request.
 void AbstractRemoteCacheService.update(ICacheElement item)
           
 void AbstractRemoteCacheService.update(ICacheElement item, long requesterId)
          The internal processing is wrapped in event logging calls.
 

Uses of ICacheElement in org.apache.jcs.auxiliary.remote.util
 

Methods in org.apache.jcs.auxiliary.remote.util with parameters of type ICacheElement
static RemoteCacheRequest RemoteCacheRequestFactory.createUpdateRequest(ICacheElement cacheElement, long requesterId)
          Creates an Update Request.
 

Uses of ICacheElement in org.apache.jcs.auxiliary.remote.value
 

Methods in org.apache.jcs.auxiliary.remote.value that return ICacheElement
 ICacheElement RemoteCacheRequest.getCacheElement()
           
 

Methods in org.apache.jcs.auxiliary.remote.value with parameters of type ICacheElement
 void RemoteCacheRequest.setCacheElement(ICacheElement cacheElement)
           
 

Uses of ICacheElement in org.apache.jcs.engine
 

Classes in org.apache.jcs.engine that implement ICacheElement
 class CacheElement
          Generic element wrapper.
 class CacheElementSerialized
          Either serialized value or the value should be null;
 

Methods in org.apache.jcs.engine that return ICacheElement
 ICacheElement ZombieCacheService.get(String cacheName, Serializable key)
           
 ICacheElement ZombieCacheServiceNonLocal.get(String cacheName, Serializable key, long requesterId)
          Does nothing.
 

Methods in org.apache.jcs.engine with parameters of type ICacheElement
 void PooledCacheEventQueue.addPutEvent(ICacheElement ce)
          Constructs a PutEvent for the object and passes it to the event queue.
 void CacheEventQueue.addPutEvent(ICacheElement ce)
          This adds a put event to the queue.
 void CacheAdaptor.handlePut(ICacheElement item)
          Puts an item into the cache.
 void ZombieCacheService.put(ICacheElement item)
           
 void ZombieCacheService.update(ICacheElement item)
          Does nothing.
 void ZombieCacheServiceNonLocal.update(ICacheElement item, long listenerId)
          Adds an update event to the queue if the maxSize is greater than 0;
 

Uses of ICacheElement in org.apache.jcs.engine.behavior
 

Subinterfaces of ICacheElement in org.apache.jcs.engine.behavior
 interface ICacheElementSerialized
          This interface defines the behavior of the serialized element wrapper.
 

Methods in org.apache.jcs.engine.behavior that return ICacheElement
 ICacheElement ICache.get(Serializable key)
          Gets an item from the cache.
 ICacheElement ICacheService.get(String cacheName, Serializable key)
          Returns a cache bean from the specified cache; or null if the key does not exist.
 ICacheElement ICacheServiceNonLocal.get(String cacheName, Serializable key, long requesterId)
          Returns a cache bean from the specified cache; or null if the key does not exist.
 

Methods in org.apache.jcs.engine.behavior with parameters of type ICacheElement
 void ICacheEventQueue.addPutEvent(ICacheElement ce)
          Adds a feature to the PutEvent attribute of the ICacheEventQueue object
 void ICacheListener.handlePut(ICacheElement item)
          Notifies the subscribers for a cache entry update.
 void ICacheService.update(ICacheElement item)
          Puts a cache item to the cache.
 void ICache.update(ICacheElement element)
          Puts an item to the cache.
 void ICacheServiceNonLocal.update(ICacheElement item, long requesterId)
          Puts a cache item to the cache.
 

Uses of ICacheElement in org.apache.jcs.engine.control
 

Methods in org.apache.jcs.engine.control that return ICacheElement
 ICacheElement CompositeCache.get(Serializable key)
          Gets an item from the cache.
protected  ICacheElement CompositeCache.get(Serializable key, boolean localOnly)
          Look in memory, then disk, remote, or laterally for this item.
 ICacheElement CompositeCache.localGet(Serializable key)
          Do not try to go remote or laterally for this get.
 

Methods in org.apache.jcs.engine.control with parameters of type ICacheElement
 void CompositeCache.localUpdate(ICacheElement ce)
          Standard update method.
 void CompositeCache.spoolToDisk(ICacheElement ce)
          Writes the specified element to any disk auxiliaries.
 void CompositeCache.update(ICacheElement ce)
          Standard update method.
protected  void CompositeCache.update(ICacheElement cacheElement, boolean localOnly)
          Put an item into the cache.
protected  void CompositeCache.updateAuxiliaries(ICacheElement cacheElement, boolean localOnly)
          This method is responsible for updating the auxiliaries if they are present.
 

Uses of ICacheElement in org.apache.jcs.engine.memory
 

Methods in org.apache.jcs.engine.memory that return ICacheElement
abstract  ICacheElement AbstractMemoryCache.get(Serializable key)
          Get an item from the cache
 ICacheElement AbstractDoulbeLinkedListMemoryCache.get(Serializable key)
          Get an item from the cache If the item is found, it is removed from the list and added first.
 ICacheElement AbstractMemoryCache.getQuiet(Serializable key)
          Get an item from the cache without affecting its last access time or position.
protected  ICacheElement AbstractDoulbeLinkedListMemoryCache.spoolLastElement()
          This spools the last element in the LRU, if one exists.
 

Methods in org.apache.jcs.engine.memory with parameters of type ICacheElement
protected  MemoryElementDescriptor AbstractDoulbeLinkedListMemoryCache.addFirst(ICacheElement ce)
          Adds a new node to the start of the link list.
protected  MemoryElementDescriptor AbstractDoulbeLinkedListMemoryCache.addLast(ICacheElement ce)
          Adds a new node to the end of the link list.
protected abstract  MemoryElementDescriptor AbstractDoulbeLinkedListMemoryCache.adjustListForUpdate(ICacheElement ce)
          Children implement this to control the cache expiration algorithm
abstract  void AbstractMemoryCache.update(ICacheElement ce)
          Puts an item to the cache.
 void AbstractDoulbeLinkedListMemoryCache.update(ICacheElement ce)
          Calls the abstract method updateList.
 void AbstractMemoryCache.waterfal(ICacheElement ce)
          Puts an item to the cache.
 

Uses of ICacheElement in org.apache.jcs.engine.memory.behavior
 

Methods in org.apache.jcs.engine.memory.behavior that return ICacheElement
 ICacheElement IMemoryCache.get(Serializable key)
          Get an item from the cache
 ICacheElement IMemoryCache.getQuiet(Serializable key)
          Get an item from the cache without effecting its order or last access time
 

Methods in org.apache.jcs.engine.memory.behavior with parameters of type ICacheElement
 void IMemoryCache.update(ICacheElement ce)
          Puts an item to the cache.
 void IMemoryCache.waterfal(ICacheElement ce)
          Spools the item contained in the provided element to disk
 

Uses of ICacheElement in org.apache.jcs.engine.memory.fifo
 

Methods in org.apache.jcs.engine.memory.fifo with parameters of type ICacheElement
protected  MemoryElementDescriptor FIFOMemoryCache.adjustListForUpdate(ICacheElement ce)
          Puts an item to the cache.
 

Uses of ICacheElement in org.apache.jcs.engine.memory.lru
 

Methods in org.apache.jcs.engine.memory.lru that return ICacheElement
 ICacheElement LHMLRUMemoryCache.get(Serializable key)
          Get an item from the cache
 ICacheElement LHMLRUMemoryCache.getQuiet(Serializable key)
          Get an item from the cache without affecting its last access time or position.
 

Methods in org.apache.jcs.engine.memory.lru with parameters of type ICacheElement
protected  MemoryElementDescriptor LRUMemoryCache.adjustListForUpdate(ICacheElement ce)
          Puts an item to the cache.
 void LHMLRUMemoryCache.update(ICacheElement ce)
          Puts an item to the cache.
 

Uses of ICacheElement in org.apache.jcs.engine.memory.mru
 

Methods in org.apache.jcs.engine.memory.mru with parameters of type ICacheElement
protected  MemoryElementDescriptor MRUMemoryCache.adjustListForUpdate(ICacheElement ce)
          Adds the item to the front of the list.
 

Uses of ICacheElement in org.apache.jcs.engine.memory.shrinking
 

Methods in org.apache.jcs.engine.memory.shrinking with parameters of type ICacheElement
protected  boolean ShrinkerThread.checkForRemoval(ICacheElement cacheElement, long now)
          Check if either lifetime or idletime has expired for the provided event, and remove it from the cache if so.
 

Uses of ICacheElement in org.apache.jcs.engine.memory.util
 

Fields in org.apache.jcs.engine.memory.util declared as ICacheElement
 ICacheElement MemoryElementDescriptor.ce
          The CacheElement wrapped by this descriptor
 

Constructors in org.apache.jcs.engine.memory.util with parameters of type ICacheElement
MemoryElementDescriptor(ICacheElement ce)
          Constructs a usable MemoryElementDescriptor.
 

Uses of ICacheElement in org.apache.jcs.utils.serialization
 

Methods in org.apache.jcs.utils.serialization that return ICacheElement
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.
 

Methods in org.apache.jcs.utils.serialization with parameters of type ICacheElement
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-2012 Apache Software Foundation. All Rights Reserved.