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
IOExceptionpublic void processDelete(DeleteUpdateCommand cmd) throws IOException
IOExceptionpublic void processMergeIndexes(MergeIndexesCommand cmd) throws IOException
IOExceptionpublic void processCommit(CommitUpdateCommand cmd) throws IOException
IOExceptionpublic void processRollback(RollbackUpdateCommand cmd) throws IOException
IOExceptionpublic void finish()
throws IOException
IOExceptionpublic final void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionprotected void doClose()
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.