Table of Contents

Namespace FishMMO.Auth.Core.Collections

Classes

ArrivalOrderTracker<TKey>

Queue/index tracker that preserves first-seen ordering with O(1) add/remove by key. Useful for TTL sweeps that should process oldest entries first.

ExpiringKeyTracker<TKey>

Queue/index tracker for expiring keyed entries. Uses head-first sweeps to avoid full dictionary enumeration under heavy load.

FixedWindowCounter<TKey>

Per-key event counter over a fixed window that opens at the key's first event, with expiry swept head-first in the order windows opened.

LastSeenCacheTracker<TKey, TValue>

Queue/index tracker for key-value caches whose entries expire by last-seen timestamp. Optimized for high-frequency touch and bounded head-first TTL sweeps.

PendingAuthTracker<TConnection>

Connections that have completed their handshake and not yet authenticated, each in a PendingAuthPhase, with expiry swept head-first in the order they fall due.