-
- All Implemented Interfaces:
- Closeable, AutoCloseable, org.cache2k.AdvancedKeyValueSource<Integer,V>, org.cache2k.Cache<Integer,V>, CanCheckIntegrity, HeapCacheListener<Integer,V>, InternalCache<Integer,V>, StorageAdapter.Parent, org.cache2k.IntCache<V>, org.cache2k.IntKeyValueSource<V>, org.cache2k.IntKeyValueStore<V>, org.cache2k.KeyValueSource<Integer,V>, org.cache2k.KeyValueStore<Integer,V>
public class IntWiredCache<V>
extends WiredCache<Integer,V>
implements org.cache2k.IntCache<V>
Just delegate to the non specialized versions for now.
- Author:
- Jens Wilke
-
-
Method Summary
-
Methods inherited from class org.cache2k.core.WiredCache
cancelTimerJobs, checkIntegrity, clear, close, computeIfAbsent, containsAndRemove, containsKey, createEntryAction, expireAt, expireOrScheduleFinalExpireEvent, get, getAll, getCacheManager, getClock, getCommonMetrics, getEntry, getEntryState, getHeapCache, getInfo, getKeyType, getLatestInfo, getLog, getName, getStorage, getTotalEntryCount, getValueType, init, invoke, isClosed, isNullValuePermitted, iterator, loadAll, lockAndRunForPurge, logAndCountInternalException, onEvictionFromHeap, peek, peekAll, peekAndPut, peekAndRemove, peekAndReplace, peekEntry, prefetch, prefetchAll, put, putAll, putIfAbsent, reloadAll, remove, removeIfEquals, replace, replaceIfEquals, resetStorage, returnCacheEntry, timerEventExpireEntry, timerEventProbationTerminated, timerEventRefresh
-
Methods inherited from class org.cache2k.core.BaseCache
asMap, clearAndClose, closeCustomization, createCustomization, entries, execute, execute, execute, invokeAll, keys, nameQualifier, removeAll, removeAll, requestInterface, toString
-
Methods inherited from interface org.cache2k.Cache
asMap, clear, clearAndClose, close, computeIfAbsent, containsAndRemove, containsKey, entries, expireAt, get, getAll, getCacheManager, getEntry, getName, invoke, invokeAll, isClosed, keys, loadAll, peek, peekAll, peekAndPut, peekAndRemove, peekAndReplace, peekEntry, prefetch, prefetchAll, put, putAll, putIfAbsent, reloadAll, remove, removeAll, removeAll, removeIfEquals, replace, replaceIfEquals, requestInterface, toString
-
-
Constructor Detail
-
IntWiredCache
public IntWiredCache()
-
Method Detail
-
peek
public V peek(int key)
- Specified by:
peek in interface org.cache2k.IntCache<V>
-
get
public V get(int key)
- Specified by:
get in interface org.cache2k.IntKeyValueSource<V>
cache2k API documentation. Copyright © 2000–2019 headissue GmbH, Munich.