Change in ovirt-engine[master]: Add sequential Job type to engine's Quartz scheduler abstrac...

rgolan at redhat.com rgolan at redhat.com
Wed Feb 24 09:38:39 UTC 2016


Roy Golan has submitted this change and it was merged.

Change subject: Add sequential Job type to engine's Quartz scheduler abstraction
......................................................................


Add sequential Job type to engine's Quartz scheduler abstraction

This patch adds a allowConcurrent field to the timer annotation.
Both scheduling implementations then use the right type of Job
that allows or disallows concurrent job scheduling.

Change-Id: Ic7d2246150eba94835efc1691a8c7541e85f773b
Signed-off-by: Martin Sivak <msivak at redhat.com>
---
M backend/manager/modules/scheduler/src/main/java/org/ovirt/engine/core/utils/timer/DBSchedulerUtilQuartzImpl.java
M backend/manager/modules/scheduler/src/main/java/org/ovirt/engine/core/utils/timer/FixedDelayJobListener.java
M backend/manager/modules/scheduler/src/main/java/org/ovirt/engine/core/utils/timer/JobWrapper.java
M backend/manager/modules/scheduler/src/main/java/org/ovirt/engine/core/utils/timer/OnTimerMethodAnnotation.java
A backend/manager/modules/scheduler/src/main/java/org/ovirt/engine/core/utils/timer/PersistentSequentialJobWrapper.java
M backend/manager/modules/scheduler/src/main/java/org/ovirt/engine/core/utils/timer/SchedulerUtilQuartzImpl.java
A backend/manager/modules/scheduler/src/main/java/org/ovirt/engine/core/utils/timer/SequentialJobWrapper.java
A backend/manager/modules/scheduler/src/test/java/org/ovirt/engine/core/utils/timer/JobWrapperTest.java
8 files changed, 97 insertions(+), 3 deletions(-)

Approvals:
  Martin Sivák: Verified
  Jenkins CI: Passed CI tests
  Roy Golan: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/53296
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ic7d2246150eba94835efc1691a8c7541e85f773b
Gerrit-PatchSet: 6
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Roman Mohr <rmohr at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list