Package org.cache2k
Interface Customization
-
- All Known Subinterfaces:
AdvancedCacheLoader<K,V>
,AsyncCacheLoader<K,V>
,CacheLoader<K,V>
,CacheWriter<K,V>
,DataAwareCustomization<K,V>
,ExceptionPropagator<K,V>
,FunctionalCacheLoader<K,V>
,ResiliencePolicy<K,V>
,Weigher<K,V>
- All Known Implementing Classes:
AdvancedCacheLoader
,CacheLoader
,CacheWriter
public interface Customization
A customization dealing with cached data. Base interface for all cache customizations. Customizations are code that get attached to a cache which extend and modify its behavior. Typical exceptions areCacheLoader
and theExpiryPolicy
.A customization may implement
AutoCloseable
to be notified upon cache shutdown.- Author:
- Jens Wilke