Class BufferStore

java.lang.Object
org.apache.solr.blockcache.BufferStore
All Implemented Interfaces:
Store

public class BufferStore extends Object implements Store
WARNING: This API is experimental and might change in incompatible ways in the next release.
  • Method Details

    • initNewBuffer

      public static void initNewBuffer(int bufferSize, long totalAmount)
    • initNewBuffer

      public static void initNewBuffer(int bufferSize, long totalAmount, Metrics metrics)
    • instance

      public static Store instance(int bufferSize)
    • takeBuffer

      public byte[] takeBuffer(int bufferSize)
      Specified by:
      takeBuffer in interface Store
    • putBuffer

      public void putBuffer(byte[] buffer)
      Specified by:
      putBuffer in interface Store