Class ByteArrayCache

java.lang.Object
org.apache.nifi.repository.schema.ByteArrayCache

public class ByteArrayCache extends Object
  • Field Details

    • queue

      private final BlockingQueue<byte[]> queue
    • bufferSize

      private final int bufferSize
  • Constructor Details

    • ByteArrayCache

      public ByteArrayCache(int maxCapacity, int bufferSize)
  • Method Details

    • checkOut

      public byte[] checkOut()
    • checkIn

      public void checkIn(byte[] array)