Javadoc
A
Runnable that gets executed on the
NioThread owning the pipeline.
Normally this is a pretty simple task, just schedule the runnable on the owner
using
NioThread#addTaskAndWakeup(Runnable).
The problem however is that pipeline migration can cause a task to end up at a
NioThread that doesn't own the pipeline any longer. Therefor this task does a
check when it is executed if the owner of the pipeline is the same as the
current thread. If it is, then the
#run0() is called. If it isn't, the
task is send to the
NioPipeline#addTaskAndWakeup(Runnable) which will
make sure the task is send to the right NioThread.