public interface TimerTask
Timer.newTimeout(TimerTask, long, TimeUnit)
.Modifier and Type | Method and Description |
---|---|
void |
run(Timeout timeout)
Executed after the delay specified with
Timer.newTimeout(TimerTask, long, TimeUnit) . |
void run(Timeout timeout) throws Exception
Timer.newTimeout(TimerTask, long, TimeUnit)
.timeout
- a handle which is associated with this taskException
Copyright © 2008-2012 JBoss, a division of Red Hat, Inc.. All Rights Reserved.