Periodic TimerTask in netty
magiceye
magiceye at 163.com
Sat Sep 3 07:27:12 EDT 2011
I need some timer tasks which running whole life-time when server start up,
but netty has no such thing, I have to use JDK's. The problem is I need to
care about visiblity problem because the thread is out of scope of netty's
thread. This is some kind of boring, all data needs be volatile which
accessed by those timer tasks.
Is there a way to let netty's thread to run my own timer task rather than I
start a new thread manually? These timer tasks are global task, they are
shared by all channel(user)
--
View this message in context: http://netty-forums-and-mailing-lists.685743.n2.nabble.com/Periodic-TimerTask-in-netty-tp6756465p6756465.html
Sent from the Netty User Group mailing list archive at Nabble.com.
More information about the netty-users
mailing list