Table of Contents

Class SpatialMetricsSnapshot

Namespace
Moongate.Server.Metrics.Data
Assembly
Moongate.Server.Metrics.dll

Immutable snapshot of spatial index metrics.

public sealed class SpatialMetricsSnapshot
Inheritance
SpatialMetricsSnapshot
Inherited Members

Constructors

SpatialMetricsSnapshot(int, int, int, double)

public SpatialMetricsSnapshot(int totalSectors, int totalEntities, int maxEntitiesPerSector, double averageEntitiesPerSector)

Parameters

totalSectors int
totalEntities int
maxEntitiesPerSector int
averageEntitiesPerSector double

Properties

AverageEntitiesPerSector

[Metric("entities.per_sector.avg")]
public double AverageEntitiesPerSector { get; }

Property Value

double

MaxEntitiesPerSector

[Metric("entities.per_sector.max")]
public int MaxEntitiesPerSector { get; }

Property Value

int

TotalEntities

[Metric("entities.total")]
public int TotalEntities { get; }

Property Value

int

TotalSectors

[Metric("sectors.total")]
public int TotalSectors { get; }

Property Value

int