Checking if Actor is working

Showing 1-3 of 3 messages
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(),
                Duration.create(15, TimeUnit.MINUTES),

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.

This message has been hidden because it was flagged for abuse.
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" <> escreveu:
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.

You received this message because you are subscribed to the Google Groups "play-framework" group.
To view this discussion on the web visit
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at