ePOST API

rice.p2p.aggregation
Class ObjectDescriptor

java.lang.Object
  extended by rice.p2p.aggregation.ObjectDescriptor
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class ObjectDescriptor
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable

See Also:
Serialized Form

Field Summary
 long currentLifetime
           
 Id key
           
 long refreshedLifetime
           
 int size
           
 long version
           
 
Constructor Summary
ObjectDescriptor(Id key, long version, long currentLifetime, long refreshedLifetime, int size)
           
 
Method Summary
 int compareTo(java.lang.Object other)
           
 boolean isAliveAt(long pointInTime)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

key

public Id key

version

public long version

currentLifetime

public long currentLifetime

refreshedLifetime

public long refreshedLifetime

size

public int size
Constructor Detail

ObjectDescriptor

public ObjectDescriptor(Id key,
                        long version,
                        long currentLifetime,
                        long refreshedLifetime,
                        int size)
Method Detail

toString

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

isAliveAt

public boolean isAliveAt(long pointInTime)

compareTo

public int compareTo(java.lang.Object other)
Specified by:
compareTo in interface java.lang.Comparable

ePOST API

Copyright © 2001-2005 - Rice Pastry.