Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Changes to the way scheduled jobs are created #154

Merged
merged 1 commit into from Apr 12, 2013
Commits on Apr 12, 2013
  1. Changes to the way jobs are createdand removed.

    goldmann committed Apr 11, 2013
    Now the runtime scheduling using the .schedule, .at and .remove methods
    are executed asynchronously. These methods return CountDownLatch object
    so we can block (if needed) to wait for the task completion or save it
    for later use.
    
    New methods schedule_sync, at_sync and remove_sync were created to
    execute the task in a scynchronous way returning true or false depending
    on the outcome.