Package com.aerospike.client.metrics
Interface MetricsListener
- All Known Implementing Classes:
MetricsWriter
public interface MetricsListener
Client metrics listener.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonDisable(com.aerospike.client.cluster.Cluster cluster) Periodic extended metrics has been disabled for the given cluster.voidonEnable(com.aerospike.client.cluster.Cluster cluster, MetricsPolicy policy) Periodic extended metrics has been enabled for the given cluster.voidonNodeClose(Node node) A node is being dropped from the cluster.voidonSnapshot(com.aerospike.client.cluster.Cluster cluster) A metrics snapshot has been requested for the given cluster.
-
Method Details
-
onEnable
Periodic extended metrics has been enabled for the given cluster. -
onSnapshot
void onSnapshot(com.aerospike.client.cluster.Cluster cluster) A metrics snapshot has been requested for the given cluster. -
onNodeClose
A node is being dropped from the cluster. -
onDisable
void onDisable(com.aerospike.client.cluster.Cluster cluster) Periodic extended metrics has been disabled for the given cluster.
-