public interface Accountable
Modifier and Type | Field and Description |
---|---|
static Accountable |
NULL_ACCOUNTABLE
An accountable that always returns 0
|
Modifier and Type | Method and Description |
---|---|
default Collection<Accountable> |
getChildResources()
Returns nested resources of this class.
|
long |
ramBytesUsed()
Return the memory usage of this object in bytes.
|
static final Accountable NULL_ACCOUNTABLE
long ramBytesUsed()
default Collection<Accountable> getChildResources()
Accountables
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.