Rice Pastry API

Uses of Class
rice.pastry.IdRange

Packages that use IdRange
rice.p2p.past   
rice.past   
rice.pastry   
rice.pastry.client   
rice.pastry.leafset   
rice.pastry.testing   
rice.rm   
rice.rm.messaging   
rice.rm.testing   
 

Uses of IdRange in rice.p2p.past
 

Methods in rice.p2p.past with parameters of type IdRange
 void PastImpl.isResponsible(rice.pastry.IdRange range)
          This upcall is to notify the application of the range of keys for which it is responsible.
 rice.pastry.IdSet PastImpl.scan(rice.pastry.IdRange range)
          This upcall should return the set of keys that the application currently stores in this range.
 

Uses of IdRange in rice.past
 

Methods in rice.past with parameters of type IdRange
 void PASTServiceImpl.isResponsible(rice.pastry.IdRange range)
          Deprecated. This upcall is to notify the application of the range of keys for which it is responsible.
 rice.pastry.IdSet PASTServiceImpl.scan(rice.pastry.IdRange range)
          Deprecated. This upcall should return the set of keys that the application currently stores in this range.
 

Uses of IdRange in rice.pastry
 

Methods in rice.pastry that return IdRange
 rice.pastry.IdRange IdRange.merge(rice.pastry.IdRange o)
          merge two ranges if this and other don't overlap, are not adjacent, and this is not empty, then the result is this
 rice.pastry.IdRange IdRange.complement()
          get the complement of this range on the ring
 rice.pastry.IdRange IdRange.intersect(rice.pastry.IdRange o)
          intersect two ranges returns an empty range if the ranges don't intersect two ranges may intersect in two ranges on the circle; this method produces one such range of intersection if one exists the other range of intersection can be computed by invoking o.intersect(this)
 rice.pastry.IdRange IdRange.diff(rice.pastry.IdRange o)
          compute the difference between two ranges (exclusive or of keys in the two ranges) two ranges may differ in two ranges on the circle; this method produces one such range of difference if one exists the other range of difference can be computed by invoking o.diff(this)
 rice.pastry.IdRange IdRange.subtract(rice.pastry.IdRange o, boolean cwPart)
          subtract the other range from this computes the ranges of keys that are in this but not in o subtracting a range may produce two ranges on the circle; this method produces one such ranges under control of the cwPart parameter
 rice.pastry.IdRange IdRange.ccwHalf()
          get counterclockwise half of the range
 rice.pastry.IdRange IdRange.cwHalf()
          get clockwise half of the range
 

Methods in rice.pastry with parameters of type IdRange
 boolean IdRange.isAdjacent(rice.pastry.IdRange o)
          test if this range is adjacent to another range
 rice.pastry.IdRange IdRange.merge(rice.pastry.IdRange o)
          merge two ranges if this and other don't overlap, are not adjacent, and this is not empty, then the result is this
 rice.pastry.IdRange IdRange.intersect(rice.pastry.IdRange o)
          intersect two ranges returns an empty range if the ranges don't intersect two ranges may intersect in two ranges on the circle; this method produces one such range of intersection if one exists the other range of intersection can be computed by invoking o.intersect(this)
 rice.pastry.IdRange IdRange.diff(rice.pastry.IdRange o)
          compute the difference between two ranges (exclusive or of keys in the two ranges) two ranges may differ in two ranges on the circle; this method produces one such range of difference if one exists the other range of difference can be computed by invoking o.diff(this)
 rice.pastry.IdRange IdRange.subtract(rice.pastry.IdRange o, boolean cwPart)
          subtract the other range from this computes the ranges of keys that are in this but not in o subtracting a range may produce two ranges on the circle; this method produces one such ranges under control of the cwPart parameter
 rice.pastry.IdSet IdSet.subSet(rice.pastry.IdRange range)
          return a subset of this set, consisting of the member ids in a given range
 

Constructors in rice.pastry with parameters of type IdRange
IdRange(rice.pastry.IdRange o)
          Copy constructor.
 

Uses of IdRange in rice.pastry.client
 

Methods in rice.pastry.client that return IdRange
 rice.pastry.IdRange CommonAPIAppl.range(rice.pastry.NodeHandle n, int r, rice.pastry.Id key, boolean cumulative)
          This method provides information about ranges of keys for which the node n is currently a r-root.
 rice.pastry.IdRange CommonAPIAppl.range(rice.pastry.NodeHandle n, int r, rice.pastry.Id key)
          This method provides information about ranges of keys for which the node n is currently a r-root.
 

Uses of IdRange in rice.pastry.leafset
 

Methods in rice.pastry.leafset that return IdRange
 rice.pastry.IdRange LeafSet.range(rice.pastry.NodeHandle n, int r)
          range computes the range of keys for which node n is a i-root, 0<=i<=r a node is the r-root for a key of the node becomes the numerically closest node to the key when i-roots for the key fail, O<=i
 rice.pastry.IdRange LeafSet.range(rice.pastry.NodeHandle n, int r, boolean cw)
          range computes the ranges of keys for which node n is a r-root a node is the r-root for a key of the node becomes the numerically closest node to the key when i-roots for the key fail, O<=i
 

Uses of IdRange in rice.pastry.testing
 

Methods in rice.pastry.testing that return IdRange
 rice.pastry.IdRange IdRangeUnit.createRandomIdRange()
           
 rice.pastry.IdRange IdRangeUnit.createFullIdRange()
           
 rice.pastry.IdRange IdRangeUnit.createEmptyIdRange()
           
 rice.pastry.IdRange IdRangeUnit.createIdRangeStartingWith(rice.pastry.Id ccw)
           
 rice.pastry.IdRange IdRangeUnit.createIdRangeEndingIn(rice.pastry.Id cw)
           
 

Methods in rice.pastry.testing with parameters of type IdRange
 void IdRangeUnit.equalityTest(rice.pastry.IdRange r1, rice.pastry.IdRange r2)
           
 void IdRangeUnit.equalityTest(rice.pastry.IdRange r1, rice.pastry.IdRange r2)
           
 void IdRangeUnit.mergeIntersectTest(rice.pastry.IdRange r1, rice.pastry.IdRange r2)
           
 void IdRangeUnit.mergeIntersectTest(rice.pastry.IdRange r1, rice.pastry.IdRange r2)
           
 void IdRangeUnit.diffSubtractTest(rice.pastry.IdRange r1, rice.pastry.IdRange r2)
           
 void IdRangeUnit.diffSubtractTest(rice.pastry.IdRange r1, rice.pastry.IdRange r2)
           
 void IdRangeUnit.mergeTest(rice.pastry.IdRange r1, rice.pastry.IdRange r2)
           
 void IdRangeUnit.mergeTest(rice.pastry.IdRange r1, rice.pastry.IdRange r2)
           
 

Uses of IdRange in rice.rm
 

Fields in rice.rm declared as IdRange
 rice.pastry.IdRange RMImpl.myRange
          This represents the range of object identifiers in the Id space for which this node (by virtue of its position in the Id Space relative to the positions of the other Pastry nodes) is an i-root (0<=i<=k).
 

Methods in rice.rm that return IdRange
 rice.pastry.IdRange RMImpl.KEPenEntry.getReqRange()
           
 

Methods in rice.rm with parameters of type IdRange
 void RMClient.isResponsible(rice.pastry.IdRange range)
          This upcall is to notify the application of the range of keys for which it is responsible.
 rice.pastry.IdSet RMClient.scan(rice.pastry.IdRange range)
          This upcall should return the set of keys that the application currently stores in this range.
 void RMImpl.addPendingRange(rice.pastry.NodeId toNode, rice.pastry.IdRange reqRange)
          Used to insert a pending range to the m_pendingRanges hashtable
 void RMImpl.updatePendingRange(rice.pastry.NodeId toNode, rice.pastry.IdRange reqRange, int numKeys)
          Used to update the state of a pending range to the m_pendingRanges hashtable.
 void RMImpl.removePendingRange(rice.pastry.NodeId toNode, rice.pastry.IdRange reqRange)
          Used to remove a pending range to the m_pendingRanges hashtable
 

Constructors in rice.rm with parameters of type IdRange
RMImpl.KEPenEntry(rice.pastry.IdRange _reqRange)
           
RMImpl.KEPenEntry(rice.pastry.IdRange _reqRange, int _numKeys)
           
 

Uses of IdRange in rice.rm.messaging
 

Methods in rice.rm.messaging that return IdRange
 rice.pastry.IdRange RMMessage.KEEntry.getReqRange()
           
 rice.pastry.IdRange RMMessage.KEEntry.getRange()
           
 

Constructors in rice.rm.messaging with parameters of type IdRange
RMMessage.KEEntry(rice.pastry.IdRange _range, boolean _hEnabled)
           
RMMessage.KEEntry(rice.pastry.IdRange _reqRange, rice.pastry.IdRange _range, int _numKeys, boolean _hashEnabled, rice.pastry.Id _hash, rice.pastry.IdSet _keySet)
           
RMMessage.KEEntry(rice.pastry.IdRange _reqRange, rice.pastry.IdRange _range, int _numKeys, boolean _hashEnabled, rice.pastry.Id _hash, rice.pastry.IdSet _keySet)
           
 

Uses of IdRange in rice.rm.testing
 

Methods in rice.rm.testing with parameters of type IdRange
 rice.pastry.IdSet RMRegrTestApp.scan(rice.pastry.IdRange range)
           
 void RMRegrTestApp.isResponsible(rice.pastry.IdRange range)
           
 


Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection