public class SolrCmdDistributor extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
SolrCmdDistributor.AbortCheck |
static class |
SolrCmdDistributor.Error |
static class |
SolrCmdDistributor.Node |
static class |
SolrCmdDistributor.Request |
static class |
SolrCmdDistributor.Response |
static class |
SolrCmdDistributor.StdNode |
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
log |
static Diagnostics.Callable |
testing_errorHook |
| Constructor and Description |
|---|
SolrCmdDistributor(int numHosts,
UpdateShardHandler updateShardHandler) |
| Modifier and Type | Method and Description |
|---|---|
void |
distribAdd(AddUpdateCommand cmd,
List<SolrCmdDistributor.Node> nodes,
ModifiableSolrParams params) |
void |
distribCommit(CommitUpdateCommand cmd,
List<SolrCmdDistributor.Node> nodes,
ModifiableSolrParams params) |
void |
distribDelete(DeleteUpdateCommand cmd,
List<SolrCmdDistributor.Node> urls,
ModifiableSolrParams params) |
void |
finish() |
SolrCmdDistributor.Response |
getResponse() |
void |
submit(SolrCmdDistributor.Request sreq) |
public static org.slf4j.Logger log
public static Diagnostics.Callable testing_errorHook
public SolrCmdDistributor(int numHosts,
UpdateShardHandler updateShardHandler)
public void finish()
public void distribDelete(DeleteUpdateCommand cmd, List<SolrCmdDistributor.Node> urls, ModifiableSolrParams params) throws IOException
IOExceptionpublic void distribAdd(AddUpdateCommand cmd, List<SolrCmdDistributor.Node> nodes, ModifiableSolrParams params) throws IOException
IOExceptionpublic void distribCommit(CommitUpdateCommand cmd, List<SolrCmdDistributor.Node> nodes, ModifiableSolrParams params) throws IOException
IOExceptionpublic void submit(SolrCmdDistributor.Request sreq)
public SolrCmdDistributor.Response getResponse()
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.