public void executeStandalone ( JmxProcess process ) throws Exception { this . masterServersList = process . getServers ( ) ; this . serverScheduler . start ( ) ; this . processServersIntoJobs ( ) ; // Sleep for 10 seconds to wait for jobs to complete. // There should be a better way, but it seems that way isn't working // right now. Thread . sleep ( MILLISECONDS . convert ( 10 , SECONDS ) ) ; }
Handy method which runs the JmxProcess