deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koper, Dies" <>
Subject java.util.Timer equivalent in Ruby?
Date Fri, 05 Apr 2013 00:22:58 GMT
> that points out that (1) this work really should be done in the
> background (what happens when somebody tries to start a system with a
> gigantic number of instances in it ?) and (2) that error handling needs

Is there java.util.Timer-like functionality in Ruby?
I'd like to have a single additional thread, shared by all providers, where I can send tasks
off to for either single execution (like this one), or schedule with "fixed delay" (i.e. retries
every few minutes when I need to poll state - I have a few of those in the fgcp driver).
Although maybe this task with a gigantic number of instances probably doesn't qualify as "quickly
completing", hogging other tasks...

Dies Koper
View raw message