Interface ExecutionDeploymentTracker

All Known Implementing Classes:
DefaultExecutionDeploymentTracker

public interface ExecutionDeploymentTracker
A tracker for deployed executions.
  • Method Details

    • startTrackingPendingDeploymentOf

      void startTrackingPendingDeploymentOf(ExecutionAttemptID executionAttemptId, ResourceID host)
      Starts tracking the given execution that is being deployed on the given host.
      Parameters:
      executionAttemptId - execution to start tracking
      host - hosting task executor
    • completeDeploymentOf

      void completeDeploymentOf(ExecutionAttemptID executionAttemptId)
      Marks the deployment of the given execution as complete.
      Parameters:
      executionAttemptId - execution whose deployment to mark as complete
    • stopTrackingDeploymentOf

      void stopTrackingDeploymentOf(ExecutionAttemptID executionAttemptId)
      Stops tracking the given execution.
      Parameters:
      executionAttemptId - execution to stop tracking
    • getExecutionsOn

      Returns all tracked executions for the given host.
      Parameters:
      host - hosting task executor
      Returns:
      tracked executions