Interface MetricsListener

All Known Implementing Classes:
MetricsWriter

public interface MetricsListener
Client metrics listener.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onDisable(com.aerospike.client.cluster.Cluster cluster)
    Periodic extended metrics has been disabled for the given cluster.
    void
    onEnable(com.aerospike.client.cluster.Cluster cluster, MetricsPolicy policy)
    Periodic extended metrics has been enabled for the given cluster.
    void
    A node is being dropped from the cluster.
    void
    onSnapshot(com.aerospike.client.cluster.Cluster cluster)
    A metrics snapshot has been requested for the given cluster.
  • Method Details

    • onEnable

      void onEnable(com.aerospike.client.cluster.Cluster cluster, MetricsPolicy policy)
      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

      void onNodeClose(Node node)
      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.