public interface CacheReferenceInterface
Modifier and Type | Method and Description |
---|---|
void |
addCacheReferenceInterface(CacheReferenceInterface cache)
Add an instance of CacheReferenceInterface to the set of caches to be chained
when seeking an object by key.
|
void |
clearCache(boolean useChain)
Clear the cache of all object and key references.
|
java.lang.Object |
getCachedObject(java.lang.String key,
boolean useChain)
Retrieve a cached object from the class instance.
|
void |
removeCacheReferenceInterface(CacheReferenceInterface cache)
Remove an instance of CacheReferenceInterface from the set of caches to be chained
when seeking an object by key.
|
java.lang.Object getCachedObject(java.lang.String key, boolean useChain)
key
- -- String key for identifying the object stored in cache.useChain
- -- true if the instance should search in all chained caches,
false if only the individual local cache should be searched.void addCacheReferenceInterface(CacheReferenceInterface cache)
cache
- void removeCacheReferenceInterface(CacheReferenceInterface cache)
cache
- void clearCache(boolean useChain)
useChain
- -- true if the instance should clear all chained caches,
false if only the individual local cache should be cleared.Copyright © SAS Institute. All Rights Reserved.