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 Summary
Nested classes/interfaces inherited from class com.tangosol.util.Base
Base.LoggingWriter -
Field Summary
Fields inherited from class com.tangosol.net.cache.ReadWriteBackingMap.StoreWrapper
f_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 Summary
ConstructorsConstructorDescriptionConstruct a BinaryEntryStoreWrapper. -
Method Summary
Modifier 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.StoreWrapper
calculateRequeueDelay, 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.Base
azzert, 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
-
BinaryEntryStoreWrapper
Construct a BinaryEntryStoreWrapper.- Parameters:
store- the BinaryEntryStore to wrap
-
-
Method Details
-
instantiateLoadBundler
Create the bundler for the load operations.- Specified by:
instantiateLoadBundlerin classReadWriteBackingMap.StoreWrapper- Returns:
- the "load" bundler
-
instantiateStoreBundler
Create the bundler for the store operations.- Specified by:
instantiateStoreBundlerin classReadWriteBackingMap.StoreWrapper- Returns:
- the "store" bundler
-
instantiateEraseBundler
Create the bundler for the erase operations.- Specified by:
instantiateEraseBundlerin classReadWriteBackingMap.StoreWrapper- Returns:
- the "erase" bundler
-
loadInternal
Load the entry associated with the specified key from the underlying store.- Specified by:
loadInternalin classReadWriteBackingMap.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
-
loadAllInternal
Load the entries associated with each of the specified binary keys from the underlying store.- Specified by:
loadAllInternalin classReadWriteBackingMap.StoreWrapper- Parameters:
setBinKey- a set of binary keys to load- Returns:
- a Set of entries for the specified keys
-
storeInternal
Store the specified entry in the underlying store.- Specified by:
storeInternalin classReadWriteBackingMap.StoreWrapper- Parameters:
binEntry- the entry to be stored
-
storeAllInternal
Store the entries in the specified set in the underlying store.- Specified by:
storeAllInternalin classReadWriteBackingMap.StoreWrapper- Parameters:
setBinEntries- the set of entries to be stored
-
eraseInternal
Remove the specified entry from the underlying store.- Specified by:
eraseInternalin classReadWriteBackingMap.StoreWrapper- Parameters:
binEntry- the entry to be removed from the store
-
eraseAllInternal
Remove the specified entries from the underlying store.- Specified by:
eraseAllInternalin classReadWriteBackingMap.StoreWrapper- Parameters:
setBinEntries- the set entries to be removed from the store
-
getStore
Return the cache store object to which this wrapper delegates.- Specified by:
getStorein classReadWriteBackingMap.StoreWrapper- Returns:
- the cache store object to which this wrapper delegates
-
getBinaryEntryStore
The wrapped BinaryEntryStore.- Returns:
- the underlying BinaryEntryStore this CacheStoreWrapper wraps
-
toString
Return a String representation of the BinaryEntryStoreWrapper object that will be used as a part of the write-behind thread name.
-