Default gracefully stop behavior for leaf level actors
(Actors only receive the msg as input and send out a result)
towards the GracefulStop
message
Default gracefully stop behavior for leaf level actors
(Actors only receive the msg as input and send out a result)
towards the GracefulStop
message
Simply stop itself
Java API stopping non-leaf actors with default timeout.
Java API stopping non-leaf actors with default timeout.
All non-leaf actors to be stopped.
Java API stopping non-leaf actors.
Java API stopping non-leaf actors.
All non-leaf actors to be stopped.
The timeout.
Default gracefully stop behavior for middle level actors
(Actors rely on the results of other actors to finish their tasks)
towards the GracefulStop
message
Default gracefully stop behavior for middle level actors
(Actors rely on the results of other actors to finish their tasks)
towards the GracefulStop
message
Simply propagate the GracefulStop
message to all actors
that should be stop ahead of this actor
If some actors failed to respond to the GracefulStop
message,
It will send PoisonPill
again
After all the actors get terminated it stops itself
Java API for gracefulStop using the default message - PoisonPill.
Java API for gracefulStop using the default message - PoisonPill.
The target actor to stop.
The timeout.
A CompletionStage carrying true
for success stopping the target.
Java API for gracefulStop.
Java API for gracefulStop.
The target actor to stop.
The timeout.
The message to send to the actor for stopping.
A CompletionStage carrying true
for success stopping the target.
Duration that the actor needs to finish the graceful stop.
Duration that the actor needs to finish the graceful stop. Override it for customized timeout and it will be registered to the reaper Default to 5 seconds
Duration