Initilizing the CacheService from Main
This initilize the CacheService MBean in main Signed-off-by: Amnon Heiman <amnon@cloudius-systems.com>
This commit is contained in:
parent
769b222173
commit
a7be16ed99
|
@ -11,6 +11,7 @@ import org.apache.cassandra.gms.Gossiper;
|
||||||
import org.apache.cassandra.gms.FailureDetector;
|
import org.apache.cassandra.gms.FailureDetector;
|
||||||
import org.apache.cassandra.locator.EndpointSnitchInfo;
|
import org.apache.cassandra.locator.EndpointSnitchInfo;
|
||||||
import org.apache.cassandra.net.MessagingService;
|
import org.apache.cassandra.net.MessagingService;
|
||||||
|
import org.apache.cassandra.service.CacheService;
|
||||||
import org.apache.cassandra.service.StorageProxy;
|
import org.apache.cassandra.service.StorageProxy;
|
||||||
import org.apache.cassandra.service.StorageService;
|
import org.apache.cassandra.service.StorageService;
|
||||||
|
|
||||||
|
@ -27,6 +28,7 @@ public class Main {
|
||||||
EndpointSnitchInfo.getInstance();
|
EndpointSnitchInfo.getInstance();
|
||||||
FailureDetector.getInstance();
|
FailureDetector.getInstance();
|
||||||
ColumnFamilyStore.register_mbeans();
|
ColumnFamilyStore.register_mbeans();
|
||||||
|
CacheService.getInstance();
|
||||||
Thread.sleep(Long.MAX_VALUE);
|
Thread.sleep(Long.MAX_VALUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user