org.jboss.netty.util
Interface TimerTask


public interface TimerTask

A task which is executed after the delay specified with Timer.newTimeout(TimerTask, long, TimeUnit).

Version:
$Rev: 2080 $, $Date: 2010-01-26 18:04:19 +0900 (Tue, 26 Jan 2010) $
Author:
The Netty Project, Trustin Lee

Method Summary
 void run(Timeout timeout)
          Executed after the delay specified with Timer.newTimeout(TimerTask, long, TimeUnit).
 

Method Detail

run

void run(Timeout timeout)
         throws Exception
Executed after the delay specified with Timer.newTimeout(TimerTask, long, TimeUnit).

Parameters:
timeout - a handle which is associated with this task
Throws:
Exception


Copyright © 2008-2011 JBoss, a division of Red Hat, Inc.. All Rights Reserved.