HBASE-3680 Publish more metrics about mslab; REVERT
git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1196389 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e44d373842
commit
850bb134a6
@ -124,18 +124,6 @@ public class MemStore implements HeapSize {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @return the number of bytes "wasted" by external fragmentation
|
|
||||||
* in the MSLAB, if configured.
|
|
||||||
*/
|
|
||||||
long getMslabWaste() {
|
|
||||||
if (allocator != null) {
|
|
||||||
return allocator.getWastedBytes();
|
|
||||||
} else {
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
void dump() {
|
void dump() {
|
||||||
for (KeyValue kv: this.kvset) {
|
for (KeyValue kv: this.kvset) {
|
||||||
LOG.info(kv);
|
LOG.info(kv);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user