Interface PipelineExecutorRegistry

  • All Known Implementing Classes:
    InMemoryPipelineExecutorRegistry

    public interface PipelineExecutorRegistry
    Registry for storing the pipeline execution traces produced by pipelines launched by the PipelineExecutorTaskManager.
    • Method Detail

      • register

        void register​(PipelineExecutorTrace trace)
        Registers a pipeline executor trace.
        Parameters:
        trace - a pipeline executor trace for registering.
      • deregister

        void deregister​(String pipelineExecutionId)
        Deregisters a pipeline executor trace.
        Parameters:
        pipelineExecutionId - the identifier of the trace to deregister.
      • getExecutorTrace

        PipelineExecutorTrace getExecutorTrace​(String pipelineExecutionId)
        Gets a registered pipeline executor trace.
        Parameters:
        pipelineExecutionId - the identifier of trace.
        Returns:
        the registered pipeline executor trace, when exists, or null in any other case.
      • getExecutorTraces

        Collection<PipelineExecutorTrace> getExecutorTraces()
        Get the currently registered pipeline executor traces.
        Returns:
        a list of pipeline executor traces.
      • getExecutorTrace

        PipelineExecutorTrace getExecutorTrace​(RuntimeId runtimeId)
        Gets the pipeline executor trace that produced a runtime.
        Parameters:
        runtimeId - a runtime for finding the associated pipeline executor trace.
        Returns:
        the pipeline executor trace associated to the runtime if exits, null in any other case.