Package com.tangosol.net.cache
Class ReadWriteBackingMap.ReadThread
java.lang.Object
com.tangosol.util.Base
com.tangosol.util.Daemon
com.tangosol.net.cache.ReadWriteBackingMap.ReadThread
- Enclosing class:
- ReadWriteBackingMap
A thread that removes keys from a 
ReadWriteBackingMap.ReadQueue, reads the value
 for the key from the underlying CacheStore, and caches the
 value in the internal ReadWriteBackingMap cache.- Author:
- jh 2005.02.08
- 
Nested Class SummaryNested classes/interfaces inherited from class com.tangosol.util.DaemonDaemon.DaemonWorkerNested classes/interfaces inherited from class com.tangosol.util.BaseBase.LoggingWriter
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected booleanField used to tell theReadWriteBackingMap.ReadThreadto refresh itsGuardian.GuardContext.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidrun()The daemon's implementation method.protected voidsetGuardPolicy(Guardian guardian, long cTimeoutMillis, float flPctRecover) Set the Guardian and policy to guard this Daemon with.voidTerminate this Guardable.Methods inherited from class com.tangosol.util.DaemonchangeState, configureWorker, ensureThreadGroup, finishStarting, finishStopping, getConfiguredName, getConfiguredPriority, getContext, getDescription, getGuardRegisterAction, getMaxWaitMillis, getState, getThread, getThreadContextClassLoader, getWorker, guardIfNeeded, heartbeat, heartbeat, instantiateWorker, isGuarded, isOnWorkerThread, isRunning, isStopping, recover, setConfiguredName, setConfiguredPriority, setContext, setGuardRegisterAction, setThreadContextClassLoader, shutdown, start, stop, toStateString, toStringMethods 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
- 
Field Details- 
m_fRefreshContextprotected volatile boolean m_fRefreshContextField used to tell theReadWriteBackingMap.ReadThreadto refresh itsGuardian.GuardContext.
 
- 
- 
Constructor Details- 
ReadThreadpublic ReadThread()Default constructor.
 
- 
- 
Method Details- 
runpublic void run()The daemon's implementation method.
- 
terminatepublic void terminate()Terminate this Guardable.This is the final action taken by the Guardian before the Guardable is removed from its responsibility list. 
- 
setGuardPolicySet the Guardian and policy to guard this Daemon with. The Daemon is registered with the specified Guardian each time the Daemon is started, and is released each time the Daemon is stopped.- Overrides:
- setGuardPolicyin class- Daemon
- Parameters:
- guardian- the Guardian that will be guarding this Daemon
- cTimeoutMillis- the timeout in ms for this Daemon, or 0 for the service guardian timeout
- flPctRecover- the recovery percentage for this Daemon
 
 
-