GossipBasedEndpointDiscoverer class
A class for discovering an EndPoint using the Gossip api based on
- Inheritance
-
- Object
- EndpointDiscoverer
- GossipBasedEndpointDiscoverer
Constructors
Properties
- client → EventStoreGossipClient
-
EventStoreGossipClient used to by this GossipBasedEndpointDiscoverer
to discover EventStoreDB host that matches current settings.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- settings → EventStoreClientSettings
-
EventStoreClientSettings used to discover EndPoint hosts
no setter
Methods
-
discover(
) → Future< EndPoint> -
Discover EventStoreDB host based on given settings.
override
-
dispose(
) → Future< void> -
Dispose this EndpointDiscoverer
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
EndPoint candidate) → Future< ClusterInfo> -
Get
ClusterInfo
for given EndPoint candidate. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
NotAllowedStates
→ const List<
VNodeState>