public class HttpShardHandler extends ShardHandler
Constructor and Description |
---|
HttpShardHandler(HttpShardHandlerFactory httpShardHandlerFactory,
org.apache.http.client.HttpClient httpClient) |
Modifier and Type | Method and Description |
---|---|
void |
cancelAll() |
void |
checkDistributed(ResponseBuilder rb) |
ShardHandlerFactory |
getShardHandlerFactory() |
void |
submit(ShardRequest sreq,
String shard,
ModifiableSolrParams params) |
ShardResponse |
takeCompletedIncludingErrors()
returns a ShardResponse of the last response correlated with a ShardRequest.
|
ShardResponse |
takeCompletedOrError()
returns a ShardResponse of the last response correlated with a ShardRequest,
or immediately returns a ShardResponse if there was an error detected
|
public HttpShardHandler(HttpShardHandlerFactory httpShardHandlerFactory, org.apache.http.client.HttpClient httpClient)
public void submit(ShardRequest sreq, String shard, ModifiableSolrParams params)
submit
in class ShardHandler
public ShardResponse takeCompletedIncludingErrors()
takeCompletedIncludingErrors
in class ShardHandler
public ShardResponse takeCompletedOrError()
takeCompletedOrError
in class ShardHandler
public void cancelAll()
cancelAll
in class ShardHandler
public void checkDistributed(ResponseBuilder rb)
checkDistributed
in class ShardHandler
public ShardHandlerFactory getShardHandlerFactory()
getShardHandlerFactory
in class ShardHandler
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.