Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.search.store
Interface DirectoryProvider<TDirectory extends org.apache.lucene.store.Directory>

All Known Implementing Classes:
  FSDirectoryProvider, RAMDirectoryProvider

    public interface DirectoryProvider<TDirectory extends org.apache.lucene.store.Directory>

Set up and provide a Lucene `Directory` `equals()` and `hashCode()` must guaranty equality between two providers pointing to the same underlying Lucene Store This class must be thread safe regarding `getDirectory()` calls

Author:
  Emmanuel Bernard, Sylvain Vieujot

Method Summary
`TDirectory` | `getDirectory()` Returns an initialized Lucene Directory.
`void` | `initialize(String directoryProviderName, Properties properties)` get the information to initialize the directory and build its hashCode

Method Detail

### initialize

    void initialize(String directoryProviderName,
                    Properties properties)

  get the information to initialize the directory and build its hashCode

### getDirectory

    TDirectory getDirectory()

  Returns an initialized Lucene Directory. This method call must be threadsafe

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD