public abstract class UpdateRequestProcessor extends Object implements Closeable
Modifier and Type | Field and Description |
---|---|
protected UpdateRequestProcessor |
next |
Constructor and Description |
---|
UpdateRequestProcessor(UpdateRequestProcessor next) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected void |
doClose()
Override to implement resource release logic that *must* be called at the
end of a request.
|
void |
finish() |
void |
processAdd(AddUpdateCommand cmd) |
void |
processCommit(CommitUpdateCommand cmd) |
void |
processDelete(DeleteUpdateCommand cmd) |
void |
processMergeIndexes(MergeIndexesCommand cmd) |
void |
processRollback(RollbackUpdateCommand cmd) |
protected final UpdateRequestProcessor next
public UpdateRequestProcessor(UpdateRequestProcessor next)
public void processAdd(AddUpdateCommand cmd) throws IOException
IOException
public void processDelete(DeleteUpdateCommand cmd) throws IOException
IOException
public void processMergeIndexes(MergeIndexesCommand cmd) throws IOException
IOException
public void processCommit(CommitUpdateCommand cmd) throws IOException
IOException
public void processRollback(RollbackUpdateCommand cmd) throws IOException
IOException
public void finish() throws IOException
IOException
public final void close() throws IOException
close
in interface Closeable
close
in interface AutoCloseable
IOException
protected void doClose()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.