Rice Pastry API

rice.rm
Class RMImpl.KEPenEntry

java.lang.Object
  |
  +--rice.rm.RMImpl.KEPenEntry
Enclosing class:
RMImpl

public static class RMImpl.KEPenEntry
extends java.lang.Object

This is the per entry state corresponding to the m_pendingRanges hashtable that we maintain in the Keys Exchange Protocol.


Constructor Summary
RMImpl.KEPenEntry(rice.pastry.IdRange _reqRange)
           
RMImpl.KEPenEntry(rice.pastry.IdRange _reqRange, int _numKeys)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
          Equality is based only on the reqRange part, does not care about the numKeys argument.
 int getNumKeys()
           
 rice.pastry.IdRange getReqRange()
           
 java.lang.String toString()
           
 void updateNumKeys(int val)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RMImpl.KEPenEntry

public RMImpl.KEPenEntry(rice.pastry.IdRange _reqRange)

RMImpl.KEPenEntry

public RMImpl.KEPenEntry(rice.pastry.IdRange _reqRange,
                         int _numKeys)
Method Detail

getReqRange

public rice.pastry.IdRange getReqRange()

getNumKeys

public int getNumKeys()

updateNumKeys

public void updateNumKeys(int val)

equals

public boolean equals(java.lang.Object obj)
Equality is based only on the reqRange part, does not care about the numKeys argument.

Overrides:
equals in class java.lang.Object

toString

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

Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection