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
    Transaction error count since node was initialized.
    final Node
    Node for which statistics are generated.
    Connection statistics for sync commands.
    final long
    Transaction 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
      Transaction error count since node was initialized. If the error is retryable, multiple errors per transaction may occur.
    • timeoutCount

      public final long timeoutCount
      Transaction timeout count since node was initialized. If the timeout is retryable (ie socketTimeout), multiple timeouts per transaction may occur.
  • 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