protected final class PeriodicRefreshingReaderProvider.PerDirectoryLatestReader extends Object
Constructor and Description |
---|
PerDirectoryLatestReader(org.apache.lucene.store.Directory directory) |
Modifier and Type | Method and Description |
---|---|
org.apache.lucene.index.DirectoryReader |
getLatestReader() |
void |
refreshIfNeeded() |
public PerDirectoryLatestReader(org.apache.lucene.store.Directory directory) throws IOException
directory
- The Directory
for which we manage the IndexReader
.IOException
- when the index initialization fails.Copyright © 2006–2017 Hibernate. All rights reserved.