com.caucho.distcache.cluster
Class TriadCachePut

java.lang.Object
  extended by com.caucho.server.distcache.MnodeValue
      extended by com.caucho.server.distcache.MnodeUpdate
          extended by com.caucho.distcache.cluster.CachePut
              extended by com.caucho.distcache.cluster.TriadCachePut
All Implemented Interfaces:
java.io.Serializable

public class TriadCachePut
extends CachePut

Updates data for a cache

See Also:
Serialized Form

Constructor Summary
TriadCachePut(byte[] keyHash, MnodeUpdate mnodeUpdate, long leaseTimeout, int leaseOwner, StreamSource data, boolean isResend, int server)
          Create a new CachePut message
TriadCachePut(TriadCachePut oldPut, boolean isResend)
          Create a new CachePut message
 
Method Summary
 int getServer()
          Returns the server issuing the put.
 
Methods inherited from class com.caucho.distcache.cluster.CachePut
getInputStream, getLeaseOwner, getLeaseTimeout, getStreamSource, isResend, toString
 
Methods inherited from class com.caucho.server.distcache.MnodeUpdate
getKeyHash
 
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

TriadCachePut

public TriadCachePut(byte[] keyHash,
                     MnodeUpdate mnodeUpdate,
                     long leaseTimeout,
                     int leaseOwner,
                     StreamSource data,
                     boolean isResend,
                     int server)
Create a new CachePut message


TriadCachePut

public TriadCachePut(TriadCachePut oldPut,
                     boolean isResend)
Create a new CachePut message

Method Detail

getServer

public int getServer()
Returns the server issuing the put.