Package com.tangosol.net.cache
Class LocalCache.KeyMask
java.lang.Object
com.tangosol.util.Base
com.tangosol.net.cache.LocalCache.KeyMask
- Enclosing class:
LocalCache
A class that masks certain changes so that they are not reported back
to the CacheStore.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.tangosol.util.Base
Base.LoggingWriter
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Ensure that the expired operation flag is set.boolean
Ensure that the synthetic operation flag is set.boolean
Check whether or not the currently performed operation has been initiated because the entry expired.boolean
Check if a key should be ignored.boolean
Check whether or not the currently performed operation is internally initiated.void
setExpired
(boolean fExpired) Specify whether or not the currently performed operation concerns an expired entryvoid
setSynthetic
(boolean fSynthetic) Specify whether or not the currently performed operation is internally initiated.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
-
Constructor Details
-
KeyMask
protected KeyMask()
-
-
Method Details
-
isIgnored
Check if a key should be ignored.- Parameters:
oKey
- the key that a change event has occurred for- Returns:
- true if change events for the key should be ignored
-
isSynthetic
public boolean isSynthetic()Check whether or not the currently performed operation is internally initiated.- Returns:
- true iff the current operation is internal
-
setSynthetic
public void setSynthetic(boolean fSynthetic) Specify whether or not the currently performed operation is internally initiated.- Parameters:
fSynthetic
- true iff the the current operation is internal
-
isExpired
public boolean isExpired()Check whether or not the currently performed operation has been initiated because the entry expired.- Returns:
- true iff the entry has expired
- Since:
- 22.06
-
setExpired
public void setExpired(boolean fExpired) Specify whether or not the currently performed operation concerns an expired entry- Parameters:
fExpired
- true iff the current operation is an expiration one- Since:
- 22.06
-
ensureSynthetic
public boolean ensureSynthetic()Ensure that the synthetic operation flag is set.- Returns:
- the previous value of the flag
-
ensureExpired
public boolean ensureExpired()Ensure that the expired operation flag is set.- Returns:
- the previous value of the flag
- Since:
- 22.06
-