life cycle

This is a page from my book, “How I Sold My Business: A Personal Diary”

Sunday, September 1, 2002

All of our employees are back to work full-time again, and now we're talking about adding a few contractors to handle any extra work that comes up. Such is the life cycle of the consulting business. I'm happy we talked with all the employees this summer about our financial condition, and even happier that nobody left.

Understanding the methods in the Scala/Akka Actor lifecycle

This is an excerpt from the Scala Cookbook (partially modified for the internet). This is Recipe 13.4, “Understanding the methods in the Scala/Akka Actor lifecycle.”

Problem

You’re creating more complicated actors, and need to understand when the methods on an Actor are called.

Solution

In addition to its constructor, an Actor has the following life-cycle methods: