I'm starting to use Akka with Java.
If I send a message to an actor that starts a cpu-bound process, is it possible to stop this actor while he is processing that message or I have to wait that it ends it? (I've seen that stop() anf kill first wait the end).
How can I run actors in parallel? Is it possible to see 2 actors like 2 parallel threads and kill one of those when I want?
Thread.interrupted()
. It doesn't look like such a feature ever made it in. I think you may need to invent your own way of breaking your CPU work into chunks and run one chunk per message received. - Chris Martin