You could use the scheduler service in akka.
http://doc.akka.io/docs/akka/2.0/java/scheduler.html
http://doc.akka.io/docs/akka/2.0/scala/scheduler.html
Basically you create an actor that executes your logic if it receives a certain message.
You could use the scheduler service in akka.
http://doc.akka.io/docs/akka/2.0/java/scheduler.html
http://doc.akka.io/docs/akka/2.0/scala/scheduler.html
Basically you create an actor that executes your logic if it receives a certain message.