Class MonitorUDT

java.lang.Object
com.barchart.udt.MonitorUDT

public class MonitorUDT extends Object
note: do not change field names; used by JNI
  • Field Details

    • log

      private static final org.slf4j.Logger log
    • socketUDT

      protected final SocketUDT socketUDT
    • msTimeStamp

      protected volatile long msTimeStamp
      time since the UDT entity is started, in milliseconds.
    • pktSentTotal

      protected volatile long pktSentTotal
      total number of sent data packets, including retransmissions
    • pktRecvTotal

      protected volatile long pktRecvTotal
      total number of received packets
    • pktSndLossTotal

      protected volatile int pktSndLossTotal
      total number of lost packets (sender side)
    • pktRcvLossTotal

      protected volatile int pktRcvLossTotal
      total number of lost packets (receiver side)
    • pktRetransTotal

      protected volatile int pktRetransTotal
      total number of retransmitted packets
    • pktSentACKTotal

      protected volatile int pktSentACKTotal
      total number of sent ACK packets
    • pktRecvACKTotal

      protected volatile int pktRecvACKTotal
      total number of received ACK packets
    • pktSentNAKTotal

      protected volatile int pktSentNAKTotal
      total number of sent NAK packets
    • pktRecvNAKTotal

      protected volatile int pktRecvNAKTotal
      total number of received NAK packets
    • usSndDurationTotal

      protected volatile long usSndDurationTotal
      total time duration when UDT is sending data (idle time exclusive)
    • pktSent

      protected volatile long pktSent
      number of sent data packets, including retransmissions
    • pktRecv

      protected volatile long pktRecv
      number of received packets
    • pktSndLoss

      protected volatile int pktSndLoss
      number of lost packets (sender side)
    • pktRcvLoss

      protected volatile int pktRcvLoss
      number of lost packets (receiverer side)
    • pktRetrans

      protected volatile int pktRetrans
      number of retransmitted packets
    • pktSentACK

      protected volatile int pktSentACK
      number of sent ACK packets
    • pktRecvACK

      protected volatile int pktRecvACK
      number of received ACK packets
    • pktSentNAK

      protected volatile int pktSentNAK
      number of sent NAK packets
    • pktRecvNAK

      protected volatile int pktRecvNAK
      number of received NAK packets
    • mbpsSendRate

      protected volatile double mbpsSendRate
      sending rate in Mb/s
    • mbpsRecvRate

      protected volatile double mbpsRecvRate
      receiving rate in Mb/s
    • usSndDuration

      protected volatile long usSndDuration
      busy sending time (i.e., idle time exclusive)
    • usPktSndPeriod

      protected volatile double usPktSndPeriod
      packet sending period, in microseconds
    • pktFlowWindow

      protected volatile int pktFlowWindow
      flow window size, in number of packets
    • pktCongestionWindow

      protected volatile int pktCongestionWindow
      congestion window size, in number of packets
    • pktFlightSize

      protected volatile int pktFlightSize
      number of packets on flight
    • msRTT

      protected volatile double msRTT
      RTT, in milliseconds
    • mbpsBandwidth

      protected volatile double mbpsBandwidth
      estimated bandwidth, in Mb/s
    • byteAvailSndBuf

      protected volatile int byteAvailSndBuf
      available UDT sender buffer size
    • byteAvailRcvBuf

      protected volatile int byteAvailRcvBuf
      available UDT receiver buffer size
  • Constructor Details

    • MonitorUDT

      protected MonitorUDT(SocketUDT socketUDT)
  • 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

      public void appendSnapshot(StringBuilder text)
      current monitor status snapshot for all parameters
    • isNumeric

      protected boolean isNumeric(Field field)
    • toString

      public String toString()
      Overrides:
      toString in class Object