|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.regionserver.MetricsRegionSourceImpl
public class MetricsRegionSourceImpl
Field Summary |
---|
Fields inherited from interface org.apache.hadoop.hbase.regionserver.MetricsRegionSource |
---|
OPS_SAMPLE_NAME, SIZE_VALUE_NAME |
Constructor Summary | |
---|---|
MetricsRegionSourceImpl(MetricsRegionWrapper regionWrapper,
MetricsRegionAggregateSourceImpl aggregate)
|
Method Summary | |
---|---|
void |
close()
Close the region's metrics as this region is closing. |
int |
compareTo(MetricsRegionSource source)
|
boolean |
equals(Object obj)
|
MetricsRegionAggregateSource |
getAggregateSource()
Get the aggregate source to which this reports. |
void |
updateAppend()
Update related counts of appends. |
void |
updateDelete()
Update related counts of deletes. |
void |
updateGet(long getSize)
Update count and sizes of gets. |
void |
updateIncrement()
Update related counts of increments. |
void |
updatePut()
Update related counts of puts. |
void |
updateScan(long scanSize)
Update the count and sizes of resultScanner.next() |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MetricsRegionSourceImpl(MetricsRegionWrapper regionWrapper, MetricsRegionAggregateSourceImpl aggregate)
Method Detail |
---|
public void close()
MetricsRegionSource
close
in interface MetricsRegionSource
public void updatePut()
MetricsRegionSource
updatePut
in interface MetricsRegionSource
public void updateDelete()
MetricsRegionSource
updateDelete
in interface MetricsRegionSource
public void updateGet(long getSize)
MetricsRegionSource
updateGet
in interface MetricsRegionSource
getSize
- size in bytes of the resulting key values for a getpublic void updateScan(long scanSize)
MetricsRegionSource
updateScan
in interface MetricsRegionSource
scanSize
- Size in bytes of the resulting key values for a next()public void updateIncrement()
MetricsRegionSource
updateIncrement
in interface MetricsRegionSource
public void updateAppend()
MetricsRegionSource
updateAppend
in interface MetricsRegionSource
public MetricsRegionAggregateSource getAggregateSource()
MetricsRegionSource
getAggregateSource
in interface MetricsRegionSource
public int compareTo(MetricsRegionSource source)
compareTo
in interface Comparable<MetricsRegionSource>
public boolean equals(Object obj)
equals
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |