public class QueryFragmentCounters extends Object implements LowLevelCacheCounters
| Modifier and Type | Class and Description |
|---|---|
static class |
QueryFragmentCounters.Desc |
| Constructor and Description |
|---|
QueryFragmentCounters(org.apache.hadoop.conf.Configuration conf,
org.apache.tez.common.counters.TezCounters tezCounters) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.tez.common.counters.TezCounters |
getTezCounters() |
void |
incrCounter(LlapIOCounters counter) |
void |
incrCounter(LlapIOCounters counter,
long delta) |
void |
incrTimeCounter(LlapIOCounters counter,
long startTime) |
void |
recordAllocBytes(long bytesUsed,
long bytesAllocated) |
void |
recordCacheHit(long bytesHit) |
void |
recordCacheMiss(long bytesMissed) |
void |
recordHdfsTime(long startTime) |
void |
setCounter(LlapIOCounters counter,
long value) |
void |
setDesc(QueryFragmentCounters.Desc key,
Object desc) |
long |
startTimeCounter() |
String |
toString() |
public QueryFragmentCounters(org.apache.hadoop.conf.Configuration conf,
org.apache.tez.common.counters.TezCounters tezCounters)
public void incrCounter(LlapIOCounters counter)
public void incrCounter(LlapIOCounters counter, long delta)
public final long startTimeCounter()
startTimeCounter in interface LowLevelCacheCounterspublic void incrTimeCounter(LlapIOCounters counter, long startTime)
public void setCounter(LlapIOCounters counter, long value)
public void setDesc(QueryFragmentCounters.Desc key, Object desc)
public void recordCacheHit(long bytesHit)
recordCacheHit in interface LowLevelCacheCounterspublic void recordCacheMiss(long bytesMissed)
recordCacheMiss in interface LowLevelCacheCounterspublic void recordAllocBytes(long bytesUsed,
long bytesAllocated)
recordAllocBytes in interface LowLevelCacheCounterspublic void recordHdfsTime(long startTime)
recordHdfsTime in interface LowLevelCacheCounterspublic org.apache.tez.common.counters.TezCounters getTezCounters()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.