org.hibernate.search.indexes.spi

## Interface ReaderProvider

- All Known Subinterfaces:
    DirectoryBasedReaderProvider
  All Known Implementing Classes:
    NotSharedReaderProvider, NRTWorkspaceImpl, PeriodicRefreshingReaderProvider, SharingBufferReaderProvider

      public interface ReaderProvider

  Responsible for providing and managing the lifecycle of a read only reader. Note that the reader must be closed once opened using this same service.
  Author:
    Emmanuel Bernard, Sanne Grinovero

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `closeIndexReader(IndexReader reader)`
    `IndexReader` | `openIndexReader()`

- - ### Method Detail

    - #### openIndexReader

          IndexReader openIndexReader()

    - #### closeIndexReader

          void closeIndexReader(IndexReader reader)

Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved