Interface StateStatsService
-
public interface StateStatsServiceService providing methods to retrieve usage data from states
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DoublegetAverageTimeElapsedInState(StateStatsFilter filter)Retrieves the average elapsed time of the provided filter's stateLonggetMaximumTimeElapsedInState(StateStatsFilter filter)Retrieves the maximum elapsed time of the provided filter's stateLonggetMinimumTimeElapsedInState(StateStatsFilter filter)Retrieves the minimum elapsed time of the provided filter's state
-
-
-
Method Detail
-
getMaximumTimeElapsedInState
Long getMaximumTimeElapsedInState(StateStatsFilter filter) throws WorkflowException
Retrieves the maximum elapsed time of the provided filter's state- Parameters:
filter-StateStatsFilter- Returns:
- the maximum elapsed time in milliseconds since UNIX epoch for the provided filter state.
- Throws:
WorkflowException- if user has no admin permission over the provided space keys or if user has no global permission if space keys are not provided- Since:
- 7.2
-
getMinimumTimeElapsedInState
Long getMinimumTimeElapsedInState(StateStatsFilter filter) throws WorkflowException
Retrieves the minimum elapsed time of the provided filter's state- Parameters:
filter-StateStatsFilter- Returns:
- the minimum elapsed time in milliseconds since UNIX epoch for the provided filter state.
- Throws:
WorkflowException- if user has no admin permission over the provided space keys or if user has no global permission if space keys are not provided- Since:
- 7.2
-
getAverageTimeElapsedInState
Double getAverageTimeElapsedInState(StateStatsFilter filter) throws WorkflowException
Retrieves the average elapsed time of the provided filter's state- Parameters:
filter-StateStatsFilter- Returns:
- the average elapsed time in milliseconds since UNIX epoch for the provided filter state.
- Throws:
WorkflowException- if user has no admin permission over the provided space keys or if user has no global permission if space keys are not provided- Since:
- 7.2
-
-