public class CouchbaseUpdateExecution extends CouchbaseExecution implements UpdateExecution
connection, executionContext, executionFactory, metadata| Modifier | Constructor and Description |
|---|---|
protected |
CouchbaseUpdateExecution(Command command,
CouchbaseExecutionFactory ef,
ExecutionContext context,
RuntimeMetadata metadata,
CouchbaseConnection conn) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the execution abnormally.
|
void |
close()
Terminates the execution normally.
|
void |
execute()
Execute the associated command.
|
int[] |
getUpdateCounts()
Returns the update counts for the execution.
|
protected CouchbaseUpdateExecution(Command command, CouchbaseExecutionFactory ef, ExecutionContext context, RuntimeMetadata metadata, CouchbaseConnection conn)
public void execute()
throws TranslatorException
Executionexecute in interface ExecutionTranslatorExceptionpublic int[] getUpdateCounts()
throws DataNotAvailableException,
TranslatorException
UpdateExecutiongetUpdateCounts in interface UpdateExecutionDataNotAvailableExceptionTranslatorExceptionpublic void close()
Executionpublic void cancel()
throws TranslatorException
Executioncancel in interface ExecutionTranslatorExceptionCopyright © 2017 JBoss by Red Hat. All rights reserved.