Package com.macrofocus.timer
Class CoalescingTimer
- java.lang.Object
-
- com.macrofocus.timer.AbstractTimer
-
- com.macrofocus.timer.CoalescingTimer
-
- All Implemented Interfaces:
Timer
,java.lang.Runnable
public class CoalescingTimer extends AbstractTimer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.macrofocus.timer.Timer
Timer.TimerListener
-
-
Field Summary
-
Fields inherited from class com.macrofocus.timer.AbstractTimer
actionListeners
-
-
Constructor Summary
Constructors Constructor Description CoalescingTimer(int delay)
CoalescingTimer(int delay, boolean postponing)
CoalescingTimer(int delay, Timer.TimerListener listener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isScheduled()
void
restart()
void
run()
void
stop()
java.lang.String
toString()
-
Methods inherited from class com.macrofocus.timer.AbstractTimer
addActionListener, fireTimerTriggered, removeActionListener
-
-
-
-
Constructor Detail
-
CoalescingTimer
public CoalescingTimer(int delay)
-
CoalescingTimer
public CoalescingTimer(int delay, Timer.TimerListener listener)
-
CoalescingTimer
public CoalescingTimer(int delay, boolean postponing)
-
-