GOSSIP-87 removed WORKQUEUE_SIZE metric

Project: http://git-wip-us.apache.org/repos/asf/incubator-gossip/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-gossip/commit/5280dc8a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-gossip/tree/5280dc8a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-gossip/diff/5280dc8a

Branch: refs/heads/master
Commit: 5280dc8a18b951c5061471731a9d54b2eafdfb2d
Parents: 4572eed
Author: pxsalehi <pxsal...@gmail.com>
Authored: Tue Aug 8 19:23:22 2017 +0200
Committer: pxsalehi <pxsal...@gmail.com>
Committed: Tue Aug 8 19:23:22 2017 +0200

----------------------------------------------------------------------
 gossip-base/src/main/java/org/apache/gossip/manager/GossipCore.java | 1 -
 .../main/java/org/apache/gossip/manager/GossipCoreConstants.java    | 1 -
 2 files changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/5280dc8a/gossip-base/src/main/java/org/apache/gossip/manager/GossipCore.java
----------------------------------------------------------------------
diff --git 
a/gossip-base/src/main/java/org/apache/gossip/manager/GossipCore.java 
b/gossip-base/src/main/java/org/apache/gossip/manager/GossipCore.java
index e44302e..384d796 100644
--- a/gossip-base/src/main/java/org/apache/gossip/manager/GossipCore.java
+++ b/gossip-base/src/main/java/org/apache/gossip/manager/GossipCore.java
@@ -68,7 +68,6 @@ public class GossipCore implements GossipCoreConstants {
     perNodeData = new ConcurrentHashMap<>();
     sharedData = new ConcurrentHashMap<>();
     eventManager = new DataEventManager(metrics);
-    metrics.register(WORKQUEUE_SIZE, (Gauge<Integer>)() -> 0);
     metrics.register(PER_NODE_DATA_SIZE, (Gauge<Integer>)() -> 
perNodeData.size());
     metrics.register(SHARED_DATA_SIZE, (Gauge<Integer>)() ->  
sharedData.size());
     metrics.register(REQUEST_SIZE, (Gauge<Integer>)() ->  requests.size());

http://git-wip-us.apache.org/repos/asf/incubator-gossip/blob/5280dc8a/gossip-base/src/main/java/org/apache/gossip/manager/GossipCoreConstants.java
----------------------------------------------------------------------
diff --git 
a/gossip-base/src/main/java/org/apache/gossip/manager/GossipCoreConstants.java 
b/gossip-base/src/main/java/org/apache/gossip/manager/GossipCoreConstants.java
index 6d3765a..9cac7c0 100644
--- 
a/gossip-base/src/main/java/org/apache/gossip/manager/GossipCoreConstants.java
+++ 
b/gossip-base/src/main/java/org/apache/gossip/manager/GossipCoreConstants.java
@@ -18,7 +18,6 @@
 package org.apache.gossip.manager;
 
 public interface GossipCoreConstants {
-  String WORKQUEUE_SIZE = "gossip.core.workqueue.size";
   String PER_NODE_DATA_SIZE = "gossip.core.pernodedata.size"; 
   String SHARED_DATA_SIZE = "gossip.core.shareddata.size";
   String REQUEST_SIZE = "gossip.core.requests.size";

Reply via email to