abstract class Cluster extends Extension
This class is not intended for user extension other than for test purposes (e.g. stub implementation). More methods may be added in the future and that may break such implementations.
- Annotations
- @DoNotInherit()
- Source
- Cluster.scala
Linear Supertypes
Type Hierarchy
Ordering
- Alphabetic
- By Inheritance
Inherited
- Cluster
- Extension
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Cluster()
Abstract Value Members
-
abstract
def
isTerminated: Boolean
Returns true if this cluster instance has be shutdown.
-
abstract
def
manager: ActorRef[ClusterCommand]
- returns
an actor that accepts commands to join, leave and down nodes in a cluster
-
abstract
def
selfMember: Member
Details about this cluster node itself
-
abstract
def
state: CurrentClusterState
Current snapshot state of the cluster.
-
abstract
def
subscriptions: ActorRef[ClusterStateSubscription]
- returns
an actor that allows for subscribing to messages when the cluster state changes