Enum ThrowingExecutionPlanWriter

java.lang.Object
java.lang.Enum<ThrowingExecutionPlanWriter>
org.apache.flink.runtime.jobmanager.ThrowingExecutionPlanWriter
All Implemented Interfaces:
Serializable, Comparable<ThrowingExecutionPlanWriter>, GloballyCleanableResource, LocallyCleanableResource, ExecutionPlanWriter

public enum ThrowingExecutionPlanWriter extends Enum<ThrowingExecutionPlanWriter> implements ExecutionPlanWriter
ExecutionPlanWriter implementation which does not allow to store ExecutionPlan.
  • Enum Constant Details

  • Method Details

    • values

      public static ThrowingExecutionPlanWriter[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static ThrowingExecutionPlanWriter valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • putExecutionPlan

      public void putExecutionPlan(ExecutionPlan jobGraph)
      Description copied from interface: ExecutionPlanWriter
      Adds the ExecutionPlan instance.

      If a execution plan with the same JobID exists, it is replaced.

      Specified by:
      putExecutionPlan in interface ExecutionPlanWriter
    • putJobResourceRequirements

      public void putJobResourceRequirements(org.apache.flink.api.common.JobID jobId, JobResourceRequirements jobResourceRequirements)
      Description copied from interface: ExecutionPlanWriter
      Persist job resource requirements for the given job.
      Specified by:
      putJobResourceRequirements in interface ExecutionPlanWriter
      Parameters:
      jobId - job the given requirements belong to
      jobResourceRequirements - requirements to persist