|Checking if Actor is working||Mauri||7/26/12 8:24 AM|
I'm creating an actor like this, in order to call it every 15 minutes.
myActorCancellable = actorSystem.scheduler().schedule(Duration.Zero(),
But as the run of this actor can last longer than 15 Minutes, I want to check, if it is running, before sending a Start-Signal. Does anyone how to achieve that?
Thank you very much.
|Re: Checking if Actor is working||Johan Andren||7/26/12 9:55 AM|
Not entirely sure I understand what you want to achieve but one possible solutions could be:
Let the work actor do the actual work in a future and ignore new "START" messages if there is a future that is not complete.
|Re: [play-framework] Re: Checking if Actor is working||JCranky||7/28/12 5:03 AM|
This 15 minutes run, which can be more, is it blocking?
Paulo "JCranky" Siqueira
Em 26/07/2012 13:55, "johanandren" <johan....@mejsla.se> escreveu:
Not entirely sure I understand what you want to achieve but one possible solutions could be:--