private static class SearcherLifetimeManager.SearcherTracker extends java.lang.Object implements java.lang.Comparable<SearcherLifetimeManager.SearcherTracker>, java.io.Closeable
| Modifier and Type | Field and Description |
|---|---|
double |
recordTimeSec |
IndexSearcher |
searcher |
long |
version |
| Constructor and Description |
|---|
SearcherTracker(IndexSearcher searcher) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
compareTo(SearcherLifetimeManager.SearcherTracker other) |
public final IndexSearcher searcher
public final double recordTimeSec
public final long version
public SearcherTracker(IndexSearcher searcher)
public int compareTo(SearcherLifetimeManager.SearcherTracker other)
compareTo in interface java.lang.Comparable<SearcherLifetimeManager.SearcherTracker>public void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOException