Package com.tangosol.net.cache
Class ReadWriteBackingMap.BinaryEntryStoreWrapper
java.lang.Object
com.tangosol.util.Base
com.tangosol.net.cache.ReadWriteBackingMap.StoreWrapper
com.tangosol.net.cache.ReadWriteBackingMap.BinaryEntryStoreWrapper
- Enclosing class:
- ReadWriteBackingMap
A wrapper around the original BinaryEntryStore to allow operations to be
 overridden and extended.
- Author:
- tb 2011.01.11
- 
Nested Class SummaryNested classes/interfaces inherited from class com.tangosol.util.BaseBase.LoggingWriter
- 
Field SummaryFields inherited from class com.tangosol.net.cache.ReadWriteBackingMap.StoreWrapperf_cLoadFailures, f_cLoadMillis, f_cLoadOps, f_cPendingAsyncStoreOps, f_cStoreEntries, f_cStoreFailures, f_cStoreMillis, f_cStoreOps, m_cEraseFailures, m_cEraseMillis, m_cEraseOps, m_eraseBundler, m_fEraseAllSupported, m_fEraseSupported, m_fStoreAllSupported, m_fStoreSupported, m_loadBundler, m_storeBundler
- 
Constructor SummaryConstructorsConstructorDescriptionConstruct a BinaryEntryStoreWrapper.
- 
Method SummaryModifier and TypeMethodDescriptionprotected voideraseAllInternal(Set setBinEntries) Remove the specified entries from the underlying store.protected voideraseInternal(ReadWriteBackingMap.Entry binEntry) Remove the specified entry from the underlying store.The wrapped BinaryEntryStore.getStore()Return the cache store object to which this wrapper delegates.Create the bundler for the erase operations.Create the bundler for the load operations.Create the bundler for the store operations.protected SetloadAllInternal(Set setBinKey) Load the entries associated with each of the specified binary keys from the underlying store.protected ReadWriteBackingMap.EntryloadInternal(Object binKey) Load the entry associated with the specified key from the underlying store.protected voidstoreAllInternal(Set setBinEntries) Store the entries in the specified set in the underlying store.protected voidstoreInternal(ReadWriteBackingMap.Entry binEntry) Store the specified entry in the underlying store.toString()Return a String representation of the BinaryEntryStoreWrapper object that will be used as a part of the write-behind thread name.Methods inherited from class com.tangosol.net.cache.ReadWriteBackingMap.StoreWrappercalculateRequeueDelay, ensureEraseBundler, ensureLoadBundler, ensureStoreBundler, erase, eraseAll, formatKeys, getAverageBatchSize, getAverageEraseMillis, getAverageLoadMillis, getAverageStoreMillis, getEraseBundler, getEraseFailures, getEraseMillis, getEraseOps, getLoadBundler, getLoadFailures, getLoadMillis, getLoadOps, getPendingAsyncStoreOps, getStoreBundler, getStoreFailures, getStoreMillis, getStoreOps, isBlocking, isEraseAllSupported, isEraseSupported, isStoreAllSupported, isStoreSupported, load, loadAll, onEraseAllFailure, onEraseFailure, onEraseFailure, onLoadAllFailure, onLoadAllFailure, onLoadFailure, onLoadFailure, onStoreAllFailure, onStoreAllFailure, onStoreFailure, onStoreFailure, replace, reportUnsupported, requeue, resetStatistics, setEraseAllSupported, setEraseSupported, setStoreAllSupported, setStoreSupported, store, storeAllMethods inherited from class com.tangosol.util.Baseazzert, 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, getProcessRandom, getRandom, getRandomBinary, getRandomBinary, getRandomString, getSafeTimeMillis, getStackFrame, getStackFrames, getStackTrace, getStackTrace, getStackTrace, getThreadFactory, getTimeZone, getUpTimeMillis, hashCode, hexValue, indentString, indentString, isDecimal, isHex, isLogEcho, isOctal, log, log, log, log, log, makeInteger, makeLong, makeThread, mergeArray, mergeBooleanArray, mergeByteArray, mergeCharArray, mergeDoubleArray, mergeFloatArray, mergeIntArray, mergeLongArray, mod, mod, newHashMap, newHashMap, newHashSet, newHashSet, octalValue, out, out, out, out, out, pad, parseBandwidth, parseBandwidth, parseDelimitedString, parseHex, parseHex, parseMemorySize, parseMemorySize, parsePercentage, parseTime, parseTime, parseTimeNanos, parseTimeNanos, printStackTrace, randomize, 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, wait
- 
Constructor Details- 
BinaryEntryStoreWrapperConstruct a BinaryEntryStoreWrapper.- Parameters:
- store- the BinaryEntryStore to wrap
 
 
- 
- 
Method Details- 
instantiateLoadBundlerCreate the bundler for the load operations.- Specified by:
- instantiateLoadBundlerin class- ReadWriteBackingMap.StoreWrapper
- Returns:
- the "load" bundler
 
- 
instantiateStoreBundlerCreate the bundler for the store operations.- Specified by:
- instantiateStoreBundlerin class- ReadWriteBackingMap.StoreWrapper
- Returns:
- the "store" bundler
 
- 
instantiateEraseBundlerCreate the bundler for the erase operations.- Specified by:
- instantiateEraseBundlerin class- ReadWriteBackingMap.StoreWrapper
- Returns:
- the "erase" bundler
 
- 
loadInternalLoad the entry associated with the specified key from the underlying store.- Specified by:
- loadInternalin class- ReadWriteBackingMap.StoreWrapper
- Parameters:
- binKey- binary key whose associated value is to be loaded
- Returns:
- the entry associated with the specified key, or null if no value is available for that key
 
- 
loadAllInternalLoad the entries associated with each of the specified binary keys from the underlying store.- Specified by:
- loadAllInternalin class- ReadWriteBackingMap.StoreWrapper
- Parameters:
- setBinKey- a set of binary keys to load
- Returns:
- a Set of entries for the specified keys
 
- 
storeInternalStore the specified entry in the underlying store.- Specified by:
- storeInternalin class- ReadWriteBackingMap.StoreWrapper
- Parameters:
- binEntry- the entry to be stored
 
- 
storeAllInternalStore the entries in the specified set in the underlying store.- Specified by:
- storeAllInternalin class- ReadWriteBackingMap.StoreWrapper
- Parameters:
- setBinEntries- the set of entries to be stored
 
- 
eraseInternalRemove the specified entry from the underlying store.- Specified by:
- eraseInternalin class- ReadWriteBackingMap.StoreWrapper
- Parameters:
- binEntry- the entry to be removed from the store
 
- 
eraseAllInternalRemove the specified entries from the underlying store.- Specified by:
- eraseAllInternalin class- ReadWriteBackingMap.StoreWrapper
- Parameters:
- setBinEntries- the set entries to be removed from the store
 
- 
getStoreReturn the cache store object to which this wrapper delegates.- Specified by:
- getStorein class- ReadWriteBackingMap.StoreWrapper
- Returns:
- the cache store object to which this wrapper delegates
 
- 
getBinaryEntryStoreThe wrapped BinaryEntryStore.- Returns:
- the underlying BinaryEntryStore this CacheStoreWrapper wraps
 
- 
toStringReturn a String representation of the BinaryEntryStoreWrapper object that will be used as a part of the write-behind thread name.
 
-