-
- All Implemented Interfaces:
- Closeable, AutoCloseable, org.cache2k.AdvancedKeyValueSource<Long,V>, org.cache2k.Cache<Long,V>, CanCheckIntegrity, HeapCacheListener<Long,V>, InternalCache<Long,V>, StorageAdapter.Parent, org.cache2k.KeyValueSource<Long,V>, org.cache2k.KeyValueStore<Long,V>, org.cache2k.LongCache<V>, org.cache2k.LongKeyValueSource<V>, org.cache2k.LongKeyValueStore<V>
public class LongWiredCache<V>
extends WiredCache<Long,V>
implements org.cache2k.LongCache<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
-
LongWiredCache
public LongWiredCache()
-
Method Detail
-
peek
public V peek(long key)
- Specified by:
peek in interface org.cache2k.LongCache<V>
-
get
public V get(long key)
- Specified by:
get in interface org.cache2k.LongKeyValueSource<V>
cache2k API documentation. Copyright © 2000–2019 headissue GmbH, Munich.