Package com.carrotsearch.hppc
Interface Accountable
- All Known Subinterfaces:
ArraySizingStrategy
- All Known Implementing Classes:
BoundedProportionalArraySizingStrategy,ByteArrayDeque,ByteArrayList,ByteStack,CharArrayDeque,CharArrayList,CharByteHashMap,CharByteWormMap,CharCharHashMap,CharCharWormMap,CharDoubleHashMap,CharDoubleWormMap,CharFloatHashMap,CharFloatWormMap,CharHashSet,CharIntHashMap,CharIntWormMap,CharLongHashMap,CharLongWormMap,CharObjectHashMap,CharObjectWormMap,CharShortHashMap,CharShortWormMap,CharStack,CharWormSet,DoubleArrayDeque,DoubleArrayList,DoubleStack,FloatArrayDeque,FloatArrayList,FloatStack,IntArrayDeque,IntArrayList,IntByteHashMap,IntByteWormMap,IntCharHashMap,IntCharWormMap,IntDoubleHashMap,IntDoubleWormMap,IntFloatHashMap,IntFloatWormMap,IntHashSet,IntIntHashMap,IntIntWormMap,IntLongHashMap,IntLongWormMap,IntObjectHashMap,IntObjectWormMap,IntShortHashMap,IntShortWormMap,IntStack,IntWormSet,LongArrayDeque,LongArrayList,LongByteHashMap,LongByteWormMap,LongCharHashMap,LongCharWormMap,LongDoubleHashMap,LongDoubleWormMap,LongFloatHashMap,LongFloatWormMap,LongHashSet,LongIntHashMap,LongIntWormMap,LongLongHashMap,LongLongWormMap,LongObjectHashMap,LongObjectWormMap,LongShortHashMap,LongShortWormMap,LongStack,LongWormSet,ObjectArrayDeque,ObjectArrayList,ObjectByteHashMap,ObjectByteIdentityHashMap,ObjectByteWormMap,ObjectCharHashMap,ObjectCharIdentityHashMap,ObjectCharWormMap,ObjectDoubleHashMap,ObjectDoubleIdentityHashMap,ObjectDoubleWormMap,ObjectFloatHashMap,ObjectFloatIdentityHashMap,ObjectFloatWormMap,ObjectHashSet,ObjectIdentityHashSet,ObjectIntHashMap,ObjectIntIdentityHashMap,ObjectIntWormMap,ObjectLongHashMap,ObjectLongIdentityHashMap,ObjectLongWormMap,ObjectObjectHashMap,ObjectObjectIdentityHashMap,ObjectObjectWormMap,ObjectShortHashMap,ObjectShortIdentityHashMap,ObjectShortWormMap,ObjectStack,ObjectWormSet,ShortArrayDeque,ShortArrayList,ShortByteHashMap,ShortByteWormMap,ShortCharHashMap,ShortCharWormMap,ShortDoubleHashMap,ShortDoubleWormMap,ShortFloatHashMap,ShortFloatWormMap,ShortHashSet,ShortIntHashMap,ShortIntWormMap,ShortLongHashMap,ShortLongWormMap,ShortObjectHashMap,ShortObjectWormMap,ShortShortHashMap,ShortShortWormMap,ShortStack,ShortWormSet
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 TypeMethodDescriptionlongAllocated memory estimationlongBytes 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
-