public interface MutationAction extends AsyncAware
| Modifier and Type | Method and Description |
|---|---|
default void |
execute()
Execute the INSERT/UPDATE/DELETE action
|
default CompletableFuture<info.archinnov.achilles.type.Empty> |
executeAsync()
Execute the INSERT/UPDATE/DELETE action asynchronously
and return a
CompletableFuture
of Empty object. |
CompletableFuture<ExecutionInfo> |
executeAsyncWithStats()
Execute the INSERT/UPDATE/DELETE action asynchronously
and return a
CompletableFuture
of ExecutionInfo object. |
default ExecutionInfo |
executeWithStats()
Execute the INSERT/UPDATE/DELETE action
and return an
ExecutionInfo object |
extractCauseFromExecutionExceptiondefault void execute()
default ExecutionInfo executeWithStats()
ExecutionInfo objectdefault CompletableFuture<info.archinnov.achilles.type.Empty> executeAsync()
CompletableFuture
of Empty object.
The Empty object is here to avoid returning nullCompletableFuture<ExecutionInfo> executeAsyncWithStats()
CompletableFuture
of ExecutionInfo object.Copyright © 2012-2021. All Rights Reserved.