List of usage examples for java.util TimerTask subclass-usage
From source file de.nava.informa.utils.UpdateChannelTask.java
/**
* Class for performing a channel retrieval in periodic intervals as a
* TimerTask. The existing items of a channel are compared to the
* items contained in the newly gotten channel, and if there are any
* new items they are appended.
*
From source file org.wso2.andes.kernel.slot.SlotReAssignTask.java
/** * This class is a scheduler class to schedule re-assignment of slots when last subscriber leaves a particular * queue */ public class SlotReAssignTask extends TimerTask {
From source file TimerTaskGame.Ask4RoomList.java
/** * * @author Wei */ public class Ask4RoomList extends TimerTask {
From source file org.springframework.scheduling.timer.DelegatingTimerTask.java
/**
* Simple {@link java.util.TimerTask} adapter that delegates to a
* given {@link Runnable}.
*
* <p>This is often preferable to deriving from TimerTask, to be able to
* implement an interface rather than extend an abstract base class.
From source file ORG.oclc.os.SRW.HouseKeeping.java
/** * * @author levan */ public class HouseKeeping extends java.util.TimerTask { static Log log = LogFactory.getLog(HouseKeeping.class);
From source file mastermind.RandomGenerator.java
/** Recherche/URLS:
* http://docs.oracle.com/javase/7/docs/api/java/security/SecureRandom.html
* http://docs.oracle.com/javase/7/docs/api/java/util/Random.html
* http://docs.oracle.com/javase/7/docs/api/java/util/Timer.html
*
* http://books.google.de/books?id=bsiKrwBi8XgC&pg=PA635&lpg=PA635&dq=
From source file TimerTaskGame.Ask4Roominfo.java
/** * * @author Wei */ public class Ask4Roominfo extends TimerTask {
From source file com.taobao.common.tfs.impl.GcWorker.java
public class GcWorker extends TimerTask { private static final Log log = LogFactory.getLog(GcWorker.class); private static final int GC_GARBAGE_FILE = 1; private static final int GC_EXPIRED_LOCAL_KEY = 2;
From source file org.globus.workspace.scheduler.TimerListenerWrapper.java
/** * Copied from Java core. */ public class TimerListenerWrapper extends TimerTask { private static Log logger = LogFactory.getLog(TimerListenerWrapper.class.getName());
From source file Main.java
class ExecuteTask extends TimerTask { static Map<Timer, Long> upTo = new HashMap<Timer, Long>(); static Random random = new Random(); Timer owner; Runnable task;