Class NodeStats

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

public final class NodeStats extends Object
Node statistics.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    Connection statistics for async commands.
    final long
    Command error count since node was initialized.
    final long
    Key busy count since node was initialized.
    final Node
    Node for which statistics are generated.
    Connection statistics for sync commands.
    final long
    Command timeout count since node was initialized.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Node 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

    • node

      public final Node node
      Node for which statistics are generated.
    • sync

      public final ConnectionStats sync
      Connection statistics for sync commands.
    • async

      public ConnectionStats async
      Connection statistics for async commands.
    • errorCount

      public final long errorCount
      Command error count since node was initialized. If the error is retryable, multiple errors per command may occur.
    • timeoutCount

      public final long timeoutCount
      Command timeout count since node was initialized. If the timeout is retryable (ie socketTimeout), multiple timeouts per command may occur.
    • keyBusyCount

      public final long keyBusyCount
      Key busy count since node was initialized.
  • Constructor Details

    • NodeStats

      public NodeStats(Node node)
      Node statistics constructor.
  • Method Details

    • toString

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