Class DefaultPersistenceInstanceWriter
java.lang.Object
io.serverlessworkflow.impl.persistence.AbstractPersistenceInstanceWriter
io.serverlessworkflow.impl.persistence.TransactedPersistenceInstanceWriter
io.serverlessworkflow.impl.persistence.DefaultPersistenceInstanceWriter
- All Implemented Interfaces:
PersistenceInstanceWriter,AutoCloseable
-
Field Summary
Fields inherited from class io.serverlessworkflow.impl.persistence.AbstractPersistenceInstanceWriter
CLOUD_EVENT_IDS -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefaultPersistenceInstanceWriter(PersistenceInstanceStore store, PersistenceExecutor persistenceExecutor) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoTransaction(Consumer<PersistenceInstanceOperations> operation, io.serverlessworkflow.impl.WorkflowDefinitionData definition) protected PersistenceExecutorMethods inherited from class io.serverlessworkflow.impl.persistence.TransactedPersistenceInstanceWriter
close, doCompleteInstance, doStartInstance, doTransactionMethods inherited from class io.serverlessworkflow.impl.persistence.AbstractPersistenceInstanceWriter
aborted, completed, failed, removeProcessInstance, resumed, started, suspended, taskCompleted, taskRetried, taskStarted
-
Constructor Details
-
DefaultPersistenceInstanceWriter
protected DefaultPersistenceInstanceWriter(PersistenceInstanceStore store, PersistenceExecutor persistenceExecutor)
-
-
Method Details
-
doTransaction
protected void doTransaction(Consumer<PersistenceInstanceOperations> operation, io.serverlessworkflow.impl.WorkflowDefinitionData definition) - Specified by:
doTransactionin classTransactedPersistenceInstanceWriter
-
persistenceExecutor
- Specified by:
persistenceExecutorin classTransactedPersistenceInstanceWriter
-