public final class TaskExecutorRegistrationSuccess extends RegistrationResponse.Success implements Serializable
RegistrationResponse.Failure, RegistrationResponse.Rejection, RegistrationResponse.Success
Constructor and Description |
---|
TaskExecutorRegistrationSuccess(InstanceID registrationId,
ResourceID resourceManagerResourceId,
ClusterInformation clusterInformation)
Create a new
TaskExecutorRegistrationSuccess message. |
Modifier and Type | Method and Description |
---|---|
ClusterInformation |
getClusterInformation()
Gets the cluster information.
|
InstanceID |
getRegistrationId()
Gets the ID that the ResourceManager assigned the registration.
|
ResourceID |
getResourceManagerId()
Gets the unique ID that identifies the ResourceManager.
|
String |
toString() |
public TaskExecutorRegistrationSuccess(InstanceID registrationId, ResourceID resourceManagerResourceId, ClusterInformation clusterInformation)
TaskExecutorRegistrationSuccess
message.registrationId
- The ID that the ResourceManager assigned the registration.resourceManagerResourceId
- The unique ID that identifies the ResourceManager.clusterInformation
- information about the clusterpublic InstanceID getRegistrationId()
public ResourceID getResourceManagerId()
public ClusterInformation getClusterInformation()
public String toString()
toString
in class RegistrationResponse.Success
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.