com.caucho.distcache.cluster
Class UpdateTime

java.lang.Object
  extended by com.caucho.distcache.cluster.UpdateTime
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
TriadUpdateTime

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

Updates times for a cache

See Also:
Serialized Form

Constructor Summary
protected UpdateTime()
          Hessian zero-arg constructor
  UpdateTime(byte[] keyHash, long version, long accessTimeout, long updateDelta)
          Create a new UpdateTime message
 
Method Summary
 long getAccessTimeout()
          Returns the idle timeout
 byte[] getKeyHash()
          Returns the key hash
 long getUpdateDelta()
          Returns the last update time
 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

UpdateTime

protected UpdateTime()
Hessian zero-arg constructor


UpdateTime

public UpdateTime(byte[] keyHash,
                  long version,
                  long accessTimeout,
                  long updateDelta)
Create a new UpdateTime message

Method Detail

getKeyHash

public byte[] getKeyHash()
Returns the key hash


getVersion

public long getVersion()
Returns the version


getAccessTimeout

public long getAccessTimeout()
Returns the idle timeout


getUpdateDelta

public long getUpdateDelta()
Returns the last update time


toString

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