Class AccountCreationSystemRuntimeData
- Namespace
- FishMMO.Server.Implementation.LoginServer
- Assembly
- FishMMO.Server.dll
Runtime statistics and worker tracking for account creation system. Tracks performance metrics and worker lifecycle state. Counter fields use Interlocked for thread-safe increments from async workers.
public class AccountCreationSystemRuntimeData : RuntimeDataContainer, IRuntimeDataContainer<INetworkManagerWrapper, ServerManager, NetworkConnection, IRuntimeDataContainer>, IServerComponent<INetworkManagerWrapper, ServerManager, NetworkConnection, IRuntimeDataContainer>, IAccountCreationSystemRuntimeData, IRuntimeDataContainer, IServerComponent
- Inheritance
-
AccountCreationSystemRuntimeData
- Implements
-
IRuntimeDataContainer<INetworkManagerWrapper, ServerManager, NetworkConnection, IRuntimeDataContainer>
- Inherited Members
Properties
CleanupTimer
Timer accumulator for periodic mapping data cleanup.
public float CleanupTimer { get; set; }
Property Value
ConnectionEncryptionCache
Per-connection encryption-data cache used by account-creation ingress validation.
public LastSeenCacheTracker<int, ConnectionEncryptionData> ConnectionEncryptionCache { get; }
Property Value
ConnectionIpCache
Per-connection IP cache used by account-creation ingress validation.
public LastSeenCacheTracker<int, string> ConnectionIpCache { get; }
Property Value
TotalFailed
Total number of failed account creations (errors).
public long TotalFailed { get; }
Property Value
TotalProcessed
Total number of successfully processed account creations.
public long TotalProcessed { get; }
Property Value
TotalRejected
Total number of rejected account creation requests.
public long TotalRejected { get; }
Property Value
Methods
Clear()
Clears all runtime statistics and worker references.
public override void Clear()
IncrementFailed()
Atomically increments the failed counter.
public void IncrementFailed()
IncrementProcessed()
Atomically increments the processed counter.
public void IncrementProcessed()
IncrementRejected()
Atomically increments the rejected counter.
public void IncrementRejected()
InitializeOnce()
Initializes the runtime data container with zero counters.
public override ServerComponentInitializationStatus InitializeOnce()
Returns
OnDeinitialize()
Deinitializes the runtime data container.
protected override void OnDeinitialize()