accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ctubbsii <>
Subject [GitHub] accumulo pull request #207: ACCUMULO-4446 Making changes to 1.7
Date Mon, 30 Jan 2017 19:19:54 GMT
Github user ctubbsii commented on a diff in the pull request:
    --- Diff: server/monitor/src/main/java/org/apache/accumulo/monitor/ ---
    @@ -642,7 +643,7 @@ private void getMonitorLock() throws KeeperException, InterruptedException
    -"Got Monitor lock.");
    +"Acquired Monitor Lock " + monitorLock.getLockPath());
    --- End diff --
    For what it's worth, Log4J 2.4 and higher support lambdas using a `Supplier` interface
for this purpose. Java 8 java.util.logging and an SLF4J add-on also support this.
    I personally find the deferred execution more clean with lambdas than with SLF4J's substitution
syntax, but switching away from SLF4J in favor of something which supports suppliers would
have to be a separate issue. If we didn't want to switch, we *could* create a simple wrapper
facade to support deferred execution (also a separate issue, if we wanted to pursue that).

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

View raw message