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