Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.database.querycache
Class RemovalProcessor

java.lang.Object
  extended by com.tangosol.util.Base
      extended by com.tangosol.util.processor.AbstractProcessor
          extended by com.jivesoftware.forum.database.querycache.RemovalProcessor
All Implemented Interfaces:
com.tangosol.io.ExternalizableLite, com.tangosol.util.InvocableMap.EntryProcessor, java.io.Serializable

public class RemovalProcessor
extends com.tangosol.util.processor.AbstractProcessor
implements com.tangosol.io.ExternalizableLite

Entry processor which handles bulk removal of query cache entries using coherence InvocableMap features.

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class com.tangosol.util.Base
com.tangosol.util.Base.StackFrame
 
Field Summary
 
Fields inherited from class com.tangosol.util.Base
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
RemovalProcessor()
           
 
Method Summary
 java.lang.Object process(com.tangosol.util.InvocableMap.Entry entry)
          Removes the supplied entry from the cache.
 void readExternal(java.io.DataInput dataInput)
           
 void writeExternal(java.io.DataOutput dataOutput)
           
 
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, ensureRuntimeException, ensureRuntimeException, equals, equalsDeep, err, err, err, err, err, escape, formatDateTime, getCallerStackFrame, getCommonMonitor, getCommonMonitor, getContextClassLoader, getContextClassLoader, getErr, getLog, getMaxDecDigits, getMaxHexDigits, getOriginalException, getOut, getRandom, getRandomBinary, getRandomString, getSafeTimeMillis, getStackFrame, getStackFrames, getStackTrace, getStackTrace, 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, 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, toStringEscape, toUnicodeEscape, trace, trace, trace, trace, trace, trace, trace, trace, trace, updateSafeTimeMillis
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemovalProcessor

public RemovalProcessor()
Method Detail

process

public java.lang.Object process(com.tangosol.util.InvocableMap.Entry entry)
Removes the supplied entry from the cache. If short term query cache is enabled, the removed entry will be added there.

Specified by:
process in interface com.tangosol.util.InvocableMap.EntryProcessor
Parameters:
entry - the entry which will be removed.
Returns:
null

readExternal

public void readExternal(java.io.DataInput dataInput)
                  throws java.io.IOException
Specified by:
readExternal in interface com.tangosol.io.ExternalizableLite
Throws:
java.io.IOException

writeExternal

public void writeExternal(java.io.DataOutput dataOutput)
                   throws java.io.IOException
Specified by:
writeExternal in interface com.tangosol.io.ExternalizableLite
Throws:
java.io.IOException

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.