Interface StateStatsService


public interface StateStatsService
Service providing methods to retrieve usage data from states
  • Method Details

    • 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