public class StatsResponse extends MaestroResponse
| Constructor and Description |
|---|
StatsResponse() |
StatsResponse(org.msgpack.core.MessageUnpacker unpacker) |
| Modifier and Type | Method and Description |
|---|---|
MessageCorrelation |
correlate() |
void |
correlate(MaestroNote note) |
void |
correlate(MessageCorrelation correlation) |
boolean |
correlatesTo(MaestroNote note) |
boolean |
correlatesTo(MessageCorrelation correlation) |
int |
getChildCount() |
long |
getCount() |
double |
getLatency() |
MaestroCommand |
getMaestroCommand()
Gets the Maestro command for the note
|
MaestroNoteType |
getNoteType()
Gets the note type
|
double |
getRate() |
String |
getRoleInfo() |
short |
getStatsType() |
String |
getTimestamp() |
protected org.msgpack.core.MessageBufferPacker |
pack() |
byte[] |
serialize()
Serialize the note
|
void |
setChildCount(int childCount) |
void |
setCount(long count) |
void |
setLatency(double latency) |
void |
setRate(double rate) |
void |
setRoleInfo(String roleInfo) |
void |
setStatsType(short statsType) |
void |
setTimestamp(String timestamp) |
String |
toString()
Converts the note to string for debugging purposes
|
getId, getPeerInfo, setId, setPeerInfoclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waithasNext, nextpublic StatsResponse()
public StatsResponse(org.msgpack.core.MessageUnpacker unpacker)
throws IOException
IOExceptionprotected org.msgpack.core.MessageBufferPacker pack()
throws IOException
pack in class MaestroResponseIOExceptionpublic String getTimestamp()
public long getCount()
public double getRate()
public double getLatency()
public int getChildCount()
public String getRoleInfo()
public short getStatsType()
public void setChildCount(int childCount)
public void setRoleInfo(String roleInfo)
public void setStatsType(short statsType)
public void setTimestamp(String timestamp)
public void setCount(long count)
public void setRate(double rate)
public void setLatency(double latency)
public String toString()
MaestroNotetoString in interface MaestroNotetoString in class MaestroResponsepublic MaestroNoteType getNoteType()
MaestroNotegetNoteType in interface MaestroNotepublic MaestroCommand getMaestroCommand()
MaestroNotegetMaestroCommand in interface MaestroNotepublic MessageCorrelation correlate()
correlate in interface MaestroNotepublic void correlate(MessageCorrelation correlation)
correlate in interface MaestroNotepublic void correlate(MaestroNote note)
correlate in interface MaestroNotepublic boolean correlatesTo(MessageCorrelation correlation)
correlatesTo in interface MaestroNotepublic boolean correlatesTo(MaestroNote note)
correlatesTo in interface MaestroNotepublic final byte[] serialize()
throws IOException
MaestroNoteserialize in interface MaestroNoteIOException - if unable to serialize the noteThis documentation was released into the public domain.