Interface KeyValueEntity.Effect.OnSuccessBuilder<S>

Enclosing interface:
KeyValueEntity.Effect<T>

public static interface KeyValueEntity.Effect.OnSuccessBuilder<S>
  • Method Details

    • thenReply

      <T> KeyValueEntity.Effect<T> thenReply(T message)
      Reply after for example updateState.
      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

      <T> KeyValueEntity.Effect<T> thenReply(T message, Metadata metadata)
      Reply after for example updateState.
      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.