Package csw.framework.commons
Class CoordinatedShutdownReasons
- java.lang.Object
-
- csw.framework.commons.CoordinatedShutdownReasons
-
public class CoordinatedShutdownReasons extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCoordinatedShutdownReasons.ActorTerminatedReason$Scala API: The shutdown was initiated by actor termination, e.g.static classCoordinatedShutdownReasons.AllActorsWithinContainerTerminatedReason$Scala API: The shutdown was initiated by Container when all the actors running within a container gets terminatedstatic classCoordinatedShutdownReasons.ApplicationFinishedReason$Scala API: The shutdown was initiated after application finished its job (This is useful for short running applications)static classCoordinatedShutdownReasons.FailedToCreateSupervisorsReason$Scala API: The shutdown was initiated by Container when it failed to spawns supervisorsstatic classCoordinatedShutdownReasons.FailureReasonThe shutdown was initiated by exceptionstatic classCoordinatedShutdownReasons.FailureReason$static classCoordinatedShutdownReasons.ShutdownMessageReceivedReason$Scala API: The shutdown was initiated by Actor on receiving external Shutdown message
-
Constructor Summary
Constructors Constructor Description CoordinatedShutdownReasons()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static akka.actor.CoordinatedShutdown.ReasonactorTerminatedReason()Java API: The shutdown was initiated by actor termination, e.g.static akka.actor.CoordinatedShutdown.ReasonallActorsWithinContainerTerminatedReason()Java API: The shutdown was initiated by Container when all the actors running within a container gets terminatedstatic akka.actor.CoordinatedShutdown.ReasonapplicationFinishedReason()Java API: The shutdown was initiated after application finished its job (This is useful for short running applications)static akka.actor.CoordinatedShutdown.ReasonfailedToCreateSupervisorsReason()Java API: The shutdown was initiated by Container when it failed to spawns supervisorsstatic akka.actor.CoordinatedShutdown.ReasonshutdownMessageReceivedReason()Java API: The shutdown was initiated by Actor on receiving external Shutdown message
-
-
-
Method Detail
-
applicationFinishedReason
public static akka.actor.CoordinatedShutdown.Reason applicationFinishedReason()
Java API: The shutdown was initiated after application finished its job (This is useful for short running applications)- Returns:
- (undocumented)
-
actorTerminatedReason
public static akka.actor.CoordinatedShutdown.Reason actorTerminatedReason()
Java API: The shutdown was initiated by actor termination, e.g. In Actors PostStop hook- Returns:
- (undocumented)
-
shutdownMessageReceivedReason
public static akka.actor.CoordinatedShutdown.Reason shutdownMessageReceivedReason()
Java API: The shutdown was initiated by Actor on receiving external Shutdown message- Returns:
- (undocumented)
-
failedToCreateSupervisorsReason
public static akka.actor.CoordinatedShutdown.Reason failedToCreateSupervisorsReason()
Java API: The shutdown was initiated by Container when it failed to spawns supervisors- Returns:
- (undocumented)
-
allActorsWithinContainerTerminatedReason
public static akka.actor.CoordinatedShutdown.Reason allActorsWithinContainerTerminatedReason()
Java API: The shutdown was initiated by Container when all the actors running within a container gets terminated- Returns:
- (undocumented)
-
-