Interface TimedAction.Effect.Builder

Enclosing interface:
TimedAction.Effect

public static interface TimedAction.Effect.Builder
Construct the effect that is returned by the command handler. The effect describes next processing actions, such as sending a reply.
  • Method Details Link icon

    • done Link icon

      Command was processed successfully.
    • asyncDone Link icon

      TimedAction.Effect asyncDone(CompletionStage<akka.Done> message)
      Command was processed successfully from an async operation result
    • error Link icon

      TimedAction.Effect error(String description)
      Create an error reply.
      Parameters:
      description - The description of the error.
      Returns:
      An error reply.
    • asyncEffect Link icon

      Create a reply from an async operation result returning an effect.
      Parameters:
      futureEffect - The future effect to reply with.
      Returns:
      A reply, the actual type depends on the nested Effect.