170171172173174175176
} } public static TaskTimer getTimer() { return new SimpleTimer(JOBNAME); }
73747576777879
} public static TaskTimer getTimer() { return new SimpleTimer(JOBNAME, 10L * 1000); }
62636465666768
return "Tune-Cassandra"; } public static TaskTimer getTimer() { return new SimpleTimer(JOBNAME); }
84858687888990
/** * Run every 10 Sec */ public static TaskTimer getTimer() { return new SimpleTimer(JOBNAME, 10L * 1000); }
64656667686970
return JOBNAME; } public static TaskTimer getTimer() { return new SimpleTimer(JOBNAME); }
145146147148149150151
/** * Run every 20 Sec */ public static TaskTimer getTimer() { return new SimpleTimer(JOBNAME, 20L * 1000); }
return JOBNAME; } public static TaskTimer getTimer(IConfiguration config) { return new SimpleTimer(JOBNAME, 60L * 1000); //every 1 min }
109110111112113114115116117118119120
} } public static TaskTimer getTimer(InstanceIdentity id) { SimpleTimer return_; if (id.isSeed()) return_ = new SimpleTimer(JOBNAME, 120 * 1000 + ran.nextInt(120 * 1000)); else return_ = new SimpleTimer(JOBNAME); return return_; }