public interface ExecutionManagerMXBean
| Modifier and Type | Method and Description |
|---|---|
long[] |
getCountInstanceExecutionStatusChange(long[] timespans,
int instType,
ExecutionHistory.StateChange... stateChanges)
Gets the amount of instances that have undergone one of the designated state changes within one
of the designated time spans if the instance is of the designated type.
|
long[] |
getCountNodeStateChange(long[] timespans,
int nodeType,
ExecutionHistory.StateChange... stateChanges)
Gets the amount of nodes that have undergone one of the designated state changes within one of
the designated time spans if the node is of the designated type.
|
long[] getCountNodeStateChange(long[] timespans,
int nodeType,
ExecutionHistory.StateChange... stateChanges)
{ 60, 300, 900 } considers the
nodes, 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 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.nodeType - The node types to be considered. Logically OR the constants defined in
ProcessConstants.NodeTypesForFilters.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,
int instType,
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.instType - The instance types to be considered. Logically OR the constants defined in
ProcessConstants.InstanceTypesForFilters.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.