Package akka.javasdk.view
Interface TableUpdater.Effect<S>
- Type Parameters:
S
- The type of the row for this table.
- Enclosing class:
TableUpdater<S>
public static interface TableUpdater.Effect<S>
An UpdateEffect is a description of what the runtime needs to do after the command is handled.
You can think of it as a set of instructions you are passing to the runtime, which will process
the instructions on your behalf.
Each component defines its own effects, which are a set of predefined operations that match the capabilities of that component.
A View UpdateEffect can either:
- update the view row
- delete the view row
- ignore the event or state change notification (and not update the view state)
Construct the effect that is returned by the command handler. The effect describes next processing actions, such as emitting events and sending a reply.
-
Nested Class Summary