Class RAMInputStream

All Implemented Interfaces:
Closeable, AutoCloseable, Cloneable

@Deprecated public class RAMInputStream extends IndexInput implements Cloneable
Deprecated.
This class uses inefficient synchronization and is discouraged in favor of MMapDirectory. It will be removed in future versions of Lucene.
A memory-resident IndexInput implementation.
  • Field Details

    • file

      private final RAMFile file
      Deprecated.
    • length

      private final long length
      Deprecated.
    • currentBuffer

      private byte[] currentBuffer
      Deprecated.
    • currentBufferIndex

      private int currentBufferIndex
      Deprecated.
    • bufferPosition

      private int bufferPosition
      Deprecated.
    • bufferLength

      private int bufferLength
      Deprecated.
  • Constructor Details

  • Method Details