Interface Accountable

All Known Subinterfaces:
ArraySizingStrategy
All Known Implementing Classes:
BoundedProportionalArraySizingStrategy, ByteArrayDeque, ByteArrayList, ByteStack, CharArrayDeque, CharArrayList, CharByteHashMap, CharCharHashMap, CharDoubleHashMap, CharFloatHashMap, CharHashSet, CharIntHashMap, CharLongHashMap, CharObjectHashMap, CharShortHashMap, CharStack, DoubleArrayDeque, DoubleArrayList, DoublePgmIndex, DoublePgmIndex.DoubleBuilder, DoubleStack, FloatArrayDeque, FloatArrayList, FloatPgmIndex, FloatPgmIndex.FloatBuilder, FloatStack, IntArrayDeque, IntArrayList, IntByteHashMap, IntCharHashMap, IntDoubleHashMap, IntFloatHashMap, IntHashSet, IntIntHashMap, IntLongHashMap, IntObjectHashMap, IntPgmIndex, IntPgmIndex.IntBuilder, IntShortHashMap, IntStack, LongArrayDeque, LongArrayList, LongByteHashMap, LongCharHashMap, LongDoubleHashMap, LongFloatHashMap, LongHashSet, LongIntHashMap, LongLongHashMap, LongObjectHashMap, LongPgmIndex, LongPgmIndex.LongBuilder, LongShortHashMap, LongStack, ObjectArrayDeque, ObjectArrayList, ObjectByteHashMap, ObjectByteIdentityHashMap, ObjectCharHashMap, ObjectCharIdentityHashMap, ObjectDoubleHashMap, ObjectDoubleIdentityHashMap, ObjectFloatHashMap, ObjectFloatIdentityHashMap, ObjectHashSet, ObjectIdentityHashSet, ObjectIntHashMap, ObjectIntIdentityHashMap, ObjectLongHashMap, ObjectLongIdentityHashMap, ObjectObjectHashMap, ObjectObjectIdentityHashMap, ObjectShortHashMap, ObjectShortIdentityHashMap, ObjectStack, PlaModel, ShortArrayDeque, ShortArrayList, ShortByteHashMap, ShortCharHashMap, ShortDoubleHashMap, ShortFloatHashMap, ShortHashSet, ShortIntHashMap, ShortLongHashMap, ShortObjectHashMap, ShortShortHashMap, ShortStack

public interface Accountable
Anything that could be accounted for memory usage

Partly forked from Lucene tag releases/lucene-solr/8.5.1

  • Method Summary

    Modifier and Type
    Method
    Description
    long
    Allocated memory estimation
    long
    Bytes that is actually been used
  • Method Details

    • ramBytesAllocated

      long ramBytesAllocated()
      Allocated memory estimation
      Returns:
      Ram allocated in bytes
    • ramBytesUsed

      long ramBytesUsed()
      Bytes that is actually been used
      Returns:
      Ram used in bytes