Interface RunningWorkflows

All Known Implementing Classes:
EventSourcedRunningWorkflows

@Internal public interface RunningWorkflows
Identifies workflow instances that have started and have not yet reached a terminal state.
Since:
5.4.0
Author:
Simon Zambrovski
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    contains(String workflowId)
    Checks whether the given workflow identifier is currently running.
    Returns the current set of running workflow identifiers.
  • Method Details

    • workflowIds

      Set<String> workflowIds()
      Returns the current set of running workflow identifiers.
      Returns:
      immutable set of workflow identifiers
    • contains

      boolean contains(String workflowId)
      Checks whether the given workflow identifier is currently running.
      Parameters:
      workflowId - workflow identifier to inspect
      Returns:
      true if the workflow is running