Package | Description |
---|---|
io.simplesource.saga.client.dsl |
Modifier and Type | Method and Description |
---|---|
SagaDSL.SubSaga<A> |
SagaDSL.SagaBuilder.addAction(ActionId actionId,
String actionType,
A actionCommand)
Adds an action with no undo action command, creating a sub saga with a single action.
|
SagaDSL.SubSaga<A> |
SagaDSL.SagaBuilder.addAction(ActionId actionId,
String actionType,
A actionCommand,
A undoActionCommand)
Adds an action with an undo action command, creating a sub saga with a single action.
|
SagaDSL.SubSaga<A> |
SagaDSL.SagaBuilder.addAction(String actionType,
A actionCommand)
Adds an action with a random Id and no undo action command, creating a sub saga with a single action.
|
SagaDSL.SubSaga<A> |
SagaDSL.SagaBuilder.addAction(String actionType,
A actionCommand,
A undoActionCommand)
Adds an action with a random Id and an undo action command, creating a sub saga with a single action.
|
SagaDSL.SubSaga<A> |
SagaDSL.SubSaga.andThen(SagaDSL.SubSaga<A> next)
Defines a dependency between two saga actions (or two sub-sagas).
|
static <A> SagaDSL.SubSaga<A> |
SagaDSL.inParallel(Collection<SagaDSL.SubSaga<A>> subSagas)
Creates a subsagas consisting of a collection of subsagas executing in parallel.
|
static <A> SagaDSL.SubSaga<A> |
SagaDSL.inParallel(SagaDSL.SubSaga<A> subSaga,
SagaDSL.SubSaga<A>... subSagas)
Creates a subsagas consisting of one or more subsagas executing in parallel.
|
static <A> SagaDSL.SubSaga<A> |
SagaDSL.inSeries(Iterable<SagaDSL.SubSaga<A>> subSagas)
Creates a subsagas consisting of an ordered collection of subsagas executing in series.
|
static <A> SagaDSL.SubSaga<A> |
SagaDSL.inSeries(SagaDSL.SubSaga<A> subSaga,
SagaDSL.SubSaga<A>... subSagas)
Creates a subsagas consisting of one or more subsagas executing in series.
|
Modifier and Type | Method and Description |
---|---|
SagaDSL.SubSaga<A> |
SagaDSL.SubSaga.andThen(SagaDSL.SubSaga<A> next)
Defines a dependency between two saga actions (or two sub-sagas).
|
static <A> SagaDSL.SubSaga<A> |
SagaDSL.inParallel(SagaDSL.SubSaga<A> subSaga,
SagaDSL.SubSaga<A>... subSagas)
Creates a subsagas consisting of one or more subsagas executing in parallel.
|
static <A> SagaDSL.SubSaga<A> |
SagaDSL.inParallel(SagaDSL.SubSaga<A> subSaga,
SagaDSL.SubSaga<A>... subSagas)
Creates a subsagas consisting of one or more subsagas executing in parallel.
|
static <A> SagaDSL.SubSaga<A> |
SagaDSL.inSeries(SagaDSL.SubSaga<A> subSaga,
SagaDSL.SubSaga<A>... subSagas)
Creates a subsagas consisting of one or more subsagas executing in series.
|
static <A> SagaDSL.SubSaga<A> |
SagaDSL.inSeries(SagaDSL.SubSaga<A> subSaga,
SagaDSL.SubSaga<A>... subSagas)
Creates a subsagas consisting of one or more subsagas executing in series.
|
Modifier and Type | Method and Description |
---|---|
static <A> SagaDSL.SubSaga<A> |
SagaDSL.inParallel(Collection<SagaDSL.SubSaga<A>> subSagas)
Creates a subsagas consisting of a collection of subsagas executing in parallel.
|
static <A> SagaDSL.SubSaga<A> |
SagaDSL.inSeries(Iterable<SagaDSL.SubSaga<A>> subSagas)
Creates a subsagas consisting of an ordered collection of subsagas executing in series.
|
Copyright © 2019. All rights reserved.