@ManagedAttribute public int getTimerThreads() { TimeScheduler timer = getTimer(); return timer != null ? timer.getMinThreads() : -1; }
@ManagedOperation public String dumpTimerQueue() { TimeScheduler timer = getTimer(); return timer != null ? timer.dumpTimerTasks() : "<n/a"; }
@ManagedAttribute public int getNumberOfTasksInTimer() { TimeScheduler timer = getTimer(); return timer != null ? timer.size() : -1; }