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_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 |
Constructor and Description |
---|
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) |
Modifier and Type | Method and Description |
---|---|
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_RESOURCE_ID
public static final String FIELD_NAME_ADDRESS
public static final String FIELD_NAME_DATA_PORT
public static final String FIELD_NAME_JMX_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 static final String FIELD_NAME_MEMORY
public static final String FIELD_NAME_BLOCKED
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–2024 The Apache Software Foundation. All rights reserved.