Class JobManagerRunnerResult
- java.lang.Object
-
- org.apache.flink.runtime.jobmaster.JobManagerRunnerResult
-
public final class JobManagerRunnerResult extends Object
The result of theJobManagerRunner
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static JobManagerRunnerResult
forInitializationFailure(ExecutionGraphInfo executionGraphInfo, Throwable failure)
static JobManagerRunnerResult
forSuccess(ExecutionGraphInfo executionGraphInfo)
ExecutionGraphInfo
getExecutionGraphInfo()
Throwable
getInitializationFailure()
This method returns the initialization failure.int
hashCode()
boolean
isInitializationFailure()
boolean
isSuccess()
-
-
-
Method Detail
-
isSuccess
public boolean isSuccess()
-
isInitializationFailure
public boolean isInitializationFailure()
-
getExecutionGraphInfo
public ExecutionGraphInfo getExecutionGraphInfo()
-
getInitializationFailure
public Throwable getInitializationFailure()
This method returns the initialization failure.- Returns:
- the initialization failure
- Throws:
IllegalStateException
- if the result is not an initialization failure
-
forSuccess
public static JobManagerRunnerResult forSuccess(ExecutionGraphInfo executionGraphInfo)
-
forInitializationFailure
public static JobManagerRunnerResult forInitializationFailure(ExecutionGraphInfo executionGraphInfo, Throwable failure)
-
-