You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by al...@apache.org on 2014/08/01 18:47:36 UTC

[2/9] git commit: increase JMX poll frequency slightly (to 3s rather than 500ms) as it's a bit expensive

increase JMX poll frequency slightly (to 3s rather than 500ms) as it's a bit expensive


Project: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/commit/424bda68
Tree: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/tree/424bda68
Diff: http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/diff/424bda68

Branch: refs/heads/master
Commit: 424bda6845aeb67a42e4da2038598a34929493ce
Parents: e58b744
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Authored: Thu Jul 31 02:13:52 2014 -0400
Committer: Alex Heneveld <al...@cloudsoftcorp.com>
Committed: Thu Jul 31 02:15:05 2014 -0400

----------------------------------------------------------------------
 .../src/main/java/brooklyn/entity/java/VanillaJavaAppImpl.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/424bda68/software/base/src/main/java/brooklyn/entity/java/VanillaJavaAppImpl.java
----------------------------------------------------------------------
diff --git a/software/base/src/main/java/brooklyn/entity/java/VanillaJavaAppImpl.java b/software/base/src/main/java/brooklyn/entity/java/VanillaJavaAppImpl.java
index c163251..64577e2 100644
--- a/software/base/src/main/java/brooklyn/entity/java/VanillaJavaAppImpl.java
+++ b/software/base/src/main/java/brooklyn/entity/java/VanillaJavaAppImpl.java
@@ -80,7 +80,7 @@ public class VanillaJavaAppImpl extends SoftwareProcessImpl implements VanillaJa
         super.connectSensors();
 
         if (((VanillaJavaAppDriver) getDriver()).isJmxEnabled()) {
-            jmxPollPeriod = (jmxPollPeriod > 0) ? jmxPollPeriod : 500;
+            jmxPollPeriod = (jmxPollPeriod > 0) ? jmxPollPeriod : 3000;
             jmxFeed = JavaAppUtils.connectMXBeanSensors(this, jmxPollPeriod);
         }