Package org.jboss.netty.util
Interface TimerTask
- All Known Implementing Classes:
AbstractTrafficShapingHandler.ReopenReadTimerTask
,GlobalChannelTrafficCounter.MixedTrafficMonitoringTask
,IdleStateHandler.AllIdleTimeoutTask
,IdleStateHandler.ReaderIdleTimeoutTask
,IdleStateHandler.WriterIdleTimeoutTask
,ReadTimeoutHandler.ReadTimeoutTask
,TrafficCounter.TrafficMonitoringTask
,WriteTimeoutHandler.WriteTimeoutTask
public interface TimerTask
A task which is executed after the delay specified with
Timer.newTimeout(TimerTask, long, TimeUnit)
.-
Method Summary
Modifier and TypeMethodDescriptionvoid
Executed after the delay specified withTimer.newTimeout(TimerTask, long, TimeUnit)
.
-
Method Details
-
run
Executed after the delay specified withTimer.newTimeout(TimerTask, long, TimeUnit)
.- Parameters:
timeout
- a handle which is associated with this task- Throws:
Exception
-