public class BlindCompactSerializationCache extends CompactSerializationCache
CompactSerializationCache extension enforcing CompactSerializationCache to operate under a blind mode.
Blind mode allows a Map implementation to forgo the often costly parts of the Map API, in particular returning the previous value for both remove and put operations. Additionally, any MapEvents raised as a result of mutations to this map will indiscriminately return null as the OldValue.
CompactSerializationCacheCompactSerializationCache.HybridEvictionPolicy, CompactSerializationCache.InternalEvictionPolicy, CompactSerializationCache.KeySet, CompactSerializationCache.LFUEvictionPolicy, CompactSerializationCache.LRUEvictionPolicy, CompactSerializationCache.MinExpiryVisitor, CompactSerializationCache.TouchCountVisitor, CompactSerializationCache.WrapperEvictionPolicyAbstractKeyBasedMap.DeferredCacheEvent<K,V>, AbstractKeyBasedMap.EntrySet, AbstractKeyBasedMap.ValuesCollectionBase.LoggingWriter, Base.StackFrameConfigurableCacheMap.Entry, ConfigurableCacheMap.EvictionApprover, ConfigurableCacheMap.EvictionPolicy, ConfigurableCacheMap.UnitCalculatorDEFAULT_PRUNE, f_atomicCurUnits, f_atomicEvictingMutex, f_atomicExpiringMutex, f_fBinary, f_ldtEpoch, f_loader, f_mblm, f_stats, f_store, f_visitorDefaultExpiry, m_apprvrEvict, m_blmExpiry, m_blmTouchCount, m_blmTouchTime, m_blmUnits, m_calculator, m_cExpiryDelay, m_cMaxUnits, m_cPruneUnits, m_dflPruneLevel, m_fBlind, m_ldtNextExpiryCheck, m_listenerSupport, m_nUnitFactor, m_policyLOG_ALWAYS, LOG_DEBUG, LOG_ERR, LOG_INFO, LOG_MAX, LOG_MIN, LOG_QUIET, LOG_WARN, POWER_0, POWER_G, POWER_K, POWER_M, POWER_T, UNIT_D, UNIT_H, UNIT_M, UNIT_MS, UNIT_NS, UNIT_S, UNIT_USEXPIRY_DEFAULT, EXPIRY_NEVER| Modifier | Constructor and Description |
|---|---|
|
BlindCompactSerializationCache(BinaryStoreManager mgr, boolean fBinary)
Construct a BlindCompactSerializationCache using the specified BinaryStoreManager, optionally storing only Binary keys and values
|
|
BlindCompactSerializationCache(BinaryStoreManager mgr, ClassLoader loader)
Construct a BlindCompactSerializationCache using the specified BinaryStoreManager and classloader.
|
protected |
BlindCompactSerializationCache(BinaryStoreManager mgr, ClassLoader loader, boolean fBinary)
Construct a BlindCompactSerializationCache using the specified BinaryStoreManager.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBlind()
Return whether this CompactSerializationCache instance is in blind mode.
|
addMapListener, addMapListener, addMapListener, calculateUnits, checkExpiry, checkExpiry, checkSize, checkSize, clear, configureEviction, containsKey, containsValue, decodeExpiry, decodeTime, dispatchEvent, dispose, encodeExpiry, encodeTime, ensureExpiryMap, evict, evict, evictAll, evictInternal, fromBinary, get, getBinaryStore, getCacheEntry, getCacheEntryInternal, getCacheEntryInternal, getCacheStatistics, getClassLoader, getEntryUnits, getEvictionApprover, getEvictionPolicy, getExpiryDelay, getExpiryMap, getHighUnits, getInternalEvictionPolicy, getKeyMap, getLowUnits, getNextExpiryTime, getTouchCountMap, getTouchTimeMap, getUnitCalculator, getUnitFactor, getUnits, getUnitsMap, hasListeners, instantiateDeferredCacheEvent, instantiateKeySet, isBinaryMap, iterateKeys, put, put, registerExpiry, remove, removeBlind, removeInternal, removeMapListener, removeMapListener, removeMapListener, setBlind, setEvictionApprover, setEvictionPolicy, setExpiryDelay, setExpiryMap, setHighUnits, setLowUnits, setTouchCountMap, setTouchTimeMap, setUnitCalculator, setUnitFactor, setUnitsMap, size, toBinary, toExternalUnits, toInternalUnits, toString, touch, updateUnitsclone, entrySet, equals, getAll, hashCode, instantiateEntrySet, instantiateValues, isEmpty, keySet, putAll, valuesazzert, azzert, azzert, azzertFailed, breakLines, breakLines, capitalize, checkNotEmpty, checkNotNull, checkRange, computeSafeWaitTime, decimalValue, dup, dup, ensureBigDecimal, ensureClassLoader, ensureRuntimeException, ensureRuntimeException, equals, equalsDeep, err, err, err, err, err, escape, formatDateTime, getCallerStackFrame, getCommonMonitor, getCommonMonitor, getCommonMonitor, getContextClassLoader, getContextClassLoader, getDeepMessage, getErr, getLastSafeTimeMillis, getLog, getMaxDecDigits, getMaxHexDigits, getOriginalException, getOut, getRandom, getRandomBinary, getRandomBinary, getRandomString, getSafeTimeMillis, getStackFrame, getStackFrames, getStackTrace, getStackTrace, getThreadFactory, getTimeZone, getUpTimeMillis, hashCode, hexValue, indentString, indentString, isDecimal, isHex, isLogEcho, isOctal, log, log, log, log, log, makeInteger, makeLong, makeThread, mod, mod, octalValue, out, out, out, out, out, pad, parseBandwidth, parseBandwidth, parseDelimitedString, parseHex, parseHex, parseMemorySize, parseMemorySize, parsePercentage, parseTime, parseTime, parseTimeNanos, parseTimeNanos, printStackTrace, randomize, randomize, randomize, read, read, read, read, read, read, read, replace, setErr, setLog, setLogEcho, setOut, sleep, toBandwidthString, toBandwidthString, toCharEscape, toCrc, toCrc, toCrc, toCrc, toCrc, toDecString, toDelimitedString, toDelimitedString, toDelimitedString, toDelimitedString, toHex, toHex, toHexDump, toHexEscape, toHexEscape, toHexEscape, toHexEscape, toHexString, toMemorySizeString, toMemorySizeString, toQuotedCharEscape, toQuotedStringEscape, toSqlString, toString, toString, toStringEscape, toUnicodeEscape, trace, trace, trace, trace, trace, trace, trace, trace, trace, truncateString, truncateString, waitfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, entrySet, equals, forEach, getOrDefault, hashCode, isEmpty, keySet, merge, putAll, putIfAbsent, remove, replace, replace, replaceAll, valuesclosepublic BlindCompactSerializationCache(BinaryStoreManager mgr, ClassLoader loader)
mgr - the BinaryStoreManager to use to create the BinaryStoreloader - the ClassLoader to use for deserializationpublic BlindCompactSerializationCache(BinaryStoreManager mgr, boolean fBinary)
mgr - the BinaryStoreManager to use to create the BinaryStorefBinary - true iff only Binary keys and values are to be storedprotected BlindCompactSerializationCache(BinaryStoreManager mgr, ClassLoader loader, boolean fBinary)
mgr - the BinaryStoreManager to use to create the BinaryStoreloader - the ClassLoader to use for deserializationfBinary - true iff only Binary keys and values are to be storedpublic boolean isBlind()
isBlind in class CompactSerializationCache