Package org.apache.solr.analytics.stream
Class AnalyticsShardRequestManager.AnalyticsShardRequester
- java.lang.Object
- 
- org.apache.solr.analytics.stream.AnalyticsShardRequestManager.AnalyticsShardRequester
 
- 
- All Implemented Interfaces:
- Callable<org.apache.solr.common.SolrException>
 - Enclosing class:
- AnalyticsShardRequestManager
 
 protected class AnalyticsShardRequestManager.AnalyticsShardRequester extends Object implements Callable<org.apache.solr.common.SolrException> A class that opens a connection to a given solr instance, a selected replica of the queried collection, and sends a analytics request to theAnalyticsHandler. The results are processed by anAnalyticsShardResponseParserconstructed with theAnalyticsRequestManagerpassed to the parentAnalyticsShardRequestManager.
- 
- 
Constructor SummaryConstructors Constructor Description AnalyticsShardRequester(String baseUrl)Create a requester for analytics shard data.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.solr.common.SolrExceptioncall()Send the analytics request to the shard.voidclose()Close the connection to the solr instance.
 
- 
- 
- 
Constructor Detail- 
AnalyticsShardRequesterpublic AnalyticsShardRequester(String baseUrl) Create a requester for analytics shard data.- Parameters:
- baseUrl- of the replica to send the request to
 
 
- 
 - 
Method Detail- 
callpublic org.apache.solr.common.SolrException call() throws ExceptionSend the analytics request to the shard.
 - 
closepublic void close() throws IOExceptionClose the connection to the solr instance.- Throws:
- IOException- if an error occurs while closing the connection
 
 
- 
 
-