ePOST API

rice.post.delivery
Class Delivery.DeliveryHandle

java.lang.Object
  extended by rice.post.delivery.Delivery.DeliveryHandle
All Implemented Interfaces:
java.io.Serializable, GCPastContentHandle, PastContentHandle
Enclosing class:
Delivery

protected static class Delivery.DeliveryHandle
extends java.lang.Object
implements GCPastContentHandle

See Also:
Serialized Form

Field Summary
protected  long expiration
           
protected  NodeHandle handle
           
protected  Id id
           
 
Constructor Summary
Delivery.DeliveryHandle(Id id, NodeHandle handle, long expiration)
          Constructor
 
Method Summary
 long getExpiration()
          Returns the current expiration time of this object.
 Id getId()
          get the id of the PastContent object associated with this handle
 NodeHandle getNodeHandle()
          get the NodeHandle of the Past node on which the object associated with this handle is stored
 long getVersion()
          Returns the version number associated with this PastContentHandle - version numbers are designed to be monotonically increasing numbers which signify different versions of the same object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected Id id

handle

protected NodeHandle handle

expiration

protected long expiration
Constructor Detail

Delivery.DeliveryHandle

public Delivery.DeliveryHandle(Id id,
                               NodeHandle handle,
                               long expiration)
Constructor

Method Detail

getId

public Id getId()
get the id of the PastContent object associated with this handle

Specified by:
getId in interface PastContentHandle
Returns:
the id

getNodeHandle

public NodeHandle getNodeHandle()
get the NodeHandle of the Past node on which the object associated with this handle is stored

Specified by:
getNodeHandle in interface PastContentHandle
Returns:
the id

getVersion

public long getVersion()
Returns the version number associated with this PastContentHandle - version numbers are designed to be monotonically increasing numbers which signify different versions of the same object.

Specified by:
getVersion in interface GCPastContentHandle
Returns:
The version number of this object

getExpiration

public long getExpiration()
Returns the current expiration time of this object.

Specified by:
getExpiration in interface GCPastContentHandle
Returns:
The current expiration time of this object

ePOST API

Copyright © 2001-2005 - Rice Pastry.