Interface StateStatsService
public interface StateStatsService
Service providing methods to retrieve usage data from states
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the average elapsed time of the provided filter's stateRetrieves the maximum elapsed time of the provided filter's stateRetrieves the minimum elapsed time of the provided filter's state
-
Method Details
-
getMaximumTimeElapsedInState
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
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
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
-