public class JobMasterRegistrationSuccess extends RegistrationResponse.Success
RegistrationResponse.Decline, RegistrationResponse.Success
Constructor and Description |
---|
JobMasterRegistrationSuccess(long heartbeatInterval,
UUID resourceManagerLeaderId,
ResourceID resourceManagerResourceId) |
Modifier and Type | Method and Description |
---|---|
long |
getHeartbeatInterval()
Gets the interval in which the ResourceManager will heartbeat the JobMaster.
|
UUID |
getResourceManagerLeaderId() |
ResourceID |
getResourceManagerResourceId() |
String |
toString() |
public JobMasterRegistrationSuccess(long heartbeatInterval, UUID resourceManagerLeaderId, ResourceID resourceManagerResourceId)
public long getHeartbeatInterval()
public UUID getResourceManagerLeaderId()
public ResourceID getResourceManagerResourceId()
public String toString()
toString
in class RegistrationResponse.Success
Copyright © 2014–2018 The Apache Software Foundation. All rights reserved.