public interface LongCache<V> extends Cache<Long,V>, LongKeyValueStore<V>
Cache for long keys.
The version of cache2k 1.2 does not provide particular optimizations for long keys.
Future versions of cache2k may provide specialized implementations for long
keys that enhance the efficiency. The interface is introduced along with IntCache
to be able to provide optimized implementations of cache2k for long keys, without
another API change.
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(long key)
Specialized version of
containsKey for long keys. |
V |
peek(long key)
Specialized version of
peek for long keys. |
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, toStringput, removegetV peek(long key)
peek for long keys.Cache.peek(Object)boolean containsKey(long key)
containsKey for long keys.Cache.containsKey(Object)cache2k API documentation. Copyright © 2000–2019 headissue GmbH, Munich.