HandlerLifecycle

akka.projection.javadsl.HandlerLifecycle

Attributes

Source:
Handler.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Handler[Envelope]
class ActorHandler[Envelope, T]
class StatefulHandler[State, Envelope]

Members list

Concise view

Value members

Abstract methods

def start(): CompletionStage[Done]

Invoked when the projection is starting, before first envelope is processed. Can be overridden to implement initialization.

Invoked when the projection is starting, before first envelope is processed. Can be overridden to implement initialization.

Attributes

Source:
Handler.scala
def stop(): CompletionStage[Done]

Invoked when the projection has been stopped. Can be overridden to implement resource cleanup.

Invoked when the projection has been stopped. Can be overridden to implement resource cleanup.

Attributes

Source:
Handler.scala