EvaluatorTimerTask (Quartz Parent POM 2.0.1 API)
From Quartz Java
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
org.quartz.locality.constraint.evaluator Class EvaluatorTimerTask
java.lang.Objectjava.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
| Nested Class Summary | |
|---|---|
static class |
EvaluatorTimerTask.Status
|
| Constructor Summary | |
|---|---|
EvaluatorTimerTask()
|
|
| Method Summary | |
|---|---|
void |
cancelMonitoring()
Permanently cancels the timer backing this instance. |
static int |
getInterval()
|
EvaluatorTimerTask.Status |
getStatus()
|
protected abstract void |
monitor()
|
void |
pauseMonitoring()
Pauses the monitoring |
void |
resumeMonitoring()
resumes the monitoring |
void |
run()
|
void |
startMonitoring()
Starts the monitoring |
| Methods inherited from class java.util.TimerTask |
|---|
cancel, scheduledExecutionTime |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
EvaluatorTimerTask
public EvaluatorTimerTask()
| Method Detail |
|---|
run
public void run()
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()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright 2001-2011, Terracotta, Inc.