|
Jive Forums API (5.5.8) Developer Javadocs | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.tangosol.util.Base
com.tangosol.util.extractor.AbstractExtractor
com.tangosol.util.extractor.KeyExtractor
com.jivesoftware.forum.database.querycache.IDKeyValueExtractor
public class IDKeyValueExtractor
ValueExtractor which calls QueryCacheKey.getIDKey(). Used for indexing QueryCacheKeys by idKey
within coherence.
| 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.extractor.KeyExtractor |
|---|
m_extractor |
| 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 | |
|---|---|
IDKeyValueExtractor()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
All instances of this class are equal |
java.lang.Object |
extract(java.lang.Object object)
Returns the value of QueryCacheKey.getIDKey(). |
static IDKeyValueExtractor |
getInstance()
Not a singleton accessor sinces instances are serialized and passed around through coherence, but some degree of object creation can be avoided by using this within our code. |
int |
hashCode()
|
void |
readExternal(java.io.DataInput dataInput)
|
void |
writeExternal(java.io.DataOutput dataOutput)
|
| Methods inherited from class com.tangosol.util.extractor.KeyExtractor |
|---|
getExtractor, readExternal, toString, writeExternal |
| Methods inherited from class com.tangosol.util.extractor.AbstractExtractor |
|---|
compare, compareEntries |
| 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, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IDKeyValueExtractor()
| Method Detail |
|---|
public static IDKeyValueExtractor getInstance()
public java.lang.Object extract(java.lang.Object object)
extract in interface com.tangosol.util.ValueExtractorextract in class com.tangosol.util.extractor.KeyExtractorobject - the {@link QueryCacheKey) to test.
public void readExternal(java.io.DataInput dataInput)
throws java.io.IOException
readExternal in interface com.tangosol.io.ExternalizableLitereadExternal in class com.tangosol.util.extractor.KeyExtractorjava.io.IOException
public void writeExternal(java.io.DataOutput dataOutput)
throws java.io.IOException
writeExternal in interface com.tangosol.io.ExternalizableLitewriteExternal in class com.tangosol.util.extractor.KeyExtractorjava.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in interface com.tangosol.util.ValueExtractorequals in interface java.util.Comparatorequals in class com.tangosol.util.extractor.KeyExtractorpublic int hashCode()
hashCode in interface com.tangosol.util.ValueExtractorhashCode in class com.tangosol.util.extractor.KeyExtractor
|
Jive Forums Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||