Package com.tangosol.util
Class ObservableHashMap.Entry<K,V>
- java.lang.Object
-
- com.tangosol.util.Base
-
- com.tangosol.util.SafeHashMap.Entry<K,V>
-
- com.tangosol.util.ObservableHashMap.Entry<K,V>
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map.Entry<K,V>
- Enclosing class:
- ObservableHashMap<K,V>
protected class ObservableHashMap.Entry<K,V> extends SafeHashMap.Entry<K,V>
A holder for a cached value.- Author:
- cp 2000.12.12 (StmtCacheValue), cp 2001.04.19
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.tangosol.util.Base
Base.LoggingWriter
-
-
Field Summary
-
Fields inherited from class com.tangosol.util.SafeHashMap.Entry
m_eNext, m_nHash, m_oKey, m_oValue
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Entry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
onAdd()
This method is invoked when the containing Map has actually added this Entry to itself.protected void
onRemove()
Called to inform the Entry that it has been removed.V
setValue(V oValue)
Update the cached value.-
Methods inherited from class com.tangosol.util.SafeHashMap.Entry
clone, copyFrom, equals, getKey, getValue, hashCode, toString
-
Methods 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, 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
-
-
-
-
Method Detail
-
onAdd
protected void onAdd()
This method is invoked when the containing Map has actually added this Entry to itself.- Overrides:
onAdd
in classSafeHashMap.Entry<K,V>
-
onRemove
protected void onRemove()
Called to inform the Entry that it has been removed.
-
-