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