Main: call the GCInspector register method

Starts the GCInspector

Signed-off-by: Amnon Heiman <amnon@scylladb.com>
This commit is contained in:
Amnon Heiman 2015-12-07 12:56:59 +02:00
parent 7b9ea44354
commit 7f945be732
1 changed files with 2 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import org.apache.cassandra.gms.FailureDetector;
import org.apache.cassandra.locator.EndpointSnitchInfo;
import org.apache.cassandra.net.MessagingService;
import org.apache.cassandra.service.CacheService;
import org.apache.cassandra.service.GCInspector;
import org.apache.cassandra.service.StorageProxy;
import org.apache.cassandra.service.StorageService;
@ -32,6 +33,7 @@ public class Main {
ColumnFamilyStore.register_mbeans();
CacheService.getInstance();
CompactionManager.getInstance();
GCInspector.register();
Thread.sleep(Long.MAX_VALUE);
}