Package kalix.javasdk.valueentity
Interface ValueEntity.Effect.OnSuccessBuilder<S>
- Enclosing interface:
- ValueEntity.Effect<T>
public static interface ValueEntity.Effect.OnSuccessBuilder<S>
-
Method Summary
Modifier and TypeMethodDescription<T> ValueEntity.Effect<T>
thenForward
(DeferredCall<? extends Object, T> serviceCall) Create a forward reply after for exampleupdateState
.<T> ValueEntity.Effect<T>
thenReply
(T message) Reply after for exampleupdateState
.<T> ValueEntity.Effect<T>
Reply after for exampleupdateState
.
-
Method Details
-
thenReply
Reply after for exampleupdateState
.- Type Parameters:
T
- The type of the message that must be returned by this call.- Parameters:
message
- The payload of the reply.- Returns:
- A message reply.
-
thenReply
Reply after for exampleupdateState
.- Type Parameters:
T
- The type of the message that must be returned by this call.- Parameters:
message
- The payload of the reply.metadata
- The metadata for the message.- Returns:
- A message reply.
-
thenForward
Create a forward reply after for exampleupdateState
.- Type Parameters:
T
- The type of the message that must be returned by this call.- Parameters:
serviceCall
- The service call representing the forward.- Returns:
- A forward reply.
-