org.quartz.locality.constraint.evaluator
Class EvaluatorTimerTask
java.lang.Object
java.util.TimerTask
org.quartz.locality.constraint.evaluator.EvaluatorTimerTask
- All Implemented Interfaces:
- Runnable
- Direct Known Subclasses:
- CpuEvaluator, MemoryEvaluator
public abstract class EvaluatorTimerTask
- extends TimerTask
An evaluator that performs monitoring on a regular basis
- Author:
- Alex Snaps
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EvaluatorTimerTask
public EvaluatorTimerTask()
run
public void run()
- Specified by:
run
in interface Runnable
- Specified by:
run
in class TimerTask
monitor
protected abstract void monitor()
startMonitoring
public void startMonitoring()
- Starts the monitoring
pauseMonitoring
public void pauseMonitoring()
- Pauses the monitoring
resumeMonitoring
public void resumeMonitoring()
- resumes the monitoring
cancelMonitoring
public void cancelMonitoring()
- Permanently cancels the timer backing this instance.
getStatus
public EvaluatorTimerTask.Status getStatus()
getInterval
public static int getInterval()
Copyright 2001-2011,
Terracotta, Inc.