Moti Asayag has posted comments on this change. Change subject: gluster: Alert if volume snapshot max soft limit reached ......................................................................
Patch Set 2: (1 comment) https://gerrit.ovirt.org/#/c/39231/2/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/GlusterUtil.java File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/GlusterUtil.java: Line 54: import org.w3c.dom.Element; Line 55: import org.w3c.dom.Node; Line 56: import org.w3c.dom.NodeList; Line 57: Line 58: public class GlusterUtil { this class is a good candidate to be injected by the CDI, and annotated by @Singleton instead of using the getInstance() method. It shouldn't be part of this patch, but as it grows, it will make the transition to CDI more complex/extensive work. Line 59: private static GlusterUtil instance = new GlusterUtil(); Line 60: private Logger log = LoggerFactory.getLogger(getClass()); Line 61: private static final int SSH_PORT = 22; Line 62: private static final String PEER = "peer"; -- To view, visit https://gerrit.ovirt.org/39231 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I96ad64aa30a674bdc2c72e617fc71e13854fab85 Gerrit-PatchSet: 2 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Shubhendu Tripathi <shtri...@redhat.com> Gerrit-Reviewer: Eli Mesika <emes...@redhat.com> Gerrit-Reviewer: Kanagaraj M <kmayi...@redhat.com> Gerrit-Reviewer: Moti Asayag <masa...@redhat.com> Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com> Gerrit-Reviewer: Ramesh N <rnach...@redhat.com> Gerrit-Reviewer: Sahina Bose <sab...@redhat.com> Gerrit-Reviewer: Shubhendu Tripathi <shtri...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches