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 <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Arik Hadas <[email protected]>
Gerrit-Reviewer: Michael Kublin <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to