Interface INamingSystemRuntimeData
- Namespace
- FishMMO.Server.Core.World.SceneServer
- Assembly
- FishMMO.Server.dll
Runtime state for the naming system. Tracks lookups in flight with their waiting requesters, per-connection request budgets, and sweep cadence.
public interface INamingSystemRuntimeData : IRuntimeDataContainer, IServerComponent
Properties
CharacterByNameInFlight
In-flight character reverse lookups keyed by lowercase character name, each with every connection waiting on it. Main thread only.
InFlightLookupTable<string, NetworkConnection> CharacterByNameInFlight { get; }
Property Value
- InFlightLookupTable<string, NetworkConnection>
CharacterNameByIdInFlight
In-flight character-name-by-id lookups keyed by character identifier, each with every connection waiting on it and the form it asked in. Main thread only.
InFlightLookupTable<long, NamingWaiter<NetworkConnection>> CharacterNameByIdInFlight { get; }
Property Value
- InFlightLookupTable<long, NamingWaiter<NetworkConnection>>
ConnectionRequestBuckets
Per-connection request budgets, keyed by client ID. An entry idle past the cache TTL is swept; by then its bucket would have refilled anyway.
LastSeenCacheTracker<int, NamingRequestBucket> ConnectionRequestBuckets { get; }
Property Value
GuildNameByIdInFlight
In-flight guild-name-by-id lookups keyed by guild identifier, each with every connection waiting on it and the form it asked in. Main thread only.
InFlightLookupTable<long, NamingWaiter<NetworkConnection>> GuildNameByIdInFlight { get; }
Property Value
- InFlightLookupTable<long, NamingWaiter<NetworkConnection>>
NextCacheSweepAt
When the next cache sweep is allowed, in MonotonicClock seconds.
double NextCacheSweepAt { get; set; }