|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Cache
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 |
---|
CacheEntry getEntry(EntryInfo entryInfo)
entryInfo
- The entry info object for the entry to be found.
It cannot be null.
DistributedMap
,
DistributedObjectCache
CacheEntry getEntry(java.lang.String id)
id
- The cache id object for the entry to be found.
It cannot be null.
DistributedMap
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
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
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
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
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
void clear()
DistributedMap
java.util.Enumeration getAllIds()
DistributedMap
int getMaxNumberCacheEntries()
DistributedMap
int getNumberCacheEntries()
DistributedMap
int getDefaultPriority()
DistributedMap
java.util.Collection getAllDependencyIds()
DistributedMap
java.util.Collection getCacheIdsByDependency(java.lang.String dependency)
dependency
- ID for which Cache IDs are needed.
DistributedMap
java.util.Collection getCacheIdsByTemplate(java.lang.String template)
template
- for which Cache IDs are needed.
DistributedMap
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |