IStoreTransactionScope Interface
public interface IStoreTransactionScope
Allows scoping of a transactional operation on the store.
Method Summary
Modifier and Type | Method and Description |
---|---|
void |
executeCommandBatch(List<StringBuilder> commands)
Executes the given set of commands. |
Store |
executeCommandSingle(StringBuilder command)
Executes the given command. |
Store |
executeOperation(String operationName, JAXBElement operationData)
Executes the given operation using the operationData values as input to the operation. |
Callable<Store |
executeOperationAsync(String operationName, JAXBElement operationData)
Asynchronously executes the given operation using the operationData values as input to the operation. |
Store |
getKind()
Type of transaction scope. |
boolean |
getSuccess()
When set to true, implies that the transaction is ready for commit. |
void | setSuccess(boolean value) |
Method Details
executeCommandBatch
public void executeCommandBatch(List
Executes the given set of commands.
Parameters:
executeCommandSingle
public StoreResults executeCommandSingle(StringBuilder command)
Executes the given command.
Parameters:
Returns:
executeOperation
public StoreResults executeOperation(String operationName, JAXBElement operationData)
Executes the given operation using the operationData values as input to the operation.
Parameters:
Returns:
executeOperationAsync
public Callable
Asynchronously executes the given operation using the operationData values as input to the operation.
Parameters:
Returns:
getKind
public StoreTransactionScopeKind getKind()
Type of transaction scope.
getSuccess
public boolean getSuccess()
When set to true, implies that the transaction is ready for commit.
setSuccess
public void setSuccess(boolean value)
Parameters:
Applies to
Azure SDK for Java