public class TaskManagerInfo extends Object implements ResponseBody, Serializable
TaskExecutor.| 限定符和类型 | 字段和说明 |
|---|---|
static String |
FIELD_NAME_ADDRESS |
static String |
FIELD_NAME_AVAILABLE_RESOURCE |
static String |
FIELD_NAME_BLOCKED |
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,
Boolean blocked) |
TaskManagerInfo(ResourceID resourceId,
String address,
int dataPort,
int jmxPort,
long lastHeartbeat,
int numberSlots,
int numberAvailableSlots,
ResourceProfile totalResource,
ResourceProfile freeResource,
HardwareDescription hardwareDescription,
TaskExecutorMemoryConfiguration memoryConfiguration,
Boolean blocked) |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object o) |
String |
getAddress() |
boolean |
getBlocked() |
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, @Nullable Boolean blocked)
public TaskManagerInfo(ResourceID resourceId, String address, int dataPort, int jmxPort, long lastHeartbeat, int numberSlots, int numberAvailableSlots, ResourceProfile totalResource, ResourceProfile freeResource, HardwareDescription hardwareDescription, TaskExecutorMemoryConfiguration memoryConfiguration, @Nullable Boolean blocked)
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()
public boolean getBlocked()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.