@Metrics(about="Llap Task Scheduler Metrics", context="scheduler") public class LlapTaskSchedulerMetrics extends Object implements org.apache.hadoop.metrics2.MetricsSource
Modifier and Type | Method and Description |
---|---|
static LlapTaskSchedulerMetrics |
create(String displayName,
String sessionId) |
void |
decrPendingPreemptionTasksCount() |
void |
decrPendingTasksCount() |
void |
decrRunningTasksCount() |
void |
decrSchedulableTasksCount() |
org.apache.hadoop.metrics2.source.JvmMetrics |
getJvmMetrics() |
void |
getMetrics(org.apache.hadoop.metrics2.MetricsCollector collector,
boolean b) |
String |
getName() |
void |
incrCompletedDagCount() |
void |
incrPendingPreemptionTasksCount() |
void |
incrPendingTasksCount() |
void |
incrPreemptedTasksCount() |
void |
incrRunningTasksCount() |
void |
incrSchedulableTasksCount() |
void |
incrSchedulableTasksCount(int delta) |
void |
incrSuccessfulTasksCount() |
void |
setClusterNodeCount(int value) |
void |
setCpuCoresPerInstance(int value) |
void |
setDisabledNodeCount(int value) |
void |
setMemoryPerInstance(long value) |
void |
setNumExecutors(int value) |
public static LlapTaskSchedulerMetrics create(String displayName, String sessionId)
public void getMetrics(org.apache.hadoop.metrics2.MetricsCollector collector, boolean b)
getMetrics
in interface org.apache.hadoop.metrics2.MetricsSource
public void setNumExecutors(int value)
public void setMemoryPerInstance(long value)
public void setCpuCoresPerInstance(int value)
public void setClusterNodeCount(int value)
public void setDisabledNodeCount(int value)
public void incrPendingTasksCount()
public void decrPendingTasksCount()
public void incrSchedulableTasksCount(int delta)
public void incrSchedulableTasksCount()
public void decrSchedulableTasksCount()
public void incrSuccessfulTasksCount()
public void incrRunningTasksCount()
public void decrRunningTasksCount()
public void incrPreemptedTasksCount()
public void incrCompletedDagCount()
public void incrPendingPreemptionTasksCount()
public void decrPendingPreemptionTasksCount()
public org.apache.hadoop.metrics2.source.JvmMetrics getJvmMetrics()
public String getName()
Copyright © 2016 The Apache Software Foundation. All rights reserved.