public interface Cache
| Modifier and Type | Method and Description |
|---|---|
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.
|
CacheEntry getEntry(EntryInfo entryInfo)
entryInfo - The entry info object for the entry to be found.
It cannot be null.DistributedMap,
DistributedObjectCacheCacheEntry getEntry(java.lang.String id)
id - The cache id object for the entry to be found.
It cannot be null.DistributedMapjava.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.DistributedMapjava.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.DistributedMapjava.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.DistributedMapvoid 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.DistributedMapvoid 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.DistributedMapvoid clear()
DistributedMapjava.util.Enumeration getAllIds()
DistributedMapint getMaxNumberCacheEntries()
DistributedMapint getNumberCacheEntries()
DistributedMapint getDefaultPriority()
DistributedMapjava.util.Collection getAllDependencyIds()
DistributedMapjava.util.Collection getCacheIdsByDependency(java.lang.String dependency)
dependency - ID for which Cache IDs are needed.DistributedMapjava.util.Collection getCacheIdsByTemplate(java.lang.String template)
template - for which Cache IDs are needed.DistributedMap