|
Oracle Fusion Middleware Java API Reference for Oracle TopLink 11g Release 1 (11.1.1) E28847-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.tangosol.util.Base
com.tangosol.util.processor.AbstractProcessor
oracle.eclipselink.coherence.integrated.internal.cache.VersionPutProcessor
public class VersionPutProcessor
This is an implementation of an OptimisticLock based entry updater. This allows us to report a failed put.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.tangosol.util.Base |
---|
com.tangosol.util.Base.LoggingWriter, com.tangosol.util.Base.StackFrame |
Field Summary | |
---|---|
protected java.lang.Object |
objectToPut |
protected boolean |
returnFailure |
protected com.tangosol.util.extractor.AbstractExtractor |
valueExtractor |
protected java.lang.Object |
versionValue |
Fields inherited from class com.tangosol.util.Base |
---|
LOG_ALWAYS, LOG_DEBUG, LOG_ERR, LOG_INFO, LOG_MAX, LOG_MIN, LOG_QUIET, LOG_WARN, POWER_0, POWER_G, POWER_K, POWER_M, POWER_T, UNIT_D, UNIT_H, UNIT_M, UNIT_MS, UNIT_NS, UNIT_S, UNIT_US |
Constructor Summary | |
---|---|
VersionPutProcessor() |
|
VersionPutProcessor(java.lang.Object versionValue, com.tangosol.util.extractor.AbstractExtractor valueExtractor, java.lang.Object objectToPut, boolean returnFailure) |
Method Summary | |
---|---|
java.lang.Object |
process(com.tangosol.util.InvocableMap.Entry entry) |
void |
readExternal(java.io.DataInput in) |
void |
readExternal(com.tangosol.io.pof.PofReader in) |
void |
writeExternal(java.io.DataOutput out) |
void |
writeExternal(com.tangosol.io.pof.PofWriter out) |
Methods inherited from class com.tangosol.util.processor.AbstractProcessor |
---|
processAll |
Methods inherited from class com.tangosol.util.Base |
---|
azzert, azzert, azzert, azzertFailed, breakLines, breakLines, decimalValue, dup, dup, ensureClassLoader, ensureRuntimeException, ensureRuntimeException, equals, equalsDeep, err, err, err, err, err, escape, formatDateTime, getCallerStackFrame, getCommonMonitor, getCommonMonitor, getContextClassLoader, getContextClassLoader, getErr, getLastSafeTimeMillis, getLog, getMaxDecDigits, getMaxHexDigits, getOriginalException, getOut, getRandom, getRandomBinary, getRandomString, getSafeTimeMillis, getStackFrame, getStackFrames, getStackTrace, getStackTrace, getUpTimeMillis, hashCode, hexValue, indentString, indentString, isDecimal, isHex, isLogEcho, isOctal, log, log, log, log, log, makeInteger, makeLong, makeThread, octalValue, out, out, out, out, out, pad, parseBandwidth, parseBandwidth, parseDelimitedString, parseHex, parseHex, parseMemorySize, parseMemorySize, parseTime, parseTime, parseTimeNanos, parseTimeNanos, printStackTrace, randomize, randomize, randomize, read, read, read, read, read, read, read, redirectAll, replace, setErr, setLog, setLogEcho, setOut, toBandwidthString, toBandwidthString, toCharEscape, toCrc, toCrc, toCrc, toDecString, toDelimitedString, toDelimitedString, toDelimitedString, toDelimitedString, toHex, toHex, toHexDump, toHexEscape, toHexEscape, toHexEscape, toHexString, toMemorySizeString, toMemorySizeString, toQuotedCharEscape, toQuotedStringEscape, toSqlString, toString, toString, toStringEscape, toUnicodeEscape, trace, trace, trace, trace, trace, trace, trace, trace, trace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.Object versionValue
protected java.lang.Object objectToPut
protected boolean returnFailure
protected com.tangosol.util.extractor.AbstractExtractor valueExtractor
Constructor Detail |
---|
public VersionPutProcessor()
public VersionPutProcessor(java.lang.Object versionValue, com.tangosol.util.extractor.AbstractExtractor valueExtractor, java.lang.Object objectToPut, boolean returnFailure)
Method Detail |
---|
public java.lang.Object process(com.tangosol.util.InvocableMap.Entry entry)
process
in interface com.tangosol.util.InvocableMap.EntryProcessor
public void readExternal(java.io.DataInput in) throws java.io.IOException
readExternal
in interface com.tangosol.io.ExternalizableLite
java.io.IOException
public void writeExternal(java.io.DataOutput out) throws java.io.IOException
writeExternal
in interface com.tangosol.io.ExternalizableLite
java.io.IOException
public void readExternal(com.tangosol.io.pof.PofReader in) throws java.io.IOException
readExternal
in interface com.tangosol.io.pof.PortableObject
java.io.IOException
public void writeExternal(com.tangosol.io.pof.PofWriter out) throws java.io.IOException
writeExternal
in interface com.tangosol.io.pof.PortableObject
java.io.IOException
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |