|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jcs.auxiliary.lateral.LateralCacheNoWaitFacade
public class LateralCacheNoWaitFacade
Used to provide access to multiple services under nowait protection. Composite factory should construct LateralCacheNoWaitFacade to give to the composite cache out of caches it constructs from the varies manager to lateral services. Perhaps the lateralcache factory should be able to do this.
| Field Summary | |
|---|---|
LateralCacheNoWait[] |
noWaits
The queuing facade to the client. |
| Fields inherited from interface org.apache.jcs.engine.behavior.ICacheType |
|---|
CACHE_HUB, DISK_CACHE, LATERAL_CACHE, REMOTE_CACHE |
| Constructor Summary | |
|---|---|
LateralCacheNoWaitFacade(LateralCacheNoWait[] noWaits,
ILateralCacheAttributes cattr)
Constructs with the given lateral cache, and fires events to any listeners. |
|
| Method Summary | |
|---|---|
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.util.Set |
getGroupKeys(java.lang.String group)
Gets the set of keys of objects currently in the group |
int |
getSize()
No lateral invokation. |
IStats |
getStatistics()
Returns the historical and statistical data for a region's auxiliary cache. |
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public LateralCacheNoWait[] noWaits
| Constructor Detail |
|---|
public LateralCacheNoWaitFacade(LateralCacheNoWait[] noWaits,
ILateralCacheAttributes cattr)
noWaits - cattr - | Method Detail |
|---|
public boolean addNoWait(LateralCacheNoWait noWait)
noWait -
public void update(ICacheElement ce)
throws java.io.IOException
AuxiliaryCache
update in interface AuxiliaryCacheupdate in interface ICachejava.io.IOExceptionpublic ICacheElement get(java.io.Serializable key)
get in interface AuxiliaryCacheget in interface ICachekey -
public java.util.Set getGroupKeys(java.lang.String group)
AuxiliaryCache
getGroupKeys in interface AuxiliaryCachepublic boolean remove(java.io.Serializable key)
remove in interface AuxiliaryCacheremove in interface ICachekey -
public void removeAll()
removeAll in interface AuxiliaryCacheremoveAll in interface ICachepublic void dispose()
dispose in interface AuxiliaryCachedispose in interface ICachepublic int getSize()
getSize in interface AuxiliaryCachegetSize in interface ICachepublic int getCacheType()
getCacheType in interface ICacheTypepublic java.lang.String getCacheName()
getCacheName in interface AuxiliaryCachegetCacheName in interface ICachepublic int getStatus()
getStatus in interface AuxiliaryCachegetStatus in interface ICachepublic AuxiliaryCacheAttributes getAuxiliaryCacheAttributes()
AuxiliaryCache
getAuxiliaryCacheAttributes in interface AuxiliaryCachepublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getStats()
getStats in interface ICachepublic IStats getStatistics()
AuxiliaryCache
getStatistics in interface AuxiliaryCache
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||