DefaultManagedTaskScheduler
@Deprecated public class DelegatingTimerListener extends Object implements TimerListener
TimerListener
,
Runnable
Constructor and Description |
---|
DelegatingTimerListener(Runnable runnable)
Deprecated.
Create a new DelegatingTimerListener.
|
Modifier and Type | Method and Description |
---|---|
void |
timerExpired(Timer timer)
Deprecated.
Delegates execution to the underlying Runnable.
|
public DelegatingTimerListener(Runnable runnable)
runnable
- the Runnable implementation to delegate topublic void timerExpired(Timer timer)
timerExpired
in interface TimerListener