Delete obsolete javadoc warning about pendingTasks() method expensiveness (#11287)

Co-authored-by: Roman Fedorov <roman.fedorov@spikeapp.com>
This commit is contained in:
Roman Fedorov 2021-05-22 09:33:45 +02:00 committed by Chris Vest
parent 11de7b65c1
commit 9f3f0590a2

View File

@ -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();