Change in ovirt-engine[master]: core: executing squartz job immediately

mkublin at redhat.com mkublin at redhat.com
Sun Feb 3 14:37:05 UTC 2013


Michael Kublin has submitted this change and it was merged.

Change subject: core: executing squartz job immediately
......................................................................


core: executing squartz job immediately

This patch adds an option in the SchedulerUtil API to execute
scheduled job immediately.

SchedulerUtil#triggerJob method, that executes immediately the job with
the given id, was added.

Relevant unit test was added and set to be disabled like the rest of
the similar tests which already exists.

Change-Id: I4661691ae970e7517a4e3a43ae87736ebd1cc15f
Bug-Url: https://bugzilla.redhat.com/888396
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/beans/scheduler/src/main/java/org/ovirt/engine/core/utils/timer/SchedulerUtil.java
M backend/manager/modules/beans/scheduler/src/main/java/org/ovirt/engine/core/utils/timer/SchedulerUtilQuartzImpl.java
M backend/manager/modules/beans/scheduler/src/test/java/org/ovirt/engine/core/utils/timer/SchedulerUtilQuartsImplTest.java
3 files changed, 70 insertions(+), 0 deletions(-)

Approvals:
  Michael Kublin: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/11636
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4661691ae970e7517a4e3a43ae87736ebd1cc15f
Gerrit-PatchSet: 7
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Michael Kublin <mkublin at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>



More information about the Engine-commits mailing list