Class DecisionTableInfo

java.lang.Object
com.streambase.sb.monitor.DecisionTableInfo
All Implemented Interfaces:
Cloneable

public class DecisionTableInfo extends Object implements Cloneable
Represents information about a single decision table in a StreamBase application. Instances of this class should be retrieved from a Snapshot.
Since:
11.0
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) boolean
    Is active?
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) void
    Reset decision table info
     
    (package private) void
    Extract decision table info from the StatTuple, setting member data as appropriate.
    (package private) void
    extractInfo(com.streambase.sb.monitor.StatTuplev3 st)
    Extract decision table info from this StatTuple.
    int
    Returns the number of microseconds spent by this decision table executing actions since the previous Snapshot.
    int
    Returns the number of actions executed by this decision table since the previous Snapshot.
    int
    Returns the number of microseconds spent by this decision table evaluating conditions since the previous Snapshot.
    int
    Returns the number of conditions evaluated by this decision table since the previous Snapshot.
    Returns the fully qualified name of the decision table.
    int
    Returns the number of non-matching tuples emitted by this decision table since the previous Snapshot.
    long
    Returns the total number of microseconds spent by this decision table executing actions since the StreamBase Server was started.
    long
    Returns the total number of actions executed by this decision table since the StreamBase Server was started.
    long
    Returns the total number of microseconds spent by this decision table evaluating conditions since the StreamBase Server was started.
    long
    Returns the total number of conditions evaluated by this decision table since the StreamBase Server was started.
    long
    Returns the total number of non-matching tuples emitted by this decision table since the StreamBase Server was started.
    (package private) void
    Save for next reporting cycle
     

    Methods inherited from class java.lang.Object

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

    • isActive

      boolean isActive
      Is active?
  • Constructor Details

    • DecisionTableInfo

      public DecisionTableInfo(String name)
      Constructor
      Parameters:
      name - Decision Table name
  • Method Details

    • extractInfo

      void extractInfo(com.streambase.sb.monitor.StatTuplev3 st)
      Extract decision table info from this StatTuple. It's only used by Stats v3.
      Parameters:
      st - stats v3 tuple
    • extractInfo

      void extractInfo(StatTuple st)
      Extract decision table info from the StatTuple, setting member data as appropriate.
      Parameters:
      st - Statistics tuple
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • saveForNextCycle

      void saveForNextCycle()
      Save for next reporting cycle
    • getName

      public String getName()
      Returns the fully qualified name of the decision table.
      Returns:
      name of the decision table
    • getConditionsEvaluatedDelta

      public int getConditionsEvaluatedDelta()
      Returns the number of conditions evaluated by this decision table since the previous Snapshot.
      Returns:
      number of conditions evaluated
    • getConditionEvaluationMicrosecondsDelta

      public int getConditionEvaluationMicrosecondsDelta()
      Returns the number of microseconds spent by this decision table evaluating conditions since the previous Snapshot.
      Returns:
      condition evaluation microseconds
    • getActionsExecutedDelta

      public int getActionsExecutedDelta()
      Returns the number of actions executed by this decision table since the previous Snapshot.
      Returns:
      number of actions executed
    • getActionExecutionMicrosecondsDelta

      public int getActionExecutionMicrosecondsDelta()
      Returns the number of microseconds spent by this decision table executing actions since the previous Snapshot.
      Returns:
      action execution microseconds
    • getNonMatchingTuplesDelta

      public int getNonMatchingTuplesDelta()
      Returns the number of non-matching tuples emitted by this decision table since the previous Snapshot.
      Returns:
      number of non-matching tuples emitted
    • getTotalConditionsEvaluated

      public long getTotalConditionsEvaluated()
      Returns the total number of conditions evaluated by this decision table since the StreamBase Server was started.
      Returns:
      number of conditions evaluated
    • getTotalConditionEvaluationMicroseconds

      public long getTotalConditionEvaluationMicroseconds()
      Returns the total number of microseconds spent by this decision table evaluating conditions since the StreamBase Server was started.
      Returns:
      condition evaluation microseconds
    • getTotalActionsExecuted

      public long getTotalActionsExecuted()
      Returns the total number of actions executed by this decision table since the StreamBase Server was started.
      Returns:
      number of actions executed
    • getTotalActionExecutionMicroseconds

      public long getTotalActionExecutionMicroseconds()
      Returns the total number of microseconds spent by this decision table executing actions since the StreamBase Server was started.
      Returns:
      action execution microseconds
    • getTotalNonMatchingTuples

      public long getTotalNonMatchingTuples()
      Returns the total number of non-matching tuples emitted by this decision table since the StreamBase Server was started.
      Returns:
      number of non-matching tuples emitted
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • clear

      void clear()
      Reset decision table info