Liran Zelkha has posted comments on this change. Change subject: core: Support transactions for Quartz jobs ......................................................................
Patch Set 28: (1 comment) https://gerrit.ovirt.org/#/c/36370/28/backend/manager/modules/scheduler/src/main/java/org/ovirt/engine/core/utils/timer/JobWrapper.java File backend/manager/modules/scheduler/src/main/java/org/ovirt/engine/core/utils/timer/JobWrapper.java: Line 47: final Method methodToRun; Line 48: if (!cachedMethods.containsKey(methodKey)) { Line 49: cachedMethods.putIfAbsent(methodKey, getMethodToRun(instance, methodName)); Line 50: } Line 51: methodToRun = cachedMethods.get(methodKey); > on the left side there used to be check for the existence of the method: if Thanks. So can you merge? Line 52: invokeMethod(instance, methodToRun, methodParams); Line 53: } catch (Exception e) { Line 54: log.error("Failed to invoke scheduled method {}: {}", methodName, e.getMessage()); Line 55: log.debug("Exception", e); -- To view, visit https://gerrit.ovirt.org/36370 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I7eb67e6aeef9080b5647cb84b1cf701c720ce29d Gerrit-PatchSet: 28 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Liran Zelkha <[email protected]> Gerrit-Reviewer: Eli Mesika <[email protected]> Gerrit-Reviewer: Liran Zelkha <[email protected]> Gerrit-Reviewer: Moti Asayag <[email protected]> Gerrit-Reviewer: Omer Frenkel <[email protected]> Gerrit-Reviewer: Oved Ourfali <[email protected]> Gerrit-Reviewer: Roy Golan <[email protected]> Gerrit-Reviewer: Yair Zaslavsky <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
