class
Movie::Remote::ControlDeduplicator
- Movie::Remote::ControlDeduplicator
- Reference
- Object
Overview
Tracks one contiguous cursor per node/stream. The global mutex protects only stream lookup; delivery is serialized by the affected stream so a slow actor route does not block unrelated associations.
Defined in:
movie/remote/control_delivery.crConstructors
Instance Method Summary
- #deliver(node_uid : String, stream : String, sequence : Int64, &) : ControlObservation
- #observe(node_uid : String, stream : String, sequence : Int64) : ControlObservation
-
#retire_node(node_uid : String) : Int32
Retires all streams for a process incarnation.
- #stats : ControlDeduplicationStats
Constructor Detail
Instance Method Detail
def deliver(node_uid : String, stream : String, sequence : Int64, &) : ControlObservation
#
def observe(node_uid : String, stream : String, sequence : Int64) : ControlObservation
#
def retire_node(node_uid : String) : Int32
#
Retires all streams for a process incarnation. Callers must only use this after confirming that the node UID cannot reconnect.