protected final class PeriodicRefreshingReaderProvider.PerDirectoryLatestReader extends Object
Constructor and Description |
---|
PerDirectoryLatestReader(Directory directory) |
Modifier and Type | Method and Description |
---|---|
DirectoryReader |
getLatestReader() |
void |
refreshIfNeeded() |
public PerDirectoryLatestReader(Directory directory) throws IOException
directory
- The Directory
for which we manage the IndexReader
.IOException
- when the index initialization fails.public DirectoryReader getLatestReader()
public void refreshIfNeeded()
Copyright © 2006-2017 Red Hat, Inc. All Rights Reserved