A
- common representation form for all action commands (typically Json or GenericRecord/SpecificRecord for Avro)D
- intermediate decoded input type (this can be specific to this action processor)K
- key for the output topic (if the result of async invocation is written to an output topic)O
- output value returned by async functionR
- final result type that ends up in output topic (if output is generated)public final class AsyncContext<A,D,K,O,R> extends Object
Modifier and Type | Field and Description |
---|---|
ActionSpec<A> |
actionSpec |
TopicNamer |
actionTopicNamer |
AsyncSpec<A,D,K,O,R> |
asyncSpec |
ScheduledExecutorService |
executor |
Constructor and Description |
---|
AsyncContext() |
Modifier and Type | Method and Description |
---|---|
io.simplesource.saga.action.internal.ActionContext<A> |
getActionContext() |
public final ActionSpec<A> actionSpec
public final TopicNamer actionTopicNamer
public final ScheduledExecutorService executor
public io.simplesource.saga.action.internal.ActionContext<A> getActionContext()
Copyright © 2019. All rights reserved.