Table of Contents

Class ServerBandwidthRates

Namespace
FishMMO.Database.Data
Assembly
FishMMO-DB.dll

Rates at one point: a server's latest minute, one chart bucket, or a peak. Bytes and datagrams per second; the wire rates are estimates derived from the measured ones.

public sealed class ServerBandwidthRates
Inheritance
ServerBandwidthRates
Inherited Members

Properties

AppRecvBps

Application bytes received per second. Measured.

public double AppRecvBps { get; set; }

Property Value

double

AppSentBps

Application bytes sent per second. Measured.

public double AppSentBps { get; set; }

Property Value

double

BucketUtc

The bucket these rates describe (its start, UTC).

public DateTime BucketUtc { get; set; }

Property Value

DateTime

DatagramsRecvPs

UDP datagrams received per second. Measured.

public double DatagramsRecvPs { get; set; }

Property Value

double

DatagramsSentPs

UDP datagrams sent per second. Measured; an upper bound under bursts.

public double DatagramsSentPs { get; set; }

Property Value

double

SessionsActive

Sessions open, where the point is a single sample; otherwise null.

public long? SessionsActive { get; set; }

Property Value

long?

UdpRecvBps

UDP payload bytes received per second. Measured.

public double UdpRecvBps { get; set; }

Property Value

double

UdpSentBps

UDP payload bytes sent per second. Measured.

public double UdpSentBps { get; set; }

Property Value

double

WireRecvBpsEstimated

Bytes on the wire received per second. ESTIMATED.

public double WireRecvBpsEstimated { get; }

Property Value

double

WireSentBpsEstimated

Bytes on the wire sent per second. ESTIMATED; an upper bound under bursts.

public double WireSentBpsEstimated { get; }

Property Value

double

Methods

Add(ServerBandwidthRates)

Adds another server's rates at the same point into this one.

public void Add(ServerBandwidthRates other)

Parameters

other ServerBandwidthRates

Clone()

A copy, so a sum can be built without changing the rows it came from.

public ServerBandwidthRates Clone()

Returns

ServerBandwidthRates

FromCounters(DateTime, long, long, long, long, long, long, long)

Rates from one row of counters over its own interval.

public static ServerBandwidthRates FromCounters(DateTime bucketUtc, long intervalMs, long appSent, long appRecv, long udpSent, long udpRecv, long datagramsSent, long datagramsRecv)

Parameters

bucketUtc DateTime
intervalMs long
appSent long
appRecv long
udpSent long
udpRecv long
datagramsSent long
datagramsRecv long

Returns

ServerBandwidthRates