public interface ExecutionHistoryMXBean
| Modifier and Type | Method and Description |
|---|---|
long[] |
getCountInstanceExecutionStatusChange(long[] timespans,
ExecutionHistory.StateChange... stateChanges)
Gets the amount of instances that have undergone one of the designated state changes within one
of the designated state changes within one of the designated time spans.
|
long[] |
getCountNodeStateChange(long[] timespans,
ExecutionHistory.StateChange... stateChanges)
Gets the amount of nodes that have undergone one of the designated state changes within one of the designated
time spans.
|
long[] getCountNodeStateChange(long[] timespans,
ExecutionHistory.StateChange... stateChanges)
{ 60, 300, 900 } considers the nodes, that
entered the designated states within the last minute, the last 5 minutes and the last 15
minutes. A timespan of 0 considers only nodes that are currently in a
node state corresponding to one of the designated state changes.timespans - The timespans in seconds (!) that should be considered. The index in the array
corresponds to the index in the returned array.stateChanges - The state changes of nodes to be considered. If this is null,
all state changes will be considered. Obviously only state changes referring to nodes
will be considered.long[] getCountInstanceExecutionStatusChange(long[] timespans,
ExecutionHistory.StateChange... stateChanges)
{ 60, 300, 900 } considers the instances, that have undergone the
designated state changes within the last minute, the last 5 minutes and the last 15 minutes. A
timespan of 0 considers only instances that have currently an instance execution status
corresponding to one of the designated state changes.timespans - The timespans in seconds (!) that should be considered. The index in the array
corresponds to the index in the returned array.stateChanges - The state changes of instances to be considered. If this is
null, all state changes will be considered. Obviously only state changes
referring to instances will be considered.