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 |
---|---|
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 LowLevelCacheCounters
public 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 LowLevelCacheCounters
public void recordCacheMiss(long bytesMissed)
recordCacheMiss
in interface LowLevelCacheCounters
public void recordAllocBytes(long bytesUsed, long bytesAllocated)
recordAllocBytes
in interface LowLevelCacheCounters
public void recordHdfsTime(long startTime)
recordHdfsTime
in interface LowLevelCacheCounters
Copyright © 2016 The Apache Software Foundation. All rights reserved.