类 DelegatingTimerListener
- java.lang.Object
- org.springframework.scheduling.commonj.DelegatingTimerListener
- 所有已实现的接口:
TimerListener
public class DelegatingTimerListener extends Object implements TimerListener
Simple TimerListener adapter that delegates to a given Runnable.- 从以下版本开始:
- 2.0
- 作者:
- Juergen Hoeller
- 另请参阅:
TimerListener
,Runnable
构造器概要
构造器 构造器 说明 DelegatingTimerListener(Runnable runnable)
Create a new DelegatingTimerListener.
构造器详细资料
DelegatingTimerListener
public DelegatingTimerListener(Runnable runnable)
Create a new DelegatingTimerListener.- 参数:
runnable
- the Runnable implementation to delegate to
方法详细资料
timerExpired
public void timerExpired(Timer timer)
Delegates execution to the underlying Runnable.- 指定者:
timerExpired
在接口中TimerListener