Package org.cache2k.core
Class InternalCache2kBuilder.WrappedAdvancedCacheLoader<K,V>
- java.lang.Object
-
- org.cache2k.core.InternalCache2kBuilder.WrappedAdvancedCacheLoader<K,V>
-
- All Implemented Interfaces:
AutoCloseable
,org.cache2k.Customization
,org.cache2k.DataAware<K,V>
,org.cache2k.DataAwareCustomization<K,V>
,org.cache2k.io.AdvancedCacheLoader<K,V>
- Enclosing class:
- InternalCache2kBuilder<K,V>
public static class InternalCache2kBuilder.WrappedAdvancedCacheLoader<K,V> extends Object implements org.cache2k.io.AdvancedCacheLoader<K,V>, AutoCloseable
Starting with 2.0 we don't send an entry with an exception to the loader.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
V
load(K key, long startTime, org.cache2k.CacheEntry<K,V> currentEntry)
-
-
-
Method Detail
-
close
public void close() throws Exception
- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
-