public class TaskManagerInfo extends Object implements ResponseBody, Serializable
TaskExecutor.| 限定符和类型 | 字段和说明 |
|---|---|
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_JMX_PORT |
static String |
FIELD_NAME_LAST_HEARTBEAT |
static String |
FIELD_NAME_MEMORY |
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 |
| 构造器和说明 |
|---|
TaskManagerInfo(ResourceID resourceId,
String address,
int dataPort,
int jmxPort,
long lastHeartbeat,
int numberSlots,
int numberAvailableSlots,
ResourceProfileInfo totalResource,
ResourceProfileInfo freeResource,
HardwareDescription hardwareDescription,
TaskExecutorMemoryConfiguration memoryConfiguration) |
TaskManagerInfo(ResourceID resourceId,
String address,
int dataPort,
int jmxPort,
long lastHeartbeat,
int numberSlots,
int numberAvailableSlots,
ResourceProfile totalResource,
ResourceProfile freeResource,
HardwareDescription hardwareDescription,
TaskExecutorMemoryConfiguration memoryConfiguration) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
String |
getAddress() |
int |
getDataPort() |
ResourceProfileInfo |
getFreeResource() |
HardwareDescription |
getHardwareDescription() |
int |
getJmxPort() |
long |
getLastHeartbeat() |
TaskExecutorMemoryConfiguration |
getMemoryConfiguration() |
int |
getNumberAvailableSlots() |
int |
getNumberSlots() |
ResourceID |
getResourceId() |
ResourceProfileInfo |
getTotalResource() |
int |
hashCode() |
public static final String FIELD_NAME_NUMBER_AVAILABLE_SLOTS
public TaskManagerInfo(ResourceID resourceId, String address, int dataPort, int jmxPort, long lastHeartbeat, int numberSlots, int numberAvailableSlots, ResourceProfileInfo totalResource, ResourceProfileInfo freeResource, HardwareDescription hardwareDescription, TaskExecutorMemoryConfiguration memoryConfiguration)
public TaskManagerInfo(ResourceID resourceId, String address, int dataPort, int jmxPort, long lastHeartbeat, int numberSlots, int numberAvailableSlots, ResourceProfile totalResource, ResourceProfile freeResource, HardwareDescription hardwareDescription, TaskExecutorMemoryConfiguration memoryConfiguration)
public ResourceID getResourceId()
public String getAddress()
public int getDataPort()
public int getJmxPort()
public long getLastHeartbeat()
public int getNumberSlots()
public int getNumberAvailableSlots()
public ResourceProfileInfo getTotalResource()
public ResourceProfileInfo getFreeResource()
public HardwareDescription getHardwareDescription()
public TaskExecutorMemoryConfiguration getMemoryConfiguration()
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.