public final class TaskExecutorRegistrationSuccess extends RegistrationResponse.Success implements Serializable
RegistrationResponse.Decline, RegistrationResponse.Success| Constructor and Description |
|---|
TaskExecutorRegistrationSuccess(InstanceID registrationId,
ResourceID resourceManagerResourceId,
long heartbeatInterval,
ClusterInformation clusterInformation)
Create a new
TaskExecutorRegistrationSuccess message. |
| Modifier and Type | Method and Description |
|---|---|
ClusterInformation |
getClusterInformation()
Gets the cluster information.
|
long |
getHeartbeatInterval()
Gets the interval in which the ResourceManager will heartbeat the TaskExecutor.
|
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, long heartbeatInterval, ClusterInformation clusterInformation)
TaskExecutorRegistrationSuccess message.registrationId - The ID that the ResourceManager assigned the registration.resourceManagerResourceId - The unique ID that identifies the ResourceManager.heartbeatInterval - The interval in which the ResourceManager will heartbeat the TaskExecutor.clusterInformation - information about the clusterpublic InstanceID getRegistrationId()
public ResourceID getResourceManagerId()
public long getHeartbeatInterval()
public ClusterInformation getClusterInformation()
public String toString()
toString in class RegistrationResponse.SuccessCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.