SessionRejoinedEvent class final
Emitted when a node that lost its coordinator has re-joined one.
Only under CoordinatorLossPolicy.rejoin. The counterpart to SessionEndedEvent: an application that showed "disconnected" on that one clears it on this one. attempts is how many tries it took, and coordinatorUId is the coordinator it landed on — usually, but not necessarily, the same one it lost.
- Inheritance
-
- Object
- ControllerEvent
- SessionRejoinedEvent
Constructors
- SessionRejoinedEvent({required String? coordinatorUId, required int attempts, required Duration outage, required String fromNodeUId, String? messageId, String? parentMessageId, DateTime? timestamp, MessageTiming? timing})
Properties
- attempts → int
-
How many attempts the rejoin took, counting the successful one.
final
- coordinatorUId → String?
-
The coordinator this node is now attached to.
final
- fromNodeUId → String
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageId → String
-
finalinherited
- outage → Duration
-
How long the node spent without a coordinator.
final
- parentMessageId → String?
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
finalinherited
- timing → MessageTiming?
-
How long this event's message took to reach us, as the transport measured
it — see MessageTiming.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited