ostore.tapestry.patchwork
Class PatchworkChangePeriodMsg

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

public class PatchworkChangePeriodMsg
extends Object
implements QueueElementIF

This represents a command to the PatchworkStage indicating that it needs to change the period of one of its messages to a new value (in milliseconds).


Field Summary
static int BANDWIDTH
           
static int LATENCY
           
static int LOSS
           
 double newFactor
           
 int newOp
           
 int newPeriod
           
 NodeId node
           
static int OP_ADD
           
static int OP_DIV
           
static int OP_EXP
           
static int OP_MULT
           
static int OP_SUB
           
static int RECALC_MODEL
           
static int RESPOND
           
 int type
           
 
Constructor Summary
PatchworkChangePeriodMsg(int type, int newPeriod)
           
PatchworkChangePeriodMsg(int type, int newPeriod, int newOp, double newFactor)
           
PatchworkChangePeriodMsg(int type, int newPeriod, NodeId node)
           
 
Method Summary
 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

OP_ADD

public static final int OP_ADD

OP_MULT

public static final int OP_MULT

OP_SUB

public static final int OP_SUB

OP_DIV

public static final int OP_DIV

OP_EXP

public static final int OP_EXP

type

public int type

newPeriod

public int newPeriod

newOp

public int newOp

newFactor

public double newFactor

node

public NodeId node
Constructor Detail

PatchworkChangePeriodMsg

public PatchworkChangePeriodMsg(int type,
                                int newPeriod)

PatchworkChangePeriodMsg

public PatchworkChangePeriodMsg(int type,
                                int newPeriod,
                                int newOp,
                                double newFactor)

PatchworkChangePeriodMsg

public PatchworkChangePeriodMsg(int type,
                                int newPeriod,
                                NodeId node)
Method Detail

toString

public String toString()
Overrides:
toString in class Object