public class TopicStats extends Object implements Serializable
| Constructor and Description |
|---|
TopicStats(int dgramSiz) |
TopicStats(long bytesReceived,
long sendBytes,
int packetsSent,
int packetsReceived,
int msgSent,
int msgReceived,
int retransRQSent,
int retransRSPSent,
long recordStart,
int rqRec,
int dgramSiz) |
public TopicStats(int dgramSiz)
public TopicStats(long bytesReceived,
long sendBytes,
int packetsSent,
int packetsReceived,
int msgSent,
int msgReceived,
int retransRQSent,
int retransRSPSent,
long recordStart,
int rqRec,
int dgramSiz)
public TopicStats snapshot()
public double getMsgReceivedPerPacket()
public double getMsgReceived()
public double getMsgSentPerPacket()
public double getPacketsSentPerSecond()
public long getBytesSentPerSecond()
public long getBytesRecPerSecond()
public long getBytesSentPerSecond(long millis)
public long getBytesRecPerSecond(long millis)
public double getPacketsSentPerSecond(long nowMillis)
public double getPacketsRetransSentPerSecond()
public double getPacketsRetransSentPerSecond(long nowMillis)
public double getRetransReq()
public double getMsgSent()
public double getPacketsRecPerSecond()
public double getPacketsRecPerSecond(long nowMillis)
public void reset()
public TopicStats getSnapshot()
public void addTo(TopicStats other, int divisor)
public long getRecordStart()
public long getRecordEnd()
public void dataPacketSent(int size)
public void dataPacketReceived(int size)
public double getRetransVSDataPacketPercentage()
public int getLastSendPause()
public void setLastSendPause(int lastSendPauseUncorrected)
public void msgSent()
public void msgReceived()
public void retransRQSent(int num)
public void retransRQReceived(int num,
int myRate)
public void retransRSPSent(int num,
int size)
public int getDgramSize()
Copyright © 2014. All rights reserved.