GOSSIP-87 removed WORKQUEUE_SIZE metric

This commit is contained in:
pxsalehi
2017-08-08 19:23:22 +02:00
parent 4572eed73d
commit 5280dc8a18
2 changed files with 0 additions and 2 deletions

View File

@ -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());

View File

@ -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";