Package ostore.network.patchwork

Interface Summary
PatchMsg An interface for messages that can be understood by Patches.
 

Class Summary
AlarmMsg An AlarmMsg is set by Patches to remind them when to wake up and send a probe or do some action.
DeltaMsg A DeltaMsg is sent out every time Patchwork recalculates its table of statistics.
FaultAdmin This is a data structure that decides whether or not a message should be dropped on its way to a stage.
InjectFaultMsg Injects faults into Patchwork, either of a specific link or an overall node failure.
LatencyPatch A Patch that measures round-trip latency (in microseconds).
LossPatch A Patch that measures loss rate in percent, from 0 to 100, where 100 percent means all packets are lost.
MonitorAllMsg A MonitorAllMsg is sent from a stage interested in monitoring statistics for all nodes currently being monitored by Patchwork.
MonitorMsg A MonitorMsg is sent from a stage interested in monitoring statistics to certain NodeIds.
MonitorStopMsg A MonitorStopMsg is sent by a stage when it knows it will no longer (at least for a while) want statistics from Patchwork about a given set of nodes.
NodeStatusMsg Sent by Patchwork to other stages who care if nodes fail or come back.
Patch Abstract class from which all measurements modules (Patches) extend.
Patchwork Stage that measures other nodes on a regular basis, for a variety of specifiable conditions.
PatchworkStats The PatchworkStats data structure contains info describing thevalues of some statistic, both overall and current (over the last measurement window).
PatchworkStats.StatDelta  
PatchworkTable The PatchworkTable is built by the Patchwork code, and is used for collecting statistics about other nodes.
PatchworkTable.Delta A PatchworkTable.Delta object contains a diff of the sufficient statistics for a PatchworkTable.
PatchworkTable.Observation A Patchwork.Observation object contains an observation recorded by the patchwork stage.
Period Representing a periodic function, used for corresponding probing levels and nodes to probing periods.
ProbeMsg This is a probing message sent out by Patchwork in order to measure statistics of other nodes.
ProbeTimeout Sent by Patchwork whenever it sends off a probe.
QuickStatReq A QuickStatReq event can be sent by any stage to the Patchwork stage.
QuickStatResp Sent by Patchwork in response to a QuickStatReq.
QuickStatTimeout Internal timeout used to inform Patchwork when a QuickStat session is over.
RecalcPatch A Patch that recalculate the PatchworkTable and sends out deltas.

Also, it currently is hardcoded to send out messages when it notices that a node is down (loss rate > 95%).