public class TaskManagerDetailsInfo extends TaskManagerInfo
TaskExecutor
and more detailed metrics.Modifier and Type | Field and Description |
---|---|
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,
TaskManagerMetricsInfo taskManagerMetrics) |
TaskManagerDetailsInfo(TaskManagerInfo taskManagerInfo,
TaskManagerMetricsInfo taskManagerMetrics) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
TaskManagerMetricsInfo |
getTaskManagerMetricsInfo() |
int |
hashCode() |
getAddress, getDataPort, getFreeResource, getHardwareDescription, getJmxPort, getLastHeartbeat, getMemoryConfiguration, getNumberAvailableSlots, getNumberSlots, getResourceId, getTotalResource
public static final String FIELD_NAME_METRICS
public TaskManagerDetailsInfo(ResourceID resourceId, String address, int dataPort, int jmxPort, long lastHeartbeat, int numberSlots, int numberAvailableSlots, ResourceProfileInfo totalResource, ResourceProfileInfo freeResource, HardwareDescription hardwareDescription, TaskExecutorMemoryConfiguration memoryConfiguration, TaskManagerMetricsInfo taskManagerMetrics)
public TaskManagerDetailsInfo(TaskManagerInfo taskManagerInfo, TaskManagerMetricsInfo taskManagerMetrics)
@VisibleForTesting public final TaskManagerMetricsInfo getTaskManagerMetricsInfo()
public boolean equals(Object o)
equals
in class TaskManagerInfo
public int hashCode()
hashCode
in class TaskManagerInfo
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.