public class SimpleDBUpdateExecute extends Object implements UpdateExecution
Constructor and Description |
---|
SimpleDBUpdateExecute(Command command,
SimpleDBConnection connection) |
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.
|
public SimpleDBUpdateExecute(Command command, SimpleDBConnection connection) throws TranslatorException
TranslatorException
public void execute() throws TranslatorException
Execution
execute
in interface Execution
TranslatorException
public int[] getUpdateCounts() throws DataNotAvailableException, TranslatorException
UpdateExecution
getUpdateCounts
in interface UpdateExecution
DataNotAvailableException
TranslatorException
public void close()
Execution
public void cancel() throws TranslatorException
Execution
cancel
in interface Execution
TranslatorException
Copyright © 2013-2014 JBoss by Red Hat. All Rights Reserved.