rice.p2p.aggregation
Class ObjectDescriptor
java.lang.Object
rice.p2p.aggregation.ObjectDescriptor
- All Implemented Interfaces:
- Serializable, Comparable<ObjectDescriptor>
public class ObjectDescriptor
- extends Object
- implements Serializable, Comparable<ObjectDescriptor>
- See Also:
- Serialized Form
|
Constructor Summary |
ObjectDescriptor(Id key,
long version,
long currentLifetime,
long refreshedLifetime,
int size)
|
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 String toString()
- Overrides:
toString in class Object
isAliveAt
public boolean isAliveAt(long pointInTime)
compareTo
public int compareTo(ObjectDescriptor other)
- Specified by:
compareTo in interface Comparable<ObjectDescriptor>
Copyright © 2010. All Rights Reserved.