9596979899100101102103104105
for (int i = 0; i < 10; i++) { if (!runningMonitor3.isStart()) { runningMonitor3.start(); } sleep(2000L + RandomUtils.nextInt(500)); if (runningMonitor3.check()) { runningMonitor3.stop(); } sleep(2000L + RandomUtils.nextInt(500)); } }