com.caucho.distcache.cluster
Class CacheGet

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

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

Asks for cache updates

See Also:
Serialized Form

Constructor Summary
CacheGet(byte[] key, byte[] value, long version, int server)
          Create a new CacheGet message
 
Method Summary
 byte[] getKey()
          Returns the key
 int getServer()
          Returns the server making the request.
 byte[] getValue()
          Returns the value
 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

CacheGet

public CacheGet(byte[] key,
                byte[] value,
                long version,
                int server)
Create a new CacheGet message

Parameters:
key - the cache key
version - the current version held
server - the server making the request
Method Detail

getKey

public byte[] getKey()
Returns the key


getValue

public byte[] getValue()
Returns the value


getVersion

public long getVersion()
Returns the version


getServer

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


toString

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