Lines Matching refs:task
57 private NotifierTask task;
78 * if the notifier task is running, stop it, otherwise it can
82 if (task != null) {
83 task.cancel();
84 task = null;
96 if (task == null) {
97 task = new NotifierTask();
99 timer.schedule(task, interval, interval);
110 if (listeners.isEmpty() && task != null) {
111 task.cancel();
112 task = null;
129 if (task != null) {
130 task.cancel();
131 NotifierTask oldTask = task;
132 task = new NotifierTask();
134 CountedTimerTaskUtils.reschedule(timer, oldTask, task,