Class ClusterStats

java.lang.Object
com.aerospike.client.cluster.ClusterStats

public final class ClusterStats extends Object
Cluster statistics.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final com.aerospike.client.async.EventLoopStats[]
    Statistics for each event loop.
    final int
    Count of add node failures since the client was started.
    final NodeStats[]
    Statistics for each node.
    final int
    Number of connections residing in sync connection shutdown queue.
    final long
    Count of transaction retries since the client was started.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ClusterStats(com.aerospike.client.cluster.Cluster cluster, NodeStats[] nodes, com.aerospike.client.async.EventLoopStats[] eventLoops)
    Cluster statistics constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    Convert statistics to string.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • nodes

      public final NodeStats[] nodes
      Statistics for each node.
    • eventLoops

      public final com.aerospike.client.async.EventLoopStats[] eventLoops
      Statistics for each event loop. This value will be null if event loops are not defined.
    • recoverQueueSize

      public final int recoverQueueSize
      Number of connections residing in sync connection shutdown queue.
    • invalidNodeCount

      public final int invalidNodeCount
      Count of add node failures since the client was started.
    • retryCount

      public final long retryCount
      Count of transaction retries since the client was started.
  • Constructor Details

    • ClusterStats

      public ClusterStats(com.aerospike.client.cluster.Cluster cluster, NodeStats[] nodes, com.aerospike.client.async.EventLoopStats[] eventLoops)
      Cluster statistics constructor.
  • Method Details

    • toString

      public String toString()
      Convert statistics to string.
      Overrides:
      toString in class Object