Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.forum.database
Class ShortTermQueryCache.ValueWrapper

java.lang.Object
  extended by com.jivesoftware.forum.database.ShortTermQueryCache.ValueWrapper
All Implemented Interfaces:
com.tangosol.io.ExternalizableLite, java.io.Serializable
Enclosing class:
ShortTermQueryCache

public static class ShortTermQueryCache.ValueWrapper
extends java.lang.Object
implements com.tangosol.io.ExternalizableLite

Wraps an items going into the Short-term query cache and includes the ID of the cluster member that put the value into cache.

See Also:
Serialized Form

Constructor Summary
ShortTermQueryCache.ValueWrapper()
          Constructor for internal use only.
ShortTermQueryCache.ValueWrapper(java.lang.Object value)
           
 
Method Summary
 int getClusterMemberID()
          Returns the cluster member that the object was created on.
 java.lang.Object getValue()
          The wrapped value.
 void readExternal(java.io.DataInput in)
           
 void writeExternal(java.io.DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShortTermQueryCache.ValueWrapper

public ShortTermQueryCache.ValueWrapper(java.lang.Object value)

ShortTermQueryCache.ValueWrapper

public ShortTermQueryCache.ValueWrapper()
Constructor for internal use only.

Method Detail

getClusterMemberID

public int getClusterMemberID()
Returns the cluster member that the object was created on.

Returns:
the cluster member that the object was created on.

getValue

public java.lang.Object getValue()
The wrapped value.

Returns:
the wrapped value.

readExternal

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

writeExternal

public void writeExternal(java.io.DataOutput out)
                   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.