Package org.cache2k
Interface Customization
-
- All Known Subinterfaces:
AdvancedCacheLoader<K,V>
,AsyncBulkCacheLoader<K,V>
,AsyncCacheLoader<K,V>
,BulkCacheLoader<K,V>
,CacheLoader<K,V>
,CacheWriter<K,V>
,DataAwareCustomization<K,V>
,ExceptionPropagator<K,V>
,ResiliencePolicy<K,V>
,Weigher<K,V>
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