public interface ObjectCache<T>
ObjectCache only with a ObjectCacheManager.| Modifier and Type | Method and Description |
|---|---|
void |
addObject(ObjectKey<T> objectKey,
T object)
Adds an object under the given key to the cache.
|
void |
clear()
Clear the cache.
|
T |
getObject(ObjectKey<T> objectKey)
Get the object which is found under the given key.
|
T |
removeObject(ObjectKey<T> objectKey)
Removes an object from the cache.
|
T getObject(ObjectKey<T> objectKey)
objectKey - void addObject(ObjectKey<T> objectKey, T object)
objectKey - the ObjectKeyobject - the object to be addedT removeObject(ObjectKey<T> objectKey)
objectKey - ObjectKeyvoid clear()
Copyright © 2018 SAP SE. All Rights Reserved.