bamboo.dht
Class Dht.PutReqPayload

java.lang.Object
  extended by bamboo.dht.Dht.PutReqPayload
All Implemented Interfaces:
ostore.util.QuickSerializable
Enclosing class:
Dht

public static class Dht.PutReqPayload
extends Object
implements ostore.util.QuickSerializable


Field Summary
 InetAddress client_id
           
 BigInteger key
           
static int MAX_SIZE
           
 boolean put
           
 boolean retried
           
 ostore.util.NodeId return_addr
           
 long seq
           
 long time_usec
           
 int ttl_sec
           
 ByteBuffer value
           
 
Constructor Summary
Dht.PutReqPayload(ostore.util.InputBuffer buffer)
           
Dht.PutReqPayload(long t, BigInteger k, ByteBuffer v, boolean p, ostore.util.NodeId r, long s, int tt, InetAddress c)
           
 
Method Summary
 void serialize(ostore.util.OutputBuffer buffer)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

MAX_SIZE

public static final int MAX_SIZE
See Also:
Constant Field Values

time_usec

public long time_usec

key

public BigInteger key

value

public ByteBuffer value

put

public boolean put

return_addr

public ostore.util.NodeId return_addr

seq

public long seq

ttl_sec

public int ttl_sec

client_id

public InetAddress client_id

retried

public boolean retried
Constructor Detail

Dht.PutReqPayload

public Dht.PutReqPayload(long t,
                         BigInteger k,
                         ByteBuffer v,
                         boolean p,
                         ostore.util.NodeId r,
                         long s,
                         int tt,
                         InetAddress c)

Dht.PutReqPayload

public Dht.PutReqPayload(ostore.util.InputBuffer buffer)
                  throws ostore.util.QSException
Throws:
ostore.util.QSException
Method Detail

serialize

public void serialize(ostore.util.OutputBuffer buffer)
Specified by:
serialize in interface ostore.util.QuickSerializable

toString

public String toString()
Overrides:
toString in class Object