com.caucho.server.distcache
Class MnodeUpdate

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

public class MnodeUpdate
extends MnodeValue

An entry in the cache map

See Also:
Serialized Form

Constructor Summary
MnodeUpdate(byte[] keyHash, byte[] valueHash, long valueLength, long version)
           
MnodeUpdate(byte[] keyHash, byte[] valueHash, long valueLength, long version, byte[] cacheHash, long flags, long accessedExpireTime, long modifiedExpireTime)
           
MnodeUpdate(byte[] keyHash, byte[] valueHash, long valueLength, long version, CacheConfig config)
           
MnodeUpdate(byte[] keyHash, byte[] valueHash, long valueLength, long version, MnodeValue oldValue)
           
MnodeUpdate(byte[] keyHash, MnodeValue mnodeValue)
           
MnodeUpdate(HashKey keyHash, HashKey valueHash, long valueLength, long version, CacheConfig config)
           
MnodeUpdate(MnodeUpdate mnodeUpdate)
           
 
Method Summary
 byte[] getKeyHash()
           
 java.lang.String toString()
           
 
Methods inherited from class com.caucho.server.distcache.MnodeValue
getAccessedExpireTimeout, getCacheHash, getFlags, getModifiedExpireTimeout, getUserFlags, getValueHash, getValueLength, getVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MnodeUpdate

public MnodeUpdate(byte[] keyHash,
                   byte[] valueHash,
                   long valueLength,
                   long version,
                   byte[] cacheHash,
                   long flags,
                   long accessedExpireTime,
                   long modifiedExpireTime)

MnodeUpdate

public MnodeUpdate(byte[] keyHash,
                   byte[] valueHash,
                   long valueLength,
                   long version)

MnodeUpdate

public MnodeUpdate(MnodeUpdate mnodeUpdate)

MnodeUpdate

public MnodeUpdate(byte[] keyHash,
                   MnodeValue mnodeValue)

MnodeUpdate

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

MnodeUpdate

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

MnodeUpdate

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

getKeyHash

public final byte[] getKeyHash()

toString

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