live
Returns the set of live entries: those with a non-null value whose receive time is within ttlMs milliseconds of now.
Eviction semantics. An entry is evicted if:
Its value is
null(graceful departure), orIts ReplicaId is absent from receiveTime (never heard from), or
now - receiveTime[replica] >= ttlMs(stale — TTL expired).
The boundary is exclusive at TTL: now - receivedAt < ttlMs is live.
Parameters
receiveTime
a map from ReplicaId to the local monotonic timestamp (in ms) at which that replica's last update was stamped. Maintained externally by EphemeralMapTracker or equivalent.
now
the current local monotonic timestamp in ms.
ttlMs
the expiry window in ms.