Lines Matching defs:PeriodicRunnable
25 * $Id: PeriodicRunnable.java,v 1.2 2008/06/25 05:52:51 qcheng Exp $
41 * using PeriodicRunnable. All the elements in the same PeriodicRunnable must
43 * using the time they enter PeriodicRunnable. Elements which entered
44 * PeriodicRunnable excess the timeout time will be checked 1 by 1 and
48 public class PeriodicRunnable extends GeneralTaskRunnable {
58 * Constructor of PeriodicRunnable.
60 * @param runPeriod The period of running this PeriodicRunnable
62 * PeriodicRunnable
67 public PeriodicRunnable(long runPeriod, long timeoutPeriod,
88 * Adds an element to this PeriodicRunnable.
90 * @param obj Element to be added to this PeriodicRunnable
101 * Removes an element from this PeriodicRunnable.
103 * @param obj Element to be removed from this PeriodicRunnable
127 * Returns the timeout period of this PeriodicRunnable.
137 * Indicates whether this PeriodicRunnable is empty.
139 * @return A boolean to indicate whether this PeriodicRunnable is empty
147 * Returns the run period of this PeriodicRunnable.