|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--tapestry.patchwork.QuickStatReq
A QuickStatReq event can be sent by any stage to the Patchwork
stage. It triggers the measurement of a set of nodes, but only for a
small amount of time. After that amount of time has passed, a
QuickStatResp is sent back with the results of the
measurements.
| Field Summary | |
|---|---|
protected int |
how_many_done
|
boolean |
just_once
|
NodeId[] |
peers
|
SinkIF |
sink
|
long |
time_to_resp
When the response will be generated (in ms), default 1 sec |
byte |
type
|
Object |
userData
|
protected boolean[] |
which_done
|
| Constructor Summary | |
|---|---|
QuickStatReq(NodeId[] peers,
byte type,
long timeToResp,
Object userData,
SinkIF sink)
Construct a new QuickStatReq. |
|
QuickStatReq(NodeId[] peers,
byte type,
Object userData,
SinkIF sink)
Construct a new QuickStatReq. |
|
QuickStatReq(NodeId peer,
byte type,
long timeToResp,
Object userData,
SinkIF sink)
Construct a new QuickStatReq. |
|
QuickStatReq(NodeId peer,
byte type,
Object userData,
SinkIF sink)
Construct a new QuickStatReq. |
|
| Method Summary | |
|---|---|
Object |
clone()
|
byte |
getType()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
public byte type
public NodeId[] peers
public Object userData
public SinkIF sink
public boolean just_once
protected int how_many_done
protected boolean[] which_done
public long time_to_resp
| Constructor Detail |
public QuickStatReq(NodeId peer,
byte type,
Object userData,
SinkIF sink)
QuickStatReq.
peer - The node to measure quicklytype - What type of measurement to make (see Patch
for valid types.
public QuickStatReq(NodeId[] peers,
byte type,
Object userData,
SinkIF sink)
QuickStatReq.
peers - The nodes to measure quicklytype - What type of measurement to make (see Patch
for valid types.
public QuickStatReq(NodeId peer,
byte type,
long timeToResp,
Object userData,
SinkIF sink)
QuickStatReq.
peer - The node to measure quicklytype - What type of measurement to make (see Patch
for valid types.timeToResp - How to long to perform the measurement for (in ms)
public QuickStatReq(NodeId[] peers,
byte type,
long timeToResp,
Object userData,
SinkIF sink)
QuickStatReq.
peers - The nodes to measure quicklytype - What type of measurement to make (see Patch
for valid types.timeToResp - How to long to perform the measurement for| Method Detail |
public Object clone()
throws CloneNotSupportedException
clone in class ObjectCloneNotSupportedExceptionpublic byte getType()
getType in interface PatchMsgpublic String toString()
toString in class Object
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||