Package kalix.javasdk.action
Class Action
Object
kalix.javasdk.action.Action
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceA return type to allow returning forwards or failures, and attaching effects to messages. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid_internalSetActionContext(Optional<ActionContext> context) INTERNAL APIprotected final ActionContextAdditional context and metadata for a message handler.protected final ActionContextINTERNAL APIfinal Action.Effect.Buildereffects()final TimerSchedulertimers()Returns aTimerSchedulerthat can be used to schedule further in time.
-
Constructor Details
-
Action
public Action()
-
-
Method Details
-
actionContext
Additional context and metadata for a message handler.It will throw an exception if accessed from constructor.
-
contextForComponents
INTERNAL APISame as actionContext, but if specific error message when accessing components.
-
_internalSetActionContext
INTERNAL API -
effects
-
timers
Returns aTimerSchedulerthat can be used to schedule further in time.
-