Package org.cache2k
Interface DataAware<K,V>
-
- Type Parameters:
K- non-null type for the cache keyV- non-null type for the cache value. Although cache2k support null values byCache2kBuilder.permitNullValues(boolean)this is not the common use case
- All Known Subinterfaces:
AdvancedCacheLoader<K,V>,AsyncBulkCacheLoader<K,V>,AsyncBulkCacheLoader.BulkCallback<K,V>,AsyncBulkCacheLoader.BulkLoadContext<K,V>,AsyncCacheLoader<K,V>,AsyncCacheLoader.Context<K,V>,BulkCacheLoader<K,V>,Cache<K,V>,CacheEntry<K,V>,CacheEntryCreatedListener<K,V>,CacheEntryEvictedListener<K,V>,CacheEntryExpiredListener<K,V>,CacheEntryOperationListener<K,V>,CacheEntryRemovedListener<K,V>,CacheEntryUpdatedListener<K,V>,CacheLoader<K,V>,CacheWriter<K,V>,DataAwareCustomization<K,V>,EntryMutator<K,V>,EntryProcessor<K,V,R>,ExceptionPropagator<K,V>,ExpiryPolicy<K,V>,KeyValueSource<K,V>,LoadExceptionInfo<K,V>,MutableCacheEntry<K,V>,ResiliencePolicy<K,V>,Weigher<K,V>
- All Known Implementing Classes:
AbstractCache,Cache2kBuilder,Cache2kConfig,ForwardingCache
public interface DataAware<@NonNull K,@NonNull V>Parent for all interfaces dealing with cached data. This is used to establish a common contract for the K and V type parameter.- Since:
- 2.0
- Author:
- Jens Wilke