142143144145146147148149150151152
new RetryableCallable<Void>() { public Void retriableCall() throws Exception { JMXNodeTool nodetool = JMXNodeTool.instance(config); nodetool.takeSnapshot(snapshotName, null, new String[0]); return null; } }.call(); }