|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectbamboo.vivaldi.VivaldiAddSample
public class VivaldiAddSample
Adds a latency sample to the Vivaldi's virtual coordinate calculation. A sample is composed of two elements -- the virtual coordinate at the remote node, and the latency measurement between the local and remote nodes.
Other stages can dispatch this message to add measurements to the local node's virtual coordinate stored in the Vivaldi stage.
| Field Summary | |
|---|---|
double |
latency_ms
The one way latency betwen the local node and the remote node (milliseconds). |
VirtualCoordinate |
remote_coordinate
The virtual coordinate of the remote node. |
| Constructor Summary | |
|---|---|
VivaldiAddSample(VirtualCoordinate coordinate,
double latency_ms)
Constructs a message containing a single latency/coordinate sample. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public VirtualCoordinate remote_coordinate
public double latency_ms
| Constructor Detail |
|---|
public VivaldiAddSample(VirtualCoordinate coordinate,
double latency_ms)
coordinate - The current virtual coordinate at the remote node.latency - The one way latency between the local and remote node in milliseconds.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||