Execute TimerTask in frequent intervals
Olivier ROLAND
olivier.roland at laposte.net
Fri Jun 24 13:38:42 EDT 2011
>
> Hi there,
>
> I have a question, i have a simple server that manages connections... but i
> would like to execute a simple task every X time for example each 10 seconds
> read a file, applying to each individual Channel.
>
> I was trying to do this with HashedWheelTimer but i only get to execute the
> TimeTask only ONE time.
>
> Thanks for your help.
>
> Cumar C.
> http://qmarqeva.wordpress.com
>
> --
> View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Execute-TimerTask-in-frequent-intervals-tp6512826p6512826.html
> Sent from the Netty User Group mailing list archive at Nabble.com.
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
>
You could look at the Uptime example in Netty distribution. It does exactly what you try to do.
More information about the netty-users
mailing list