Actor classes should implement this partialFunction for standard actor message handling
Actor classes should implement this partialFunction for standard actor message handling
postStop() is called when actor is stopped or restarted due to Exceptions *
postStop() is called when actor is stopped or restarted due to Exceptions *
preRestart() is called when actor is killed due to exception, and will be restarted.
preRestart() is called when actor is killed due to exception, and will be restarted. It is run on the current actor instance that is about to be killed. We just log errors. The super (original) method should call postStop() and shut down children as well.
Stackable traits should override and call super.receive(x) for stacking functionality
Stackable traits should override and call super.receive(x) for stacking functionality
Base class that includes Slf4jLogging and ActorMetrics for convenience