Interface Accountable

    • Field Detail

      • NULL_ACCOUNTABLE

        static final Accountable NULL_ACCOUNTABLE
        An accountable that always returns 0
    • Method Detail

      • ramBytesUsed

        long ramBytesUsed()
        Return the memory usage of this object in bytes. Negative values are illegal.
      • getChildResources

        default Collection<Accountable> getChildResources()
        Returns nested resources of this class. The result should be a point-in-time snapshot (to avoid race conditions).
        See Also:
        Accountables