ostore.tapestry.patchwork
Class PatchworkAlarmMsg

java.lang.Object
  |
  +--ostore.tapestry.patchwork.PatchworkAlarmMsg
All Implemented Interfaces:
QueueElementIF

public class PatchworkAlarmMsg
extends Object
implements QueueElementIF

This represents a command to the PatchworkStage indicating that it's time to send out a probe of a certain type to the appropriate nodes.

Version:
$Id: PatchworkAlarmMsg.java,v 1.2 2002/07/22 20:54:53 srhea Exp $
Author:
Jeremy Stribling

Field Summary
static int BANDWIDTH
           
static int LATENCY
           
 int level
           
static int LOSS
           
 NodeId node
           
 ArrayList nodes
           
static int RECALC_MODEL
           
static int RESPOND
           
 int type
           
 
Constructor Summary
PatchworkAlarmMsg(int type)
           
PatchworkAlarmMsg(int type, int level)
           
PatchworkAlarmMsg(int type, NodeId node)
           
 
Method Summary
 void addNode(NodeId node)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

LATENCY

public static final int LATENCY

BANDWIDTH

public static final int BANDWIDTH

LOSS

public static final int LOSS

RECALC_MODEL

public static final int RECALC_MODEL

RESPOND

public static final int RESPOND

type

public int type

level

public int level

node

public NodeId node

nodes

public ArrayList nodes
Constructor Detail

PatchworkAlarmMsg

public PatchworkAlarmMsg(int type)

PatchworkAlarmMsg

public PatchworkAlarmMsg(int type,
                         int level)

PatchworkAlarmMsg

public PatchworkAlarmMsg(int type,
                         NodeId node)
Method Detail

addNode

public void addNode(NodeId node)

toString

public String toString()
Overrides:
toString in class Object