Package com.yworkflow.transaction
Interface WorkflowTransactionalVoidOperation<T extends Throwable>
- Type Parameters:
T- the type of exception that can be thrown by the operation
public interface WorkflowTransactionalVoidOperation<T extends Throwable>
Functional interface for transactional operations that do not return a result.
WorkflowTransactionalVoidOperation provides a way to execute operations within a transaction
context without returning a value, ensuring atomicity and consistency of workflow operations.
- Since:
- 1.0
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()Executes the transactional operation without returning a result.
-
Method Details
-
execute
Executes the transactional operation without returning a result.- Throws:
T- if the operation fails
-