org.apache.solr.core

## Interface ShutdownAwareDirectory

- All Known Implementing Classes:
    BlockDirectory

      public interface ShutdownAwareDirectory

  `CachingDirectoryFactory` will call this method rather than `Directory.close()` on shutdown if a Directory implements this interface.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `closeOnShutdown()`

- - ### Method Detail

    - #### closeOnShutdown

          void closeOnShutdown()
                        throws IOException

      Throws:
        `IOException`

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