Rice Pastry API

rice.p2p.aggregation
Class ObjectDescriptor

java.lang.Object
  extended by 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

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(ObjectDescriptor 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(ObjectDescriptor other)
Specified by:
compareTo in interface java.lang.Comparable<ObjectDescriptor>

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection