Package org.acemq.rabbitmq.admin
Class NodeInfo
java.lang.Object
org.acemq.rabbitmq.admin.NodeInfo
One node of the cluster.
Deliberately thin. This endpoint's contents vary a great deal with the broker's configuration — most of the resource statistics are absent unless the management agent is collecting them — so modelling the numbers here would produce a class whose fields are null on a broker that is working perfectly well. The resource numbers come from the metrics endpoint, which always has them.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NodeInfo
-
-
Method Details
-
name
- Returns:
- the Erlang node name, for example
rabbit@host1
-
type
- Returns:
discorram
-
running
public boolean running() -
beingDrained
public boolean beingDrained()- Returns:
- whether the node is in maintenance mode. A node being drained is running and deliberately not taking work, so treating it as unhealthy would page somebody for a planned operation
-
toString
-