public class DistributedUpdateProcessor extends UpdateRequestProcessor
| Modifier and Type | Class and Description |
|---|---|
static class |
DistributedUpdateProcessor.DistribPhase
Values this processor supports for the
DISTRIB_UPDATE_PARAM. |
static class |
DistributedUpdateProcessor.RetryNode |
| Modifier and Type | Field and Description |
|---|---|
static String |
COMMIT_END_POINT |
static org.slf4j.Logger |
log |
static String |
VERSION_FIELD |
| Constructor and Description |
|---|
DistributedUpdateProcessor(SolrQueryRequest req,
SolrQueryResponse rsp,
UpdateRequestProcessor next) |
| Modifier and Type | Method and Description |
|---|---|
void |
doDeleteByQuery(DeleteUpdateCommand cmd) |
void |
finish() |
static boolean |
getNonZkLeaderAssumption(SolrQueryRequest req)
Returns a boolean indicating wether or not the caller should behave as
if this is the "leader" even when ZooKeeper is not enabled.
|
void |
processAdd(AddUpdateCommand cmd) |
void |
processCommit(CommitUpdateCommand cmd) |
void |
processDelete(DeleteUpdateCommand cmd) |
processMergeIndexes, processRollbackpublic static final org.slf4j.Logger log
public static final String COMMIT_END_POINT
public static final String VERSION_FIELD
public DistributedUpdateProcessor(SolrQueryRequest req, SolrQueryResponse rsp, UpdateRequestProcessor next)
public void processAdd(AddUpdateCommand cmd) throws IOException
processAdd in class UpdateRequestProcessorIOExceptionpublic void processDelete(DeleteUpdateCommand cmd) throws IOException
processDelete in class UpdateRequestProcessorIOExceptionpublic void doDeleteByQuery(DeleteUpdateCommand cmd) throws IOException
IOExceptionpublic void processCommit(CommitUpdateCommand cmd) throws IOException
processCommit in class UpdateRequestProcessorIOExceptionpublic void finish()
throws IOException
finish in class UpdateRequestProcessorIOExceptionpublic static boolean getNonZkLeaderAssumption(SolrQueryRequest req)
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.