Rice Pastry API

rice.p2p.past.gc
Interface GCPastContentHandle

All Superinterfaces:
PastContentHandle, java.io.Serializable
All Known Subinterfaces:
RawGCPastContentHandle
All Known Implementing Classes:
AggregateHandle, DebugContentHandle, GlacierContentHandle, JavaSerializedGCPastContentHandle

public interface GCPastContentHandle
extends PastContentHandle

Version:
$Id: GCPastContentHandle.java 2302 2005-03-11 00:58:26Z jeffh $
Author:
Alan Mislove, Andreas Haeberlen

Method Summary
 long getExpiration()
          Returns the current expiration time of this object.
 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 interface rice.p2p.past.PastContentHandle
getId, getNodeHandle
 

Method Detail

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.

Returns:
The version number of this object

getExpiration

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

Returns:
The current expiration time of this object

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection