ClusterNodeMBean

org.apache.pekko.cluster.ClusterNodeMBean

Interface for the cluster JMX MBean.

Attributes

Source
ClusterJmx.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def down(address: String): Unit

Send command to DOWN the node specified by 'address'. The address format is pekko://actor-system-name@hostname:port

Send command to DOWN the node specified by 'address'. The address format is pekko://actor-system-name@hostname:port

Attributes

Source
ClusterJmx.scala

JSON format of the status of all nodes in the cluster as follows:

JSON format of the status of all nodes in the cluster as follows:

{
 "self-address": "pekko://system@host1:7355",
 "members": [
   {
     "address": "pekko://system@host1:7355",
     "status": "Up",
     "app-version": "1.0.0",
     "roles": [
       "frontend"
     ]
   },
   {
     "address": "pekko://system@host2:7355",
     "status": "Up",
     "app-version": "1.0.0",
     "roles": [
       "frontend"
     ]
   },
   {
     "address": "pekko://system@host3:7355",
     "status": "Down",
     "app-version": "1.0.0",
     "roles": [
       "backend"
     ]
   },
   {
     "address": "pekko://system@host4:7355",
     "status": "Joining",
     "app-version": "1.1.0",
     "roles": [
       "backend"
     ]
   }
 ],
 "unreachable": [
   {
     "node": "pekko://system@host2:7355",
     "observed-by": [
       "pekko://system@host1:7355",
       "pekko://system@host3:7355"
     ]
   },
   {
     "node": "pekko://system@host3:7355",
     "observed-by": [
       "pekko://system@host1:7355",
       "pekko://system@host2:7355"
     ]
   }
 ]
}

Attributes

Source
ClusterJmx.scala

Get the address of the current leader. The address format is pekko://actor-system-name@hostname:port

Get the address of the current leader. The address format is pekko://actor-system-name@hostname:port

Attributes

Source
ClusterJmx.scala

Member status for this node.

Member status for this node.

Attributes

Source
ClusterJmx.scala

Comma separated addresses of member nodes, sorted in the cluster ring order. The address format is pekko://actor-system-name@hostname:port

Comma separated addresses of member nodes, sorted in the cluster ring order. The address format is pekko://actor-system-name@hostname:port

Attributes

Source
ClusterJmx.scala

Comma separated addresses of unreachable member nodes. The address format is pekko://actor-system-name@hostname:port

Comma separated addresses of unreachable member nodes. The address format is pekko://actor-system-name@hostname:port

Attributes

Source
ClusterJmx.scala

Returns true if the node is not unreachable and not Down and not Removed.

Returns true if the node is not unreachable and not Down and not Removed.

Attributes

Source
ClusterJmx.scala

Does the cluster consist of only one member?

Does the cluster consist of only one member?

Attributes

Source
ClusterJmx.scala
def join(address: String): Unit

Try to join this cluster node with the node specified by 'address'. The address format is pekko://actor-system-name@hostname:port. A 'Join(thisNodeAddress)' command is sent to the node to join.

Try to join this cluster node with the node specified by 'address'. The address format is pekko://actor-system-name@hostname:port. A 'Join(thisNodeAddress)' command is sent to the node to join.

Attributes

Source
ClusterJmx.scala
def leave(address: String): Unit

Send command to issue state transition to LEAVING for the node specified by 'address'. The address format is pekko://actor-system-name@hostname:port

Send command to issue state transition to LEAVING for the node specified by 'address'. The address format is pekko://actor-system-name@hostname:port

Attributes

Source
ClusterJmx.scala