Constructor vs startup method for Microkernels and downloadable API Scaladoc?

9 views
Skip to first unread message

adelbertc

unread,
Aug 31, 2012, 12:20:04 AM8/31/12
to akka...@googlegroups.com
For microkernels, is there a preferred way of doing things in terms of putting "work" in the constructor or startup method or does it not matter? Currently I create an ActorSystem in the constructor and spawn the Workers (I have a Master-Worker system) in the startup.

Also, is there a place to download the Scaladoc for Akka? I can only find links to an "online" version here: http://akka.io/docs/

-Adelbert

Björn Antonsson

unread,
Aug 31, 2012, 2:53:49 AM8/31/12
to akka...@googlegroups.com
Hi Adelbert,

On Friday, 31 August 2012 at 06:20, adelbertc wrote:
For microkernels, is there a preferred way of doing things in terms of putting "work" in the constructor or startup method or does it not matter? Currently I create an ActorSystem in the constructor and spawn the Workers (I have a Master-Worker system) in the startup.

Either create your ActorSystem in the initializer or in the startup() method, but don't create actors before the startup method. If you have multiple bootables they will all be constructed first, and then their startup method will be called in turn.
 
Also, is there a place to download the Scaladoc for Akka? I can only find links to an "online" version here: http://akka.io/docs/

The Scaladoc is part of the zip/tar download http://akka.io/downloads/

B/
 
-Adelbert

--
>>>>>>>>>> Read the docs: http://akka.io/docs/
>>>>>>>>>> Check the FAQ: http://akka.io/faq/
>>>>>>>>>> Search the archives: https://groups.google.com/group/akka-user
---
You received this message because you are subscribed to the Google Groups "Akka User List" group.
To post to this group, send email to akka...@googlegroups.com.
To unsubscribe from this group, send email to akka-user+...@googlegroups.com.
Visit this group at http://groups.google.com/group/akka-user?hl=en.
 
 

-- 
Björn Antonsson
Typesafe - The software stack for applications that scale

Reply all
Reply to author
Forward
0 new messages