public class TaskManagerDetailsInfo extends TaskManagerInfo
TaskExecutor and more detailed metrics.| Modifier and Type | Field and Description |
|---|---|
static String |
FIELD_NAME_ALLOCATED_SLOTS |
static String |
FIELD_NAME_METRICS |
FIELD_NAME_ADDRESS, FIELD_NAME_AVAILABLE_RESOURCE, FIELD_NAME_DATA_PORT, FIELD_NAME_HARDWARE, FIELD_NAME_JMX_PORT, FIELD_NAME_LAST_HEARTBEAT, FIELD_NAME_MEMORY, FIELD_NAME_NUMBER_AVAILABLE_SLOTS, FIELD_NAME_NUMBER_SLOTS, FIELD_NAME_RESOURCE_ID, FIELD_NAME_TOTAL_RESOURCE| Constructor and Description |
|---|
TaskManagerDetailsInfo(ResourceID resourceId,
String address,
int dataPort,
int jmxPort,
long lastHeartbeat,
int numberSlots,
int numberAvailableSlots,
ResourceProfileInfo totalResource,
ResourceProfileInfo freeResource,
HardwareDescription hardwareDescription,
TaskExecutorMemoryConfiguration memoryConfiguration,
Collection<SlotInfo> allocatedSlots,
TaskManagerMetricsInfo taskManagerMetrics) |
TaskManagerDetailsInfo(TaskManagerInfoWithSlots taskManagerInfoWithSlots,
TaskManagerMetricsInfo taskManagerMetrics) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Collection<SlotInfo> |
getAllocatedSlots() |
TaskManagerMetricsInfo |
getTaskManagerMetricsInfo() |
int |
hashCode() |
getAddress, getDataPort, getFreeResource, getHardwareDescription, getJmxPort, getLastHeartbeat, getMemoryConfiguration, getNumberAvailableSlots, getNumberSlots, getResourceId, getTotalResourcepublic static final String FIELD_NAME_METRICS
public static final String FIELD_NAME_ALLOCATED_SLOTS
public TaskManagerDetailsInfo(ResourceID resourceId, String address, int dataPort, int jmxPort, long lastHeartbeat, int numberSlots, int numberAvailableSlots, ResourceProfileInfo totalResource, ResourceProfileInfo freeResource, HardwareDescription hardwareDescription, TaskExecutorMemoryConfiguration memoryConfiguration, Collection<SlotInfo> allocatedSlots, TaskManagerMetricsInfo taskManagerMetrics)
public TaskManagerDetailsInfo(TaskManagerInfoWithSlots taskManagerInfoWithSlots, TaskManagerMetricsInfo taskManagerMetrics)
@VisibleForTesting public final TaskManagerMetricsInfo getTaskManagerMetricsInfo()
public Collection<SlotInfo> getAllocatedSlots()
public boolean equals(Object o)
equals in class TaskManagerInfopublic int hashCode()
hashCode in class TaskManagerInfoCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.