public class LateralCacheNoWaitFacade extends AbstractAuxiliaryCache
| Modifier and Type | Field and Description |
|---|---|
LateralCacheNoWait[] |
noWaits
The queuing facade to the client.
|
cacheEventLogger, elementSerializer, keyMatcherCACHE_HUB, DISK_CACHE, LATERAL_CACHE, REMOTE_CACHE| Constructor and Description |
|---|
LateralCacheNoWaitFacade(LateralCacheNoWait[] noWaits,
ILateralCacheAttributes cattr)
Constructs with the given lateral cache, and fires events to any listeners.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addNoWait(LateralCacheNoWait noWait)
Adds a no wait to the list if it isn't already in the list.
|
void |
dispose()
Adds a dispose request to the lateral cache.
|
ICacheElement |
get(java.io.Serializable key)
Synchronously reads from the lateral cache.
|
AuxiliaryCacheAttributes |
getAuxiliaryCacheAttributes()
This returns the generic attributes for an auxiliary cache.
|
java.lang.String |
getCacheName()
Gets the cacheName attribute of the LateralCacheNoWaitFacade object.
|
int |
getCacheType()
Gets the cacheType attribute of the LateralCacheNoWaitFacade object.
|
java.lang.String |
getEventLoggingExtraInfo()
this won't be called since we don't do ICache logging here.
|
java.util.Set |
getGroupKeys(java.lang.String group)
Gets the set of keys of objects currently in the group
|
java.util.Map |
getMatching(java.lang.String pattern)
Synchronously reads from the lateral cache.
|
java.util.Map |
getMultiple(java.util.Set keys)
Gets multiple items from the cache based on the given set of keys.
|
int |
getSize()
No lateral invocation.
|
IStats |
getStatistics() |
java.lang.String |
getStats()
getStats
|
int |
getStatus()
Gets the status attribute of the LateralCacheNoWaitFacade object
|
boolean |
remove(java.io.Serializable key)
Adds a remove request to the lateral cache.
|
void |
removeAll()
Adds a removeAll request to the lateral cache.
|
java.lang.String |
toString() |
void |
update(ICacheElement ce)
Puts an item to the cache.
|
createICacheEvent, createICacheEvent, getCacheEventLogger, getElementSerializer, getKeyMatcher, logApplicationEvent, logError, logICacheEvent, setCacheEventLogger, setElementSerializer, setKeyMatcherpublic LateralCacheNoWait[] noWaits
public LateralCacheNoWaitFacade(LateralCacheNoWait[] noWaits, ILateralCacheAttributes cattr)
noWaits - cattr - public boolean addNoWait(LateralCacheNoWait noWait)
noWait - public void update(ICacheElement ce) throws java.io.IOException
ICachece - java.io.IOExceptionpublic ICacheElement get(java.io.Serializable key)
key - public java.util.Map getMultiple(java.util.Set keys)
keys - public java.util.Map getMatching(java.lang.String pattern)
pattern - public java.util.Set getGroupKeys(java.lang.String group)
AuxiliaryCachegroup - public boolean remove(java.io.Serializable key)
key - public void removeAll()
public void dispose()
public int getSize()
public int getCacheType()
public java.lang.String getCacheName()
public int getStatus()
public AuxiliaryCacheAttributes getAuxiliaryCacheAttributes()
AuxiliaryCachepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getEventLoggingExtraInfo()
getEventLoggingExtraInfo in class AbstractAuxiliaryCachepublic java.lang.String getStats()
public IStats getStatistics()
Copyright © 2002-2013 Apache Software Foundation. All Rights Reserved.