Modifier and Type | Method and Description |
---|---|
ICacheElement |
CacheAccess.getCacheElement(java.lang.Object name)
This method returns the ICacheElement wrapper which provides access to element info and other
attributes.
|
Modifier and Type | Method and Description |
---|---|
ICacheElement |
ICacheAccess.getCacheElement(java.lang.Object name)
This method returns the ICacheElement wrapper which provides access to element info and other
attributes.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Class and Description |
---|---|
class |
PurgatoryElement
Wrapper for cache elements in purgatory.
|
Modifier and Type | Field and Description |
---|---|
protected ICacheElement |
PurgatoryElement.cacheElement
Wrapped cache Element
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Constructor and Description |
---|
PurgatoryElement(ICacheElement cacheElement)
Constructor for the PurgatoryElement object
|
Modifier and Type | Method and Description |
---|---|
protected ICacheElement |
BlockDiskCache.processGet(java.io.Serializable key)
Gets the ICacheElement for the key if it is in the cache.
|
Modifier and Type | Method and Description |
---|---|
protected void |
BlockDiskCache.processUpdate(ICacheElement element)
Writes an element to disk.
|
Modifier and Type | Method and Description |
---|---|
protected ICacheElement |
IndexedDiskCache.processGet(java.io.Serializable key)
Gets the key, then goes to disk to get the object.
|
Modifier and Type | Method and Description |
---|---|
protected void |
IndexedDiskCache.processUpdate(ICacheElement ce)
Update the disk cache.
|
Modifier and Type | Method and Description |
---|---|
protected ICacheElement |
JDBCDiskCache.processGet(java.io.Serializable key)
Queries the database for the value.
|
Modifier and Type | Method and Description |
---|---|
protected boolean |
JDBCDiskCache.doesElementExist(ICacheElement ce)
Does an element exist for this key?
|
protected void |
JDBCDiskCache.processUpdate(ICacheElement ce)
Inserts or updates.
|
Modifier and Type | Method and Description |
---|---|
protected ICacheElement |
MySQLDiskCache.processGet(java.io.Serializable key)
This delegates to the generic JDBC disk cache.
|
Modifier and Type | Method and Description |
---|---|
protected void |
MySQLDiskCache.processUpdate(ICacheElement element)
This delegates to the generic JDBC disk cache.
|
Modifier and Type | Field and Description |
---|---|
ICacheElement |
LateralElementDescriptor.ce
The Cache Element that we are distributing.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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
|
Constructor and Description |
---|
LateralElementDescriptor(ICacheElement ce)
Constructor for the LateralElementDescriptor object
|
Modifier and Type | Method and Description |
---|---|
void |
ILateralCacheService.update(ICacheElement item,
long requesterId)
Puts a cache item to the cache.
|
Modifier and Type | Method and Description |
---|---|
ICacheElement |
LateralTCPService.get(java.lang.String cacheName,
java.io.Serializable key) |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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;
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
IRemoteCacheService.update(ICacheElement item,
long requesterId)
Puts a cache item to the cache.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
static RemoteCacheRequest |
RemoteCacheRequestFactory.createUpdateRequest(ICacheElement cacheElement,
long requesterId)
Creates an Update Request.
|
Modifier and Type | Method and Description |
---|---|
ICacheElement |
RemoteCacheRequest.getCacheElement() |
Modifier and Type | Method and Description |
---|---|
void |
RemoteCacheRequest.setCacheElement(ICacheElement cacheElement) |
Modifier and Type | Class and Description |
---|---|
class |
CacheElement
Generic element wrapper.
|
class |
CacheElementSerialized
Either serialized value or the value should be null;
|
Modifier and Type | Method and Description |
---|---|
ICacheElement |
ZombieCacheService.get(java.lang.String cacheName,
java.io.Serializable key) |
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Interface and Description |
---|---|
interface |
ICacheElementSerialized
This interface defines the behavior of the serialized element wrapper.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
abstract ICacheElement |
AbstractMemoryCache.get(java.io.Serializable key)
Get an item from the cache
|
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.
|
Modifier and Type | Method and Description |
---|---|
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
|
void |
AbstractDoulbeLinkedListMemoryCache.update(ICacheElement ce)
Calls the abstract method updateList.
|
abstract void |
AbstractMemoryCache.update(ICacheElement ce)
Puts an item to the cache.
|
void |
AbstractMemoryCache.waterfal(ICacheElement ce)
Puts an item to the cache.
|
Modifier and Type | Method and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
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
|
Modifier and Type | Method and Description |
---|---|
protected MemoryElementDescriptor |
FIFOMemoryCache.adjustListForUpdate(ICacheElement ce)
Puts an item to the cache.
|
Modifier and Type | Method and Description |
---|---|
protected MemoryElementDescriptor |
LRUMemoryCache.adjustListForUpdate(ICacheElement ce)
Puts an item to the cache.
|
Modifier and Type | Method and Description |
---|---|
protected MemoryElementDescriptor |
MRUMemoryCache.adjustListForUpdate(ICacheElement ce)
Adds the item to the front of the list.
|
Modifier and Type | Field and Description |
---|---|
ICacheElement |
MemoryElementDescriptor.ce
The CacheElement wrapped by this descriptor
|
Constructor and Description |
---|
MemoryElementDescriptor(ICacheElement ce)
Constructor for the MemoryElementDescriptor object
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
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-2013 Apache Software Foundation. All Rights Reserved.