public class TaskManagerInfo extends Object implements ResponseBody, Serializable
TaskExecutor
.Modifier and Type | Field and Description |
---|---|
static String |
FIELD_NAME_ADDRESS |
static String |
FIELD_NAME_AVAILABLE_RESOURCE |
static String |
FIELD_NAME_DATA_PORT |
static String |
FIELD_NAME_HARDWARE |
static String |
FIELD_NAME_LAST_HEARTBEAT |
static String |
FIELD_NAME_NUMBER_AVAILABLE_SLOTS |
static String |
FIELD_NAME_NUMBER_SLOTS |
static String |
FIELD_NAME_RESOURCE_ID |
static String |
FIELD_NAME_TOTAL_RESOURCE |
Constructor and Description |
---|
TaskManagerInfo(ResourceID resourceId,
String address,
int dataPort,
long lastHeartbeat,
int numberSlots,
int numberAvailableSlots,
ResourceProfileInfo totalResource,
ResourceProfileInfo freeResource,
HardwareDescription hardwareDescription) |
TaskManagerInfo(ResourceID resourceId,
String address,
int dataPort,
long lastHeartbeat,
int numberSlots,
int numberAvailableSlots,
ResourceProfile totalResource,
ResourceProfile freeResource,
HardwareDescription hardwareDescription) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAddress() |
int |
getDataPort() |
ResourceProfileInfo |
getFreeResource() |
HardwareDescription |
getHardwareDescription() |
long |
getLastHeartbeat() |
int |
getNumberAvailableSlots() |
int |
getNumberSlots() |
ResourceID |
getResourceId() |
ResourceProfileInfo |
getTotalResource() |
int |
hashCode() |
public static final String FIELD_NAME_RESOURCE_ID
public static final String FIELD_NAME_ADDRESS
public static final String FIELD_NAME_DATA_PORT
public static final String FIELD_NAME_LAST_HEARTBEAT
public static final String FIELD_NAME_NUMBER_SLOTS
public static final String FIELD_NAME_NUMBER_AVAILABLE_SLOTS
public static final String FIELD_NAME_TOTAL_RESOURCE
public static final String FIELD_NAME_AVAILABLE_RESOURCE
public static final String FIELD_NAME_HARDWARE
public TaskManagerInfo(ResourceID resourceId, String address, int dataPort, long lastHeartbeat, int numberSlots, int numberAvailableSlots, ResourceProfileInfo totalResource, ResourceProfileInfo freeResource, HardwareDescription hardwareDescription)
public TaskManagerInfo(ResourceID resourceId, String address, int dataPort, long lastHeartbeat, int numberSlots, int numberAvailableSlots, ResourceProfile totalResource, ResourceProfile freeResource, HardwareDescription hardwareDescription)
public ResourceID getResourceId()
public String getAddress()
public int getDataPort()
public long getLastHeartbeat()
public int getNumberSlots()
public int getNumberAvailableSlots()
public ResourceProfileInfo getTotalResource()
public ResourceProfileInfo getFreeResource()
public HardwareDescription getHardwareDescription()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.