phoenix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From samarthjain <...@git.apache.org>
Subject [GitHub] phoenix pull request: Mixed R/W workload support
Date Fri, 19 Jun 2015 16:58:31 GMT
Github user samarthjain commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/89#discussion_r32847785
  
    --- Diff: phoenix-pherf/src/main/java/org/apache/phoenix/pherf/jmx/MonitorManager.java
---
    @@ -51,13 +58,11 @@
         private volatile boolean shouldStop = false;
    --- End diff --
    
    shouldStop doesn't need to be volatile. You are already synchronizing accesses to it.
Better would be to make shouldStop final and an AtomicBoolean. 


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message