CoordinationSession class abstract

Abstract base class for coordination sessions.

Implemented types
Implementers

Constructors

CoordinationSession(CoordinationConfig coordinationConfig, {NodeConfig? thisNodeConfig})
Unique identifier for the session.

Properties

config ↔ CoordinationSessionConfig
Configuration for the coordination session.
latefinaloverride-getter
coordinationConfig → CoordinationConfig
Overall configration for Coordination, Session, Streams, Topology, Transport. This is a CoordinationConfig object.
final
created → bool
Indicates whether the ILifecycle implementation has been created.
no setteroverride
description → String?
Returns a description of the identity.
no setterinherited
disposed → bool
Indicates whether the ILifecycle implementation has been disposed.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
id → String
Unique identifier for the session.
no setteroverride
initialized → bool
Indicates whether the required initialization has been completed.
no setteroverride
joined → bool
Indicates whether the IJoinable is currently joined.
no setteroverride
name → String
Human-readable name for the session.
no setteroverride
paused → bool
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
thisNode → Node
The node representing this instance in the coordination session.
no setter
transport → ITransport<ITransportConfig>
Transport used for coordination.
no setter
uId → String
Returns a unique identifier that is guaranteed to be globally unique.
no setterinherited

Methods

create() → FutureOr<void>
Creates.
override
dispose() → FutureOr<void>
Disposes the ILifecycle implementation, releasing any resources.
override
initialize() → FutureOr<void>
Initializes the lifecycle, preparing it for use.
override
join() → FutureOr<void>
Join
override
leave() → FutureOr<void>
Leaves
override
manageResource<R extends IResource>(R resource) → FutureOr<void>
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pause() → FutureOr<void>
Pauses the implementation.
override
releaseResource<R extends IResource>(String resourceId) → FutureOr<R>
inherited
resume() → FutureOr<void>
Resumes the implementation.
override
toString() → String
A string representation of this object.
inherited
updateThisNode(Node node) → void

Operators

operator ==(Object other) → bool
The equality operator.
inherited