t

akka.projection.scaladsl

HandlerLifecycle

trait HandlerLifecycle extends AnyRef

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HandlerLifecycle
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def start(): Future[Done]

    Invoked when the projection is starting, before first envelope is processed.

    Invoked when the projection is starting, before first envelope is processed. Can be overridden to implement initialization. It is also called when the Projection is restarted after a failure.

  2. def stop(): Future[Done]

    Invoked when the projection has been stopped.

    Invoked when the projection has been stopped. Can be overridden to implement resource cleanup. It is also called when the Projection is restarted after a failure.