public abstract class OneTimeTask extends MpscLinkedQueueNode<Runnable> implements Runnable
Runnable
which represent a one time task which may allow the EventExecutor
to reduce the amount of
produced garbage when queue it for execution.
It is important this will not be reused. After submitted it is not allowed to get submitted again!Constructor and Description |
---|
OneTimeTask() |
Modifier and Type | Method and Description |
---|---|
Runnable |
value() |
clearMaybe
public Runnable value()
value
in class MpscLinkedQueueNode<Runnable>
Copyright © 2008-2016 The Netty Project. All Rights Reserved.