Class TrackableTimerTask
- java.lang.Object
-
- java.util.TimerTask
-
- org.eclipse.net4j.util.concurrent.TrackableTimerTask
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
AbstractMonitor.AsyncTimerTask
public abstract class TrackableTimerTask extends java.util.TimerTask- Since:
- 3.3
- Author:
- Eike Stepper
-
-
Field Summary
Fields Modifier and Type Field Description static booleanTRACK_TIMER_TASKSThe boolean value of the system propertyorg.eclipse.net4j.util.concurrent.TrackTimerTasks.
-
Constructor Summary
Constructors Modifier Constructor Description protectedTrackableTimerTask()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancancel()static java.util.Collection<java.lang.Exception>getConstructionStackTraces(long minLifeTimeMillis)static voidlogConstructionStackTraces(long minLifeTimeMillis)
-
-
-
Method Detail
-
cancel
public boolean cancel()
- Overrides:
cancelin classjava.util.TimerTask
-
getConstructionStackTraces
public static java.util.Collection<java.lang.Exception> getConstructionStackTraces(long minLifeTimeMillis)
-
logConstructionStackTraces
public static void logConstructionStackTraces(long minLifeTimeMillis)
-
-