com.caucho.server.distcache
Class MnodeValue

java.lang.Object
  extended by com.caucho.server.distcache.MnodeValue
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CacheData, MnodeEntry, MnodeUpdate

public class MnodeValue
extends java.lang.Object
implements java.io.Serializable

An entry in the cache map

See Also:
Serialized Form

Constructor Summary
MnodeValue(byte[] valueHash, long valueLength, long version)
           
MnodeValue(byte[] valueHash, long valueLength, long version, byte[] cacheHash, long flags, long accessedExpireTimeout, long modifiedExpireTimeout)
           
MnodeValue(byte[] valueHash, long valueLength, long version, CacheConfig config)
           
MnodeValue(byte[] valueHash, long valueLength, long version, MnodeValue oldValue)
           
MnodeValue(HashKey valueHash, long valueLength, long version, CacheConfig config)
           
MnodeValue(MnodeValue mnodeValue)
           
 
Method Summary
 long getAccessedExpireTimeout()
           
 byte[] getCacheHash()
           
 long getFlags()
           
 long getModifiedExpireTimeout()
           
 int getUserFlags()
           
 byte[] getValueHash()
           
 long getValueLength()
           
 long getVersion()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MnodeValue

public MnodeValue(byte[] valueHash,
                  long valueLength,
                  long version,
                  byte[] cacheHash,
                  long flags,
                  long accessedExpireTimeout,
                  long modifiedExpireTimeout)

MnodeValue

public MnodeValue(byte[] valueHash,
                  long valueLength,
                  long version)

MnodeValue

public MnodeValue(MnodeValue mnodeValue)

MnodeValue

public MnodeValue(byte[] valueHash,
                  long valueLength,
                  long version,
                  MnodeValue oldValue)

MnodeValue

public MnodeValue(byte[] valueHash,
                  long valueLength,
                  long version,
                  CacheConfig config)

MnodeValue

public MnodeValue(HashKey valueHash,
                  long valueLength,
                  long version,
                  CacheConfig config)
Method Detail

getValueHash

public final byte[] getValueHash()

getValueLength

public final long getValueLength()

getVersion

public final long getVersion()

getCacheHash

public final byte[] getCacheHash()

getFlags

public final long getFlags()

getUserFlags

public final int getUserFlags()

getModifiedExpireTimeout

public final long getModifiedExpireTimeout()

getAccessedExpireTimeout

public final long getAccessedExpireTimeout()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object