Table of Contents

Interface IAccountCreationSystemRuntimeData

Namespace
FishMMO.Server.Core.LoginServer
Assembly
FishMMO.Server.dll

Runtime statistics and metrics for account creation system. Tracks system performance for monitoring and observability.

public interface IAccountCreationSystemRuntimeData : IRuntimeDataContainer, IServerComponent

Properties

CleanupTimer

Timer accumulator for periodic mapping data cleanup.

float CleanupTimer { get; set; }

Property Value

float

ConnectionEncryptionCache

Per-connection encryption-data cache used by account-creation ingress validation.

LastSeenCacheTracker<int, ConnectionEncryptionData> ConnectionEncryptionCache { get; }

Property Value

LastSeenCacheTracker<int, ConnectionEncryptionData>

Remarks

Timed on MonotonicClock.NowSeconds, like ConnectionIpCache.

ConnectionIpCache

Per-connection IP cache used by account-creation ingress validation.

LastSeenCacheTracker<int, string> ConnectionIpCache { get; }

Property Value

LastSeenCacheTracker<int, string>

Remarks

Timed on MonotonicClock.NowSeconds (the tracker's monotonic overloads) by every reader and writer, the authenticators included. One cache, one clock.

TotalFailed

Total number of failed account creations due to errors (database errors, exceptions, etc.) since server start.

long TotalFailed { get; }

Property Value

long

TotalProcessed

Total number of successfully processed account creations since server start.

long TotalProcessed { get; }

Property Value

long

TotalRejected

Total number of rejected account creation requests (rate limited, queue full, validation failed) since server start.

long TotalRejected { get; }

Property Value

long

Methods

IncrementFailed()

Atomically increments the failed counter.

void IncrementFailed()

IncrementProcessed()

Atomically increments the processed counter.

void IncrementProcessed()

IncrementRejected()

Atomically increments the rejected counter.

void IncrementRejected()