com.caucho.distcache.cluster
Class CachePutMap

java.lang.Object
  extended by com.caucho.distcache.cluster.CachePutMap
All Implemented Interfaces:
java.io.Serializable

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

Updates the data for a cache entry w/o the content

See Also:
Serialized Form

Constructor Summary
CachePutMap(byte[] key, byte[] value, int flags, long version, long expireTimeout, long idleTimeout, long leaseTimeout, long localReadTimeout, int server, long accessTime)
          Create a new CachePut message
 
Method Summary
 long getExpireTimeout()
          Returns the expire timeout
 int getFlags()
          Returns the flags
 long getIdleTimeout()
          Returns the idle timeout
 byte[] getKey()
          Returns the key hash
 long getLeaseTimeout()
          Returns the lease timeout
 long getLocalReadTimeout()
          Returns the local read timeout
 int getServer()
          Returns the server sending the request.
 byte[] getValue()
          Returns the value hash
 long getVersion()
          Returns the version
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CachePutMap

public CachePutMap(byte[] key,
                   byte[] value,
                   int flags,
                   long version,
                   long expireTimeout,
                   long idleTimeout,
                   long leaseTimeout,
                   long localReadTimeout,
                   int server,
                   long accessTime)
Create a new CachePut message

Method Detail

getKey

public byte[] getKey()
Returns the key hash


getValue

public byte[] getValue()
Returns the value hash


getFlags

public int getFlags()
Returns the flags


getVersion

public long getVersion()
Returns the version


getExpireTimeout

public long getExpireTimeout()
Returns the expire timeout


getIdleTimeout

public long getIdleTimeout()
Returns the idle timeout


getLocalReadTimeout

public long getLocalReadTimeout()
Returns the local read timeout


getLeaseTimeout

public long getLeaseTimeout()
Returns the lease timeout


getServer

public int getServer()
Returns the server sending the request.


toString

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