Class ByteBlockPool.DirectTrackingAllocator

java.lang.Object
org.apache.lucene.util.ByteBlockPool.Allocator
org.apache.lucene.util.ByteBlockPool.DirectTrackingAllocator
Enclosing class:
ByteBlockPool

public static class ByteBlockPool.DirectTrackingAllocator extends ByteBlockPool.Allocator
A simple ByteBlockPool.Allocator that never recycles, but tracks how much total RAM is in use.
  • Constructor Details

    • DirectTrackingAllocator

      public DirectTrackingAllocator(Counter bytesUsed)
    • DirectTrackingAllocator

      public DirectTrackingAllocator(int blockSize, Counter bytesUsed)
  • Method Details