public class LongHeapCache<V> extends HeapCache<Long,V> implements org.cache2k.LongCache<V>
HeapCache.RunWithCatch, HeapCache.TunableclearCnt, clearedTime, clearRemovedCnt, clock, DEFAULT_EXCEPTION_PROPAGATOR, exceptionPropagator, hash, hashSeed, info, internalExceptionCnt, keyMutationCnt, keyType, loader, loaderExecutor, lock, manager, name, prefetchExecutor, startedTime, timing, TUNABLE, valueType| Constructor and Description |
|---|
LongHeapCache() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsKey(long key) |
V |
get(long key) |
V |
peek(long key) |
void |
put(long key,
V value) |
void |
remove(long key) |
cancelTimerJobs, checkAllPresent, checkClosed, checkIntegrity, clear, clearLocalCache, close, closePart1, closePart2, computeIfAbsent, containsAndRemove, containsKey, convertCacheEntry2ValueMap, convertValueMap, createEntryAction, createHashTable, executeWithGlobalLock, expireAt, expireEntry, expireOrScheduleFinalExpireEvent, extractIntKeyObj, extractIntKeyValue, extractKeyObj, extractModifiedHash, finishLoadOrEviction, generateKeySet, get, getAll, getCacheManager, getClock, getCommonMetrics, getCompleteName, getEntry, getEntryInternal, getEntryInternal, getEntryState, getInfo, getInfo, getIntegrityState, getKeyType, getLatestInfo, getLatestInfo, getLocalSize, getLog, getName, getPrefetchExecutor, getTotalEntryCount, getValueType, init, initializeHeapCache, initWithoutTimerHandler, insert, insertNewEntry, insertOrUpdateAndCalculateExpiry, invoke, isClosed, isKeepAfterExpired, isNullValuePermitted, isRecordRefreshTime, isRefreshAhead, isRejectNullValues, isUpdateTimeNeeded, iterateAllHeapEntries, iterator, load, loadAll, loadAndReplace, logAndCountInternalException, lookupEntry, lookupEntry, lookupEntryNoHitRecord, lookupEntryNoHitRecord, lookupOrNewEntry, lookupOrNewEntry, lookupOrNewEntryNoHitRecord, modifiedHash, peek, peekAll, peekAndPut, peekAndRemove, peekAndReplace, peekEntry, peekEntryInternal, peekEntryInternal, prefetch, prefetchAll, put, putAll, putIfAbsent, putValue, recordHit, reloadAll, remove, removeEntry, removeEntryForEviction, removeIfEquals, replace, replace, replaceIfEquals, returnCacheEntry, returnCacheEntry, returnEntry, returnNullValueDetectedException, returnValue, returnValue, setAdvancedLoader, setCacheClosedListeners, setCacheConfig, setCacheManager, setClock, setExceptionPropagator, setFeatureBit, setName, setTiming, startRefreshProbationTimer, timerEventExpireEntry, timerEventProbationTerminated, timerEventRefreshasMap, clearAndClose, closeCustomization, createCustomization, entries, execute, execute, execute, getStorage, invokeAll, keys, nameQualifier, removeAll, removeAll, requestInterface, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitasMap, 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, toStringpublic boolean containsKey(long key)
containsKey in interface org.cache2k.LongCache<V>public void put(long key,
V value)
put in interface org.cache2k.LongKeyValueStore<V>public void remove(long key)
remove in interface org.cache2k.LongKeyValueStore<V>cache2k API documentation. Copyright © 2000–2019 headissue GmbH, Munich.