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(a)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(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina(a)redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak(a)redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag(a)redhat.com>
Gerrit-Reviewer: Roman Mohr <rmohr(a)redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>