protected class AnalyticsShardRequestManager.AnalyticsShardRequester extends Object implements Callable<SolrException>
AnalyticsHandler
. The results are processed by an
AnalyticsShardResponseParser
constructed with the AnalyticsRequestManager
passed
to the parent AnalyticsShardRequestManager
.Constructor and Description |
---|
AnalyticsShardRequester(String baseUrl)
Create a requester for analytics shard data.
|
Modifier and Type | Method and Description |
---|---|
SolrException |
call()
Send the analytics request to the shard.
|
void |
close()
Close the connection to the solr instance.
|
public AnalyticsShardRequester(String baseUrl)
baseUrl
- of the replica to send the request topublic SolrException call() throws Exception
call
in interface Callable<SolrException>
Exception
public void close() throws IOException
IOException
- if an error occurs while closing the connectionCopyright © 2000-2018 Apache Software Foundation. All Rights Reserved.