rice.p2p.aggregation
Class ObjectDescriptor
java.lang.Object
rice.p2p.aggregation.ObjectDescriptor
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ObjectDescriptor>
public class ObjectDescriptor
- extends java.lang.Object
- implements java.io.Serializable, java.lang.Comparable<ObjectDescriptor>
- See Also:
- Serialized Form
Constructor Summary |
ObjectDescriptor(Id key,
long version,
long currentLifetime,
long refreshedLifetime,
int size)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
key
public Id key
version
public long version
currentLifetime
public long currentLifetime
refreshedLifetime
public long refreshedLifetime
size
public int size
ObjectDescriptor
public ObjectDescriptor(Id key,
long version,
long currentLifetime,
long refreshedLifetime,
int size)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
isAliveAt
public boolean isAliveAt(long pointInTime)
compareTo
public int compareTo(ObjectDescriptor other)
- Specified by:
compareTo
in interface java.lang.Comparable<ObjectDescriptor>
Copyright © 2001-2005 - Rice Pastry.