Class TaskExecutorRegistrationSuccess
java.lang.Object
org.apache.flink.runtime.registration.RegistrationResponse
org.apache.flink.runtime.registration.RegistrationResponse.Success
org.apache.flink.runtime.taskexecutor.TaskExecutorRegistrationSuccess
- All Implemented Interfaces:
Serializable
public final class TaskExecutorRegistrationSuccess
extends RegistrationResponse.Success
implements Serializable
Base class for responses from the ResourceManager to a registration attempt by a TaskExecutor.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.flink.runtime.registration.RegistrationResponse
RegistrationResponse.Failure, RegistrationResponse.Rejection, RegistrationResponse.Success -
Constructor Summary
ConstructorsConstructorDescriptionTaskExecutorRegistrationSuccess(InstanceID registrationId, ResourceID resourceManagerResourceId, ClusterInformation clusterInformation, byte[] initialTokens) Create a newTaskExecutorRegistrationSuccessmessage. -
Method Summary
Modifier and TypeMethodDescriptionGets the cluster information.byte[]Gets the initial tokens.Gets the ID that the ResourceManager assigned the registration.Gets the unique ID that identifies the ResourceManager.toString()
-
Constructor Details
-
TaskExecutorRegistrationSuccess
public TaskExecutorRegistrationSuccess(InstanceID registrationId, ResourceID resourceManagerResourceId, ClusterInformation clusterInformation, @Nullable byte[] initialTokens) Create a newTaskExecutorRegistrationSuccessmessage.- Parameters:
registrationId- The ID that the ResourceManager assigned the registration.resourceManagerResourceId- The unique ID that identifies the ResourceManager.clusterInformation- information about the clusterinitialTokens- initial tokens for the TaskExecutor
-
-
Method Details
-
getRegistrationId
Gets the ID that the ResourceManager assigned the registration. -
getResourceManagerId
Gets the unique ID that identifies the ResourceManager. -
getClusterInformation
Gets the cluster information. -
getInitialTokens
public byte[] getInitialTokens()Gets the initial tokens. -
toString
- Overrides:
toStringin classRegistrationResponse.Success
-