Delete obsolete javadoc warning about pendingTasks() method expensiveness (#11287)
Co-authored-by: Roman Fedorov <roman.fedorov@spikeapp.com>
This commit is contained in:
parent
11de7b65c1
commit
9f3f0590a2
@ -129,9 +129,6 @@ public final class GlobalEventExecutor extends AbstractScheduledEventExecutor im
|
||||
|
||||
/**
|
||||
* Return the number of tasks that are pending for processing.
|
||||
*
|
||||
* <strong>Be aware that this operation may be expensive as it depends on the internal implementation of the
|
||||
* SingleThreadEventExecutor. So use it was care!</strong>
|
||||
*/
|
||||
public int pendingTasks() {
|
||||
return taskQueue.size();
|
||||
|
Loading…
Reference in New Issue
Block a user