Interface MultiConnection
- 
- All Known Implementing Classes:
- MultiReaderBasedConnection
 
 public interface MultiConnectionThis class imitates lucene connection, but works for arbitrary subset of indexes- Since:
- 7.9.0
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ObjectwithReader(EnumSet<SearchIndex> indexes, ILuceneConnection.ReaderAction action)voidwithSearch(EnumSet<SearchIndex> indexes, ILuceneConnection.SearcherAction action)<T> TwithSearcher(EnumSet<SearchIndex> indexes, long searchToken, ILuceneConnection.SearcherWithTokenAction<T> action)<T> TwithSearcher(EnumSet<SearchIndex> indexes, ILuceneConnection.SearcherWithTokenAction<T> action)
 
- 
- 
- 
Method Detail- 
withReaderObject withReader(EnumSet<SearchIndex> indexes, ILuceneConnection.ReaderAction action) throws LuceneException - Throws:
- LuceneException
 
 - 
withSearchvoid withSearch(EnumSet<SearchIndex> indexes, ILuceneConnection.SearcherAction action) throws LuceneException - Throws:
- LuceneException
 
 - 
withSearcher<T> T withSearcher(EnumSet<SearchIndex> indexes, ILuceneConnection.SearcherWithTokenAction<T> action) 
 - 
withSearcher<T> T withSearcher(EnumSet<SearchIndex> indexes, long searchToken, ILuceneConnection.SearcherWithTokenAction<T> action) throws SearchTokenExpiredException - Throws:
- SearchTokenExpiredException
 
 
- 
 
-