|
Rice Pastry API | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use Id.Distance | |
| rice.p2p.commonapi | |
| rice.pastry | |
| rice.pastry.commonapi | |
| Uses of Id.Distance in rice.p2p.commonapi |
| Methods in rice.p2p.commonapi that return Id.Distance | |
Id.Distance |
Id.distanceFromId(rice.p2p.commonapi.Id nid)
Returns the shorter numerical distance on the ring between a pair of Ids. |
Id.Distance |
Id.longDistanceFromId(rice.p2p.commonapi.Id nid)
Returns the longer numerical distance on the ring between a pair of Ids. |
Id.Distance |
Id.Distance.shiftDistance(int cnt,
int fill)
Shift operator. |
Id.Distance |
IdFactory.buildIdDistance(byte[] material)
Builds a protocol-specific Id.Distance given the source data. |
| Methods in rice.p2p.commonapi with parameters of type Id.Distance | |
rice.p2p.commonapi.Id |
Id.addToId(Id.Distance offset)
Returns an Id corresponding to this Id plus a given distance |
| Uses of Id.Distance in rice.pastry |
| Classes in rice.pastry that implement Id.Distance | |
static class |
Id.Distance
A class for representing and manipulating the distance between two Ids on the circle. |
| Methods in rice.pastry that return Id.Distance | |
Id.Distance |
Id.distanceFromId(rice.p2p.commonapi.Id nid)
Returns the shorter numerical distance on the ring between a pair of Ids. |
Id.Distance |
Id.longDistanceFromId(rice.p2p.commonapi.Id nid)
Returns the longer numerical distance on the ring between a pair of Ids. |
Id.Distance |
Id.Distance.shiftDistance(int cnt,
int fill)
Shift operator. |
| Methods in rice.pastry with parameters of type Id.Distance | |
rice.p2p.commonapi.Id |
Id.addToId(Id.Distance offset)
Returns an Id corresponding to this Id plus a given distance |
| Uses of Id.Distance in rice.pastry.commonapi |
| Methods in rice.pastry.commonapi that return Id.Distance | |
Id.Distance |
PastryIdFactory.buildIdDistance(byte[] material)
Builds a protocol-specific Id.Distance given the source data. |
|
Rice Pastry API | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||