org.hibernate.search.indexes.impl

## Class NotSharedReaderProvider

- java.lang.Object
- - org.hibernate.search.indexes.impl.NotSharedReaderProvider

- All Implemented Interfaces:
    DirectoryBasedReaderProvider, ReaderProvider

      public class NotSharedReaderProvider
      extends Object
      implements DirectoryBasedReaderProvider

  Open a reader each time
  Author:
    Emmanuel Bernard, Sanne Grinovero

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `NotSharedReaderProvider()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `closeIndexReader(IndexReader reader)`
    `void` | `initialize(DirectoryBasedIndexManager indexManager, Properties props)`
    `DirectoryReader` | `openIndexReader()`
    `void` | `stop()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### NotSharedReaderProvider

          public NotSharedReaderProvider()

  - ### Method Detail

    - #### openIndexReader

          public DirectoryReader openIndexReader()

      Specified by:
        `openIndexReader` in interface `ReaderProvider`

    - #### closeIndexReader

          public void closeIndexReader(IndexReader reader)

      Specified by:
        `closeIndexReader` in interface `ReaderProvider`

    - #### initialize

          public void initialize(DirectoryBasedIndexManager indexManager,
                                 Properties props)

      Specified by:
        `initialize` in interface `DirectoryBasedReaderProvider`

    - #### stop

          public void stop()

      Specified by:
        `stop` in interface `DirectoryBasedReaderProvider`

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