org.apache.solr.handler.component
Class HttpShardHandler
java.lang.Object
org.apache.solr.handler.component.ShardHandler
org.apache.solr.handler.component.HttpShardHandler
public class HttpShardHandler
- extends ShardHandler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HttpShardHandler
public HttpShardHandler(HttpShardHandlerFactory httpShardHandlerFactory,
org.apache.http.client.HttpClient httpClient)
submit
public void submit(ShardRequest sreq,
String shard,
ModifiableSolrParams params)
- Specified by:
submit
in class ShardHandler
takeCompletedIncludingErrors
public ShardResponse takeCompletedIncludingErrors()
- returns a ShardResponse of the last response correlated with a ShardRequest. This won't
return early if it runs into an error.
- Specified by:
takeCompletedIncludingErrors
in class ShardHandler
takeCompletedOrError
public ShardResponse takeCompletedOrError()
- returns a ShardResponse of the last response correlated with a ShardRequest,
or immediately returns a ShardResponse if there was an error detected
- Specified by:
takeCompletedOrError
in class ShardHandler
cancelAll
public void cancelAll()
- Specified by:
cancelAll
in class ShardHandler
checkDistributed
public void checkDistributed(ResponseBuilder rb)
- Specified by:
checkDistributed
in class ShardHandler
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.