ostore.network.patchwork
Class MonitorMsg
java.lang.Object
|
+--ostore.network.patchwork.MonitorMsg
- All Implemented Interfaces:
- QueueElementIF
- public class MonitorMsg
- extends Object
- implements QueueElementIF
A MonitorMsg
is sent from a stage interested in monitoring
statistics to certain NodeId
s. This message tells the
Patchwork stage to begin monitoring this node at a certain level of
probing, until further notice. It can also serve to change the level
of probing of a node that's already being monitored. Since the specific
constructors for details. See Patchwork
for a description
of what "probing level" means.
- Version:
- $Id: MonitorMsg.java,v 1.5 2003/05/08 01:55:05 strib Exp $
- Author:
- Jeremy Stribling
- See Also:
Patchwork
Constructor Summary |
MonitorMsg(NodeId[] peers,
int[] levels,
long[] values,
byte type,
Object userData,
SinkIF sink)
Tell Patchwork to start monitoring some nodes, given values for
a statistic as a starting point. |
MonitorMsg(NodeId[] peers,
int[] levels,
Object userData,
SinkIF sink)
Tell Patchwork to start monitoring some nodes at given levels. |
MonitorMsg(NodeId[] peers,
long[] values,
byte type,
Object userData,
SinkIF sink)
Tell Patchwork to start monitoring some nodes, given values for
a statistic as a starting point. |
MonitorMsg(NodeId peer,
int level,
long value,
byte type,
Object userData,
SinkIF sink)
Tell Patchwork to start monitoring a node, given a value for
a statistic as a starting point. |
MonitorMsg(NodeId peer,
int level,
Object userData,
SinkIF sink)
Tell Patchwork to start monitoring a node at a given level. |
MonitorMsg(NodeId peer,
long value,
byte type,
Object userData,
SinkIF sink)
Tell Patchwork to start monitoring a node, given a value for
a statistic as a starting point. |
peers
public NodeId[] peers
levels
public int[] levels
values
public long[] values
type
public byte type
userData
public Object userData
sink
public SinkIF sink
MonitorMsg
public MonitorMsg(NodeId peer,
int level,
Object userData,
SinkIF sink)
- Tell Patchwork to start monitoring a node at a given level.
- Parameters:
peer
- The node to monitorlevel
- The specified probing level
MonitorMsg
public MonitorMsg(NodeId peer,
long value,
byte type,
Object userData,
SinkIF sink)
- Tell Patchwork to start monitoring a node, given a value for
a statistic as a starting point. From this value, Patchwork
will determine what the probing level of the node should be.
- Parameters:
peer
- The node to monitorvalue
- The given initial value for some statistic
(also determines the probing level)type
- The type of the above value (see Patch
)- See Also:
Patch
MonitorMsg
public MonitorMsg(NodeId peer,
int level,
long value,
byte type,
Object userData,
SinkIF sink)
- Tell Patchwork to start monitoring a node, given a value for
a statistic as a starting point. Also given is the desired probing
level of that node.
- Parameters:
peer
- The node to monitorlevel
- The specified probing levelvalue
- The given initial value for some statistictype
- The type of the above value (see Patch
)- See Also:
Patch
MonitorMsg
public MonitorMsg(NodeId[] peers,
int[] levels,
Object userData,
SinkIF sink)
- Tell Patchwork to start monitoring some nodes at given levels.
- Parameters:
peers
- The nodes to monitorlevels
- The specified probing levels, corresponding to each node
MonitorMsg
public MonitorMsg(NodeId[] peers,
long[] values,
byte type,
Object userData,
SinkIF sink)
- Tell Patchwork to start monitoring some nodes, given values for
a statistic as a starting point. From these values, Patchwork
will determine what the probing levels of the nodes should be.
- Parameters:
peers
- The nodes to monitorvalues
- The given initial values for some statistic
(also determines the probing levels)type
- The type of the above values (see Patch
)- See Also:
Patch
MonitorMsg
public MonitorMsg(NodeId[] peers,
int[] levels,
long[] values,
byte type,
Object userData,
SinkIF sink)
- Tell Patchwork to start monitoring some nodes, given values for
a statistic as a starting point. Also given is the desired probing
levels of those nodes.
- Parameters:
peers
- The nodes to monitorlevels
- The specified probing levels, corresponding to each nodevalues
- The given initial values for some statistictype
- The type of the above values (see Patch
)- See Also:
Patch
clone
public Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class Object
toString
public String toString()
- Overrides:
toString
in class Object