public class LateralCache extends AbstractAuxiliaryCacheEventLogging
cacheEventLogger, elementSerializer, keyMatcherCACHE_HUB, DISK_CACHE, LATERAL_CACHE, REMOTE_CACHE| Modifier | Constructor and Description |
|---|---|
protected |
LateralCache(ILateralCacheAttributes cattr)
Constructor for the LateralCache object
|
|
LateralCache(ILateralCacheAttributes cattr,
ILateralCacheService lateral,
LateralCacheMonitor monitor)
Constructor for the LateralCache object
|
| Modifier and Type | Method and Description |
|---|---|
void |
fixCache(ILateralCacheService lateral)
Replaces the current remote cache service handle with the given handle.
|
AuxiliaryCacheAttributes |
getAuxiliaryCacheAttributes()
This returns the generic attributes for an auxiliary cache.
|
java.lang.String |
getCacheName()
Gets the cacheName attribute of the LateralCache object
|
int |
getCacheType()
Gets the cacheType attribute of the LateralCache object
|
java.lang.String |
getEventLoggingExtraInfo()
Gets the extra info for the event log.
|
java.util.Set |
getGroupKeys(java.lang.String groupName)
Gets the set of keys of objects currently in the group
|
int |
getSize()
Returns the current cache size.
|
IStats |
getStatistics()
The NoWait on top does not call out to here yet.
|
java.lang.String |
getStats()
getStats
|
int |
getStatus()
Returns the cache status.
|
protected void |
processDispose()
Synchronously dispose the cache.
|
protected ICacheElement |
processGet(java.io.Serializable key)
The performance costs are too great.
|
protected java.util.Map |
processGetMatching(java.lang.String pattern)
Implementation of getMatching.
|
protected java.util.Map |
processGetMultiple(java.util.Set keys)
Gets multiple items from the cache based on the given set of keys.
|
protected boolean |
processRemove(java.io.Serializable key)
Synchronously remove from the remote cache; if failed, replace the remote handle with a
zombie.
|
protected void |
processRemoveAll()
Synchronously removeAll from the remote cache; if failed, replace the remote handle with a
zombie.
|
protected void |
processUpdate(ICacheElement ce)
Update lateral.
|
java.lang.String |
toString() |
dispose, disposeWithEventLogging, get, getMatching, getMatchingWithEventLogging, getMultiple, getMultipleWithEventLogging, getWithEventLogging, remove, removeAll, removeAllWithEventLogging, removeWithEventLogging, update, updateWithEventLoggingcreateICacheEvent, createICacheEvent, getCacheEventLogger, getElementSerializer, getKeyMatcher, logApplicationEvent, logError, logICacheEvent, setCacheEventLogger, setElementSerializer, setKeyMatcherpublic LateralCache(ILateralCacheAttributes cattr, ILateralCacheService lateral, LateralCacheMonitor monitor)
cattr - lateral - monitor - protected LateralCache(ILateralCacheAttributes cattr)
cattr - protected void processUpdate(ICacheElement ce) throws java.io.IOException
processUpdate in class AbstractAuxiliaryCacheEventLoggingce - java.io.IOExceptionprotected ICacheElement processGet(java.io.Serializable key) throws java.io.IOException
processGet in class AbstractAuxiliaryCacheEventLoggingkey - java.io.IOExceptionprotected java.util.Map processGetMatching(java.lang.String pattern)
throws java.io.IOException
AbstractAuxiliaryCacheEventLoggingprocessGetMatching in class AbstractAuxiliaryCacheEventLoggingpattern - java.io.IOExceptionprotected java.util.Map processGetMultiple(java.util.Set keys)
throws java.io.IOException
processGetMultiple in class AbstractAuxiliaryCacheEventLoggingkeys - java.io.IOExceptionpublic java.util.Set getGroupKeys(java.lang.String groupName)
AuxiliaryCachegroupName - protected boolean processRemove(java.io.Serializable key)
throws java.io.IOException
processRemove in class AbstractAuxiliaryCacheEventLoggingkey - java.io.IOExceptionprotected void processRemoveAll()
throws java.io.IOException
processRemoveAll in class AbstractAuxiliaryCacheEventLoggingjava.io.IOExceptionprotected void processDispose()
throws java.io.IOException
processDispose in class AbstractAuxiliaryCacheEventLoggingjava.io.IOExceptionpublic int getStatus()
public int getSize()
public int getCacheType()
public java.lang.String getCacheName()
public void fixCache(ILateralCacheService lateral)
lateral - public java.lang.String getStats()
public AuxiliaryCacheAttributes getAuxiliaryCacheAttributes()
AuxiliaryCachepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getEventLoggingExtraInfo()
AbstractAuxiliaryCachegetEventLoggingExtraInfo in class AbstractAuxiliaryCachepublic IStats getStatistics()
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.