Class StatTuple

java.lang.Object
com.streambase.sb.monitor.StatTuple

public class StatTuple extends Object
Represents a single stats tuple, which is stored by a snapshot.
See Also:
  • Field Details

    • WHAT_FIELD_NAME

      public static final String WHAT_FIELD_NAME
      What field name - "what"
      See Also:
    • NAME_FIELD_NAME

      public static final String NAME_FIELD_NAME
      Name field name - "name"
      See Also:
    • INDEX_FIELD_NAME

      public static final String INDEX_FIELD_NAME
      Index field name - "index"
      See Also:
    • VALUE_FIELD_NAME

      public static final String VALUE_FIELD_NAME
      Value field name - "value"
      See Also:
    • STATUS_FIELD_NAME

      public static final String STATUS_FIELD_NAME
      Status field name - "status"
      See Also:
    • what

      final String what
      What action
    • name

      final String name
      Statistic name
    • index

      final int index
      Statistic sample index
    • value

      final long value
      Statistic value
    • status

      final String status
      Statistic status
  • Constructor Details

    • StatTuple

      public StatTuple(Tuple t) throws TupleException
      Constructor
      Parameters:
      t - statistics tuple
      Throws:
      TupleException - Invalid tuple
    • StatTuple

      public StatTuple(String w, String n, int i, long v, String s)
      Constructor
      Parameters:
      w - what
      n - name
      i - index
      v - value
      s - status
  • Method Details