|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the underlying cache mechanism that is used by the servlet, JSP, webservices, command cache. It contains the methods used to inspect and manage the current state of the cache.
DynamicCacheAccessor.getDistributedMap()
,
DistributedMap
,
DistributedObjectCache
Method Summary | |
---|---|
void |
clear()
Deprecated. Use DistributedMap to store and manage objects in cache. |
java.util.Collection |
getAllDependencyIds()
Deprecated. Use DistributedMap to store and manage objects in cache. |
java.util.Enumeration |
getAllIds()
Deprecated. Use DistributedMap to store and manage objects in cache. |
java.util.Collection |
getCacheIdsByDependency(java.lang.String dependency)
Deprecated. Use DistributedMap to store and manage objects in cache. |
java.util.Collection |
getCacheIdsByTemplate(java.lang.String template)
Deprecated. Use DistributedMap to store and manage objects in cache. |
int |
getDefaultPriority()
Deprecated. Use DistributedMap to store and manage objects in cache. |
CacheEntry |
getEntry(EntryInfo entryInfo)
Deprecated. Use DistributedMap to store and manage objects in cache. |
CacheEntry |
getEntry(java.lang.String id)
Deprecated. Use DistributedMap to store and manage objects in cache. |
int |
getMaxNumberCacheEntries()
Deprecated. Use DistributedMap to store and manage objects in cache. |
int |
getNumberCacheEntries()
Deprecated. Use DistributedMap to store and manage objects in cache. |
java.lang.Object |
getValue(EntryInfo entryInfo,
boolean askPermission)
Deprecated. Use DistributedMap to store and manage objects in cache. |
java.lang.Object |
getValue(java.lang.Object id,
boolean askPermission)
Deprecated. Use DistributedMap to store and manage objects in cache. |
java.lang.Object |
getValue(java.lang.String id,
boolean askPermission)
Deprecated. Use DistributedMap to store and manage objects in cache. |
void |
invalidateById(java.lang.String id,
boolean waitOnInvalidation)
Deprecated. Use DistributedMap to store and manage objects in cache. |
void |
invalidateByTemplate(java.lang.String template,
boolean waitOnInvalidation)
Deprecated. Use DistributedMap to store and manage objects in cache. |
Method Detail |
public CacheEntry getEntry(EntryInfo entryInfo)
entryInfo
- The entry info object for the entry to be found.
It cannot be null.
DistributedMap
,
DistributedObjectCache
public CacheEntry getEntry(java.lang.String id)
id
- The cache id object for the entry to be found.
It cannot be null.
DistributedMap
public java.lang.Object getValue(EntryInfo entryInfo, boolean askPermission)
entryInfo
- The entry info object for the entry to be found.
It cannot be null.askPermission
- True implies that execution must ask the
coordinating CacheUnit for permission.
DistributedMap
public java.lang.Object getValue(java.lang.String id, boolean askPermission)
id
- The cache id for the entry to be found. It cannot be null.askPermission
- True implies that execution must ask the
coordinating CacheUnit for permission.DistributedMap
public java.lang.Object getValue(java.lang.Object id, boolean askPermission)
id
- The cache id for the entry to be found. It cannot be null.askPermission
- True implies that execution must ask the
coordinating CacheUnit for permission.DistributedMap
public void invalidateById(java.lang.String id, boolean waitOnInvalidation)
id
- The cache id or data id.waitOnInvalidation
- True indicates that this method should
not return until the invalidations have taken effect on all caches.
False indicates that the invalidations will be queued for later
batch processing.DistributedMap
public void invalidateByTemplate(java.lang.String template, boolean waitOnInvalidation)
template
- The template name.waitOnInvalidation
- True indicates that this method should
not return until the invalidations have taken effect on all caches.
False indicates that the invalidations will be queued for later
batch processing.DistributedMap
public void clear()
DistributedMap
public java.util.Enumeration getAllIds()
DistributedMap
public int getMaxNumberCacheEntries()
DistributedMap
public int getNumberCacheEntries()
DistributedMap
public int getDefaultPriority()
DistributedMap
public java.util.Collection getAllDependencyIds()
DistributedMap
public java.util.Collection getCacheIdsByDependency(java.lang.String dependency)
dependency
- ID for which Cache IDs are needed.
DistributedMap
public java.util.Collection getCacheIdsByTemplate(java.lang.String template)
template
- for which Cache IDs are needed.
DistributedMap
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |