|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of ICacheElement in org.apache.jcs.access |
---|
Methods in org.apache.jcs.access that return ICacheElement | |
---|---|
ICacheElement |
CacheAccess.getCacheElement(java.lang.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(java.lang.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(java.io.Serializable key)
Gets the item from the cache. |
protected ICacheElement |
AbstractAuxiliaryCacheEventLogging.getWithEventLogging(java.io.Serializable key)
Gets the item from the cache. |
protected abstract ICacheElement |
AbstractAuxiliaryCacheEventLogging.processGet(java.io.Serializable key)
Implementation of get. |
Methods in org.apache.jcs.auxiliary with parameters of type ICacheElement | |
---|---|
protected ICacheEvent |
AbstractAuxiliaryCache.createICacheEvent(ICacheElement item,
java.lang.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(java.io.Serializable key)
Get a value from the persistent store. |
ICacheElement |
AbstractDiskCache.get(java.io.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(java.io.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.indexed |
---|
Methods in org.apache.jcs.auxiliary.disk.indexed that return ICacheElement | |
---|---|
protected ICacheElement |
IndexedDiskCache.processGet(java.io.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(java.io.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(java.io.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 |
LateralCacheNoWait.get(java.io.Serializable key)
Synchronously reads from the lateral cache. |
ICacheElement |
LateralCacheNoWaitFacade.get(java.io.Serializable key)
Synchronously reads from the lateral cache. |
protected ICacheElement |
LateralCache.processGet(java.io.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 |
LateralCacheNoWait.update(ICacheElement ce)
|
void |
LateralCacheNoWaitFacade.update(ICacheElement ce)
|
void |
ZombieLateralCacheService.update(ICacheElement item,
long listenerId)
Balks |
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.behavior |
---|
Methods in org.apache.jcs.auxiliary.lateral.behavior with parameters of type ICacheElement | |
---|---|
void |
ILateralCacheService.update(ICacheElement item,
long requesterId)
Puts a cache item to the cache. |
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(java.lang.String cacheName,
java.io.Serializable key)
|
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(java.io.Serializable key)
Synchronously reads from the remote cache. |
ICacheElement |
RemoteCacheNoWait.get(java.io.Serializable key)
Synchronously reads from the remote cache. |
ICacheElement |
ZombieRemoteCacheService.get(java.lang.String cacheName,
java.io.Serializable key,
long requesterId)
Does nothing. |
ICacheElement |
AbstractRemoteAuxiliaryCache.getUsingPool(java.io.Serializable key)
This allows gets to timeout in case of remote server machine shutdown. |
protected ICacheElement |
AbstractRemoteAuxiliaryCache.processGet(java.io.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. |
void |
ZombieRemoteCacheService.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.auxiliary.remote.behavior |
---|
Methods in org.apache.jcs.auxiliary.remote.behavior that return ICacheElement | |
---|---|
ICacheElement |
IRemoteCacheService.get(java.lang.String cacheName,
java.io.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.auxiliary.remote.behavior with parameters of type ICacheElement | |
---|---|
void |
IRemoteCacheService.update(ICacheElement item,
long requesterId)
Puts a cache item to the cache. |
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(java.lang.String cacheName,
java.io.Serializable key)
Create a request, process, extract the payload. |
ICacheElement |
RemoteHttpCacheClient.get(java.lang.String cacheName,
java.io.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(java.lang.String cacheName,
java.io.Serializable key)
Returns a cache value from the specified remote cache; or null if the cache or key does not exist. |
ICacheElement |
AbstractRemoteCacheService.get(java.lang.String cacheName,
java.io.Serializable key,
long requesterId)
Returns a cache bean from the specified cache; or null if the key does not exist. |
ICacheElement |
RemoteHttpCacheService.processGet(java.lang.String cacheName,
java.io.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,
java.lang.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(java.lang.String cacheName,
java.io.Serializable key)
|
Methods in org.apache.jcs.engine with parameters of type ICacheElement | |
---|---|
void |
CacheEventQueue.addPutEvent(ICacheElement ce)
This adds a put event to the queue. |
void |
PooledCacheEventQueue.addPutEvent(ICacheElement ce)
Constructs a PutEvent for the object and passes it to the event queue. |
void |
CacheAdaptor.handlePut(ICacheElement item)
Puts an item into the cache. |
void |
ZombieCacheService.put(ICacheElement item)
|
void |
ZombieCacheService.update(ICacheElement item)
Does nothing. |
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(java.io.Serializable key)
Gets an item from the cache. |
ICacheElement |
ICacheService.get(java.lang.String cacheName,
java.io.Serializable key)
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 |
ICache.update(ICacheElement element)
Puts an item to the cache. |
void |
ICacheService.update(ICacheElement item)
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(java.io.Serializable key)
Gets an item from the cache. |
protected ICacheElement |
CompositeCache.get(java.io.Serializable key,
boolean localOnly)
Look in memory, then disk, remote, or laterally for this item. |
ICacheElement |
CompositeCache.localGet(java.io.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(java.io.Serializable key)
Get an item from the cache |
ICacheElement |
AbstractDoulbeLinkedListMemoryCache.get(java.io.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(java.io.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(java.io.Serializable key)
Get an item from the cache |
ICacheElement |
IMemoryCache.getQuiet(java.io.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 with parameters of type ICacheElement | |
---|---|
protected MemoryElementDescriptor |
LRUMemoryCache.adjustListForUpdate(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.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)
Constructor for the MemoryElementDescriptor object |
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. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |