Enum JobMasterServiceProcess.WaitingForLeadership
java.lang.Object
java.lang.Enum<JobMasterServiceProcess.WaitingForLeadership>
org.apache.flink.runtime.jobmaster.JobMasterServiceProcess.WaitingForLeadership
- All Implemented Interfaces:
Serializable,AutoCloseable,Comparable<JobMasterServiceProcess.WaitingForLeadership>,JobMasterServiceProcess,org.apache.flink.util.AutoCloseableAsync
- Enclosing interface:
- JobMasterServiceProcess
public static enum JobMasterServiceProcess.WaitingForLeadership
extends Enum<JobMasterServiceProcess.WaitingForLeadership>
implements JobMasterServiceProcess
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.runtime.jobmaster.JobMasterServiceProcess
JobMasterServiceProcess.WaitingForLeadership -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionFuture which is completed with theJobMasterGatewayonce theJobMasterServicehas been created.Future which is completed with theJobMasterServiceaddress once it is created.The leader session id of this process.Future which is completed with the result of job execution.booleanTrue iff theJobMasterServicehas been initialized and is running.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface org.apache.flink.util.AutoCloseableAsync
close
-
Enum Constant Details
-
INSTANCE
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
closeAsync
- Specified by:
closeAsyncin interfaceorg.apache.flink.util.AutoCloseableAsync
-
getLeaderSessionId
Description copied from interface:JobMasterServiceProcessThe leader session id of this process.- Specified by:
getLeaderSessionIdin interfaceJobMasterServiceProcess
-
isInitializedAndRunning
public boolean isInitializedAndRunning()Description copied from interface:JobMasterServiceProcessTrue iff theJobMasterServicehas been initialized and is running.- Specified by:
isInitializedAndRunningin interfaceJobMasterServiceProcess
-
getJobMasterGatewayFuture
Description copied from interface:JobMasterServiceProcessFuture which is completed with theJobMasterGatewayonce theJobMasterServicehas been created. Upon closing of the process, this future is completed exceptionally if it is still uncompleted.- Specified by:
getJobMasterGatewayFuturein interfaceJobMasterServiceProcess
-
getResultFuture
Description copied from interface:JobMasterServiceProcessFuture which is completed with the result of job execution. The job's result can be theJobManagerRunnerResult,JobNotFinishedExceptionif the job was not finished or anThrowableif an unexpected failure occurs. Upon closing of the process, this future is completed exceptionally withJobNotFinishedException.- Specified by:
getResultFuturein interfaceJobMasterServiceProcess
-
getLeaderAddressFuture
Description copied from interface:JobMasterServiceProcessFuture which is completed with theJobMasterServiceaddress once it is created.- Specified by:
getLeaderAddressFuturein interfaceJobMasterServiceProcess
-