Package com.barchart.udt
Class MonitorUDT
java.lang.Object
com.barchart.udt.MonitorUDT
note: do not change field names; used by JNI
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intavailable UDT receiver buffer sizeprotected intavailable UDT sender buffer sizeprivate static final org.slf4j.Loggerprotected doubleestimated bandwidth, in Mb/sprotected doublereceiving rate in Mb/sprotected doublesending rate in Mb/sprotected doubleRTT, in millisecondsprotected longtime since the UDT entity is started, in milliseconds.protected intcongestion window size, in number of packetsprotected intnumber of packets on flightprotected intflow window size, in number of packetsprotected intnumber of lost packets (receiverer side)protected inttotal number of lost packets (receiver side)protected longnumber of received packetsprotected intnumber of received ACK packetsprotected inttotal number of received ACK packetsprotected intnumber of received NAK packetsprotected inttotal number of received NAK packetsprotected longtotal number of received packetsprotected intnumber of retransmitted packetsprotected inttotal number of retransmitted packetsprotected longnumber of sent data packets, including retransmissionsprotected intnumber of sent ACK packetsprotected inttotal number of sent ACK packetsprotected intnumber of sent NAK packetsprotected inttotal number of sent NAK packetsprotected longtotal number of sent data packets, including retransmissionsprotected intnumber of lost packets (sender side)protected inttotal number of lost packets (sender side)protected final SocketUDTprotected doublepacket sending period, in microsecondsprotected longbusy sending time (i.e., idle time exclusive)protected longtotal time duration when UDT is sending data (idle time exclusive) -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidappendSnapshot(StringBuilder text) current monitor status snapshot for all parametersintintintintintdoubledoubledoublelongintintlongintintintintintlongprotected booleanlonglongintintintintintintintdoubledoublelonglongtoString()
-
Field Details
-
log
private static final org.slf4j.Logger log -
socketUDT
-
msTimeStamp
protected volatile long msTimeStamptime since the UDT entity is started, in milliseconds. -
pktSentTotal
protected volatile long pktSentTotaltotal number of sent data packets, including retransmissions -
pktRecvTotal
protected volatile long pktRecvTotaltotal number of received packets -
pktSndLossTotal
protected volatile int pktSndLossTotaltotal number of lost packets (sender side) -
pktRcvLossTotal
protected volatile int pktRcvLossTotaltotal number of lost packets (receiver side) -
pktRetransTotal
protected volatile int pktRetransTotaltotal number of retransmitted packets -
pktSentACKTotal
protected volatile int pktSentACKTotaltotal number of sent ACK packets -
pktRecvACKTotal
protected volatile int pktRecvACKTotaltotal number of received ACK packets -
pktSentNAKTotal
protected volatile int pktSentNAKTotaltotal number of sent NAK packets -
pktRecvNAKTotal
protected volatile int pktRecvNAKTotaltotal number of received NAK packets -
usSndDurationTotal
protected volatile long usSndDurationTotaltotal time duration when UDT is sending data (idle time exclusive) -
pktSent
protected volatile long pktSentnumber of sent data packets, including retransmissions -
pktRecv
protected volatile long pktRecvnumber of received packets -
pktSndLoss
protected volatile int pktSndLossnumber of lost packets (sender side) -
pktRcvLoss
protected volatile int pktRcvLossnumber of lost packets (receiverer side) -
pktRetrans
protected volatile int pktRetransnumber of retransmitted packets -
pktSentACK
protected volatile int pktSentACKnumber of sent ACK packets -
pktRecvACK
protected volatile int pktRecvACKnumber of received ACK packets -
pktSentNAK
protected volatile int pktSentNAKnumber of sent NAK packets -
pktRecvNAK
protected volatile int pktRecvNAKnumber of received NAK packets -
mbpsSendRate
protected volatile double mbpsSendRatesending rate in Mb/s -
mbpsRecvRate
protected volatile double mbpsRecvRatereceiving rate in Mb/s -
usSndDuration
protected volatile long usSndDurationbusy sending time (i.e., idle time exclusive) -
usPktSndPeriod
protected volatile double usPktSndPeriodpacket sending period, in microseconds -
pktFlowWindow
protected volatile int pktFlowWindowflow window size, in number of packets -
pktCongestionWindow
protected volatile int pktCongestionWindowcongestion window size, in number of packets -
pktFlightSize
protected volatile int pktFlightSizenumber of packets on flight -
msRTT
protected volatile double msRTTRTT, in milliseconds -
mbpsBandwidth
protected volatile double mbpsBandwidthestimated bandwidth, in Mb/s -
byteAvailSndBuf
protected volatile int byteAvailSndBufavailable UDT sender buffer size -
byteAvailRcvBuf
protected volatile int byteAvailRcvBufavailable UDT receiver buffer size
-
-
Constructor Details
-
MonitorUDT
-
-
Method Details
-
millisSinceStart
public long millisSinceStart() -
globalSentTotal
public long globalSentTotal() -
globalReceivedTotal
public long globalReceivedTotal() -
globalSenderLost
public int globalSenderLost() -
globalReceiverLost
public int globalReceiverLost() -
globalRetransmittedTotal
public int globalRetransmittedTotal() -
globalSentAckTotal
public int globalSentAckTotal() -
globalReceivedAckTotal
public int globalReceivedAckTotal() -
globalSentNakTotal
public int globalSentNakTotal() -
globalReceivedNakTotal
public int globalReceivedNakTotal() -
globalMicrosSendDurationTotal
public long globalMicrosSendDurationTotal() -
localPacketsSent
public long localPacketsSent() -
localPacketsReceived
public long localPacketsReceived() -
localSenderLost
public int localSenderLost() -
localReceiverLost
public int localReceiverLost() -
localRetransmitted
public int localRetransmitted() -
localSentAck
public int localSentAck() -
localReceivedAck
public int localReceivedAck() -
localSentNak
public int localSentNak() -
localReceivedNak
public int localReceivedNak() -
mbpsSendRate
public double mbpsSendRate() -
mbpsReceiveRate
public double mbpsReceiveRate() -
microsSendTime
public long microsSendTime() -
currentSendPeriod
public double currentSendPeriod() -
currentFlowWindow
public int currentFlowWindow() -
currentCongestionWindow
public int currentCongestionWindow() -
currentFlightSize
public int currentFlightSize() -
currentMillisRTT
public double currentMillisRTT() -
currentMbpsBandwidth
public double currentMbpsBandwidth() -
currentAvailableInSender
public int currentAvailableInSender() -
currentAvailableInReceiver
public int currentAvailableInReceiver() -
appendSnapshot
current monitor status snapshot for all parameters -
isNumeric
-
toString
-