Package com.streambase.sb.monitor
Class DecisionTableInfo
java.lang.Object
com.streambase.sb.monitor.DecisionTableInfo
- All Implemented Interfaces:
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) void
clear()
Reset decision table infoclone()
(package private) void
extractInfo
(StatTuple st) 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.getName()
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 cycletoString()
-
Field Details
-
isActive
boolean isActiveIs active?
-
-
Constructor Details
-
DecisionTableInfo
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
Extract decision table info from the StatTuple, setting member data as appropriate.- Parameters:
st
- Statistics tuple
-
clone
-
saveForNextCycle
void saveForNextCycle()Save for next reporting cycle -
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
-
clear
void clear()Reset decision table info
-