Package akka.javasdk.annotations
Annotation Interface Consume.FromKeyValueEntity
- Enclosing class:
Consume
Annotation for consuming state updates from a
KeyValueEntity
.
The underlying method must be declared to receive one parameter for the received state changes.
-
Required Element Summary
Modifier and TypeRequired ElementDescriptionClass
<? extends KeyValueEntity<?>> Assign the class type of the entity one intends to consume from, which must extendKeyValueEntity
.
-
Element Details
-
value
Class<? extends KeyValueEntity<?>> valueAssign the class type of the entity one intends to consume from, which must extendKeyValueEntity
.
-