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
    com.aerospike.client.async.EventLoopStats[] eventLoops
    Statistics for each event loop.
    NodeStats[] nodes
    Statistics for each node.
    int recoverQueueSize
    Number of connections residing in sync connection shutdown queue.
    int threadsInUse
    Number of active threads executing sync batch/scan/query commands.
  • Constructor Summary

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

    Modifier and Type Method Description
    String toString()
    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.
    • threadsInUse

      public final int threadsInUse
      Number of active threads executing sync batch/scan/query commands.
    • recoverQueueSize

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

    • ClusterStats

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