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 CustomizationA 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 areCacheLoaderand theExpiryPolicy.A customization may implement
AutoCloseableto be notified upon cache shutdown.- Author:
- Jens Wilke