org.apache.lucene.index

## Interface IndexReader.ReaderClosedListener

- Enclosing class:
    IndexReader

      public static interface IndexReader.ReaderClosedListener

  A custom listener that's invoked when the IndexReader is closed.
  WARNING: This API is experimental and might change in incompatible ways in the next release.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `onClose(IndexReader reader)` Invoked when the `IndexReader` is closed.

- - ### Method Detail

    - #### onClose

          void onClose(IndexReader reader)
                throws IOException

      Invoked when the `IndexReader` is closed.
      Throws:
        `IOException`

Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.