Class BytesRefArray.SortState

java.lang.Object
org.apache.lucene.util.BytesRefArray.SortState
All Implemented Interfaces:
Accountable
Enclosing class:
BytesRefArray

public static final class BytesRefArray.SortState extends Object implements Accountable
Used to iterate the elements of an array in a given order.
  • Method Details

    • ramBytesUsed

      public long ramBytesUsed()
      Description copied from interface: Accountable
      Returns an estimate of the JVM heap memory used by this object in bytes. The method name uses "ram" for historical reasons; only JVM heap memory should be reported. Off-heap resources such as memory-mapped files or native direct buffers should not be included. Negative values are illegal.
      Specified by:
      ramBytesUsed in interface Accountable