5039f0603b
This is the skeleton implementation for the MessagingService MBean. More functionality will be add when it will be added to the API.
21 lines
542 B
Java
21 lines
542 B
Java
/*
|
|
* Copyright 2015 Cloudius Systems
|
|
*/
|
|
package com.cloudius.main;
|
|
|
|
import com.cloudius.api.APIClient;
|
|
import org.apache.cassandra.net.MessagingService;
|
|
import org.apache.cassandra.service.StorageService;
|
|
|
|
public class Main {
|
|
|
|
public static void main(String[] args) throws Exception {
|
|
System.out.println("Connecting to " + APIClient.getBaseUrl());
|
|
System.out.println("Starting the JMX server");
|
|
StorageService.getInstance();
|
|
MessagingService.getInstance();
|
|
Thread.sleep(Long.MAX_VALUE);
|
|
}
|
|
|
|
}
|