EmptyEndpointMetrics

An empty implementation of EndpointMetrics that returns zeros for all metrics.

Properties

Link copied to clipboard
open override val bytesWriteDropped: Long = 0

The number of bytes dropped before writing (e.g. due to congestion or timeout).

Link copied to clipboard
open override val bytesWritten: Long = 0

The number of bytes successfully written.

Link copied to clipboard
open override val packetsWriteDropped: Long = 0

The number of packets dropped before writing (e.g. due to congestion or timeout).

Link copied to clipboard
open override val packetsWriteLost: Long = 0

The number of packets lost during the transmission.

Link copied to clipboard
open override val packetsWritten: Long = 0

The number of packets written.

Link copied to clipboard
open override val rawMetrics: Any

The implementation-specific metrics wrapper.

Link copied to clipboard
open override val uptime: Duration

The duration of the interval

Link copied to clipboard

The total written bitrate in bits per second (bps).

Functions

Link copied to clipboard

Subtracts two BasicEndpointMetricss.