public interface CacheLifecycleCallback
CacheController to provide notification about
important events.| Modifier and Type | Method and Description |
|---|---|
void |
onAfterAdd(CacheKey key,
java.lang.Object value,
CacheRegion region)
Executes after an object has been added to the cache.
|
void |
onAfterEviction(CacheKey key,
java.lang.Object value,
CacheRegion region)
Executes after an object has been evicted from the cache.
|
void |
onAfterRemove(CacheKey key,
java.lang.Object value,
CacheRegion region)
Executes after an object has been removed from the cache.
|
void |
onMissLoad(CacheKey key,
java.lang.Object value,
CacheRegion lruCacheRegion)
Executes after an object has been loaded but not added to the cache.
|
void onAfterAdd(CacheKey key, java.lang.Object value, CacheRegion region)
void onAfterRemove(CacheKey key, java.lang.Object value, CacheRegion region)
void onAfterEviction(CacheKey key, java.lang.Object value, CacheRegion region)
void onMissLoad(CacheKey key, java.lang.Object value, CacheRegion lruCacheRegion)
Copyright © 2018 SAP SE. All Rights Reserved.