Package ai.libs.jaicore.concurrent
Class GlobalTimer
- java.lang.Object
-
- java.util.Timer
-
- ai.libs.jaicore.concurrent.TrackableTimer
-
- ai.libs.jaicore.concurrent.GlobalTimer
-
- All Implemented Interfaces:
org.api4.java.common.control.ICancelable
public class GlobalTimer extends TrackableTimer
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel()
static GlobalTimer
getInstance()
-
Methods inherited from class ai.libs.jaicore.concurrent.TrackableTimer
getActiveTasks, getNumberOfActiveTasks, hasOpenTasks, hasTaskBeenExecutedInPast, isCanceld, schedule, schedule, schedule, schedule, schedule, schedule, schedule, schedule, scheduleAtFixedRate, scheduleAtFixedRate, scheduleAtFixedRate, scheduleAtFixedRate, willTaskBeExecutedInFuture
-
-
-
-
Method Detail
-
getInstance
public static GlobalTimer getInstance()
-
cancel
public void cancel()
- Specified by:
cancel
in interfaceorg.api4.java.common.control.ICancelable
- Overrides:
cancel
in classTrackableTimer
-
-