Main: start the stream metrics pulling

This patch adds a call to main to start the stream metrics pulling.
This commit is contained in:
Amnon Heiman 2015-07-05 11:55:53 +03:00 committed by Amnon Heiman
parent 686207b59a
commit 2ccb657fca

View File

@ -11,6 +11,7 @@ import org.apache.cassandra.db.compaction.CompactionManager;
import org.apache.cassandra.gms.Gossiper;
import org.apache.cassandra.gms.FailureDetector;
import org.apache.cassandra.locator.EndpointSnitchInfo;
import org.apache.cassandra.metrics.StreamingMetrics;
import org.apache.cassandra.net.MessagingService;
import org.apache.cassandra.service.CacheService;
import org.apache.cassandra.service.GCInspector;
@ -34,6 +35,7 @@ public class Main {
CacheService.getInstance();
CompactionManager.getInstance();
GCInspector.register();
StreamingMetrics.register_mbeans();
Thread.sleep(Long.MAX_VALUE);
}