| Package | Description |
|---|---|
| de.hybris.platform.cache2 | |
| de.hybris.platform.test |
| Modifier and Type | Method and Description |
|---|---|
void |
ObjectCache.addObject(ObjectKey<T> objectKey,
T object)
Adds an object under the given key to the cache.
|
void |
SimpleObjectCache.addObject(ObjectKey<T> objectKey,
T object) |
void |
FIFOObjectCache.addObject(ObjectKey<T> objectKey,
T object) |
T |
ObjectCacheManager.fetch(ObjectKey<T> objectKey)
Looks for the object under the given
ObjectKey. |
T |
AbstractObjectCacheManager.fetch(ObjectKey<T> objectKey) |
protected java.lang.String |
AbstractObjectCacheManager.getDebugKey(ObjectKey<T> objectKey) |
T |
ObjectCache.getObject(ObjectKey<T> objectKey)
Get the object which is found under the given key.
|
T |
SimpleObjectCache.getObject(ObjectKey<T> objectKey) |
T |
FIFOObjectCache.getObject(ObjectKey<T> objectKey) |
protected T |
AbstractObjectCacheManager.handleCreation(ObjectKey<T> objectKey)
Default implementation of how objects should be created.
|
protected void |
AbstractObjectCacheManager.handleExpiration(ObjectKey<T> objectKey)
Default implementation simply removes the expired object.
|
protected void |
AbstractObjectCacheManager.handleInvalidation(ObjectKey<T> objectKey)
Default implementation simply removed the invalidated object.
|
protected T |
AbstractObjectCacheManager.handleRequest(ObjectKey<T> objectKey)
Default implementation simply requests the cache with the given key.
|
void |
ObjectCacheManager.invalidate(ObjectKey<T> objectKey)
Invalidates the object under the given (@link ObjectKey}
|
void |
AbstractObjectCacheManager.invalidate(ObjectKey<T> objectKey) |
T |
ObjectCache.removeObject(ObjectKey<T> objectKey)
Removes an object from the cache.
|
T |
SimpleObjectCache.removeObject(ObjectKey<T> objectKey) |
T |
FIFOObjectCache.removeObject(ObjectKey<T> objectKey) |
| Modifier and Type | Class and Description |
|---|---|
static class |
Cache2Test.TestObjectKey |
| Modifier and Type | Method and Description |
|---|---|
protected T |
Cache2Test.TestObjectCacheManager.handleCreation(ObjectKey<T> objectKey) |
protected void |
Cache2Test.TestObjectCacheManager.handleExpiration(ObjectKey<T> objectKey) |
protected void |
Cache2Test.TestObjectCacheManager.handleInvalidation(ObjectKey<T> objectKey) |
protected T |
Cache2Test.TestObjectCacheManager.handleRequest(ObjectKey<T> objectKey) |
Copyright © 2018 SAP SE. All Rights Reserved.