Urching-JMX start the column family registration

This adds a call to the ColumnFamilyStore registration, which runs a
timer and check if there are any changes in the registered Mbean.
This commit is contained in:
Amnon Heiman 2015-06-02 10:28:02 +03:00
parent 3e4cefb6bd
commit 815e5b429c

View File

@ -5,6 +5,7 @@ package com.cloudius.urchin.main;
import com.cloudius.urchin.api.APIClient;
import org.apache.cassandra.db.ColumnFamilyStore;
import org.apache.cassandra.db.commitlog.CommitLog;
import org.apache.cassandra.gms.Gossiper;
import org.apache.cassandra.gms.FailureDetector;
@ -23,6 +24,7 @@ public class Main {
Gossiper.getInstance();
EndpointSnitchInfo.getInstance();
FailureDetector.getInstance();
ColumnFamilyStore.register_mbeans();
Thread.sleep(Long.MAX_VALUE);
}