Delete obsolete javadoc warning about pendingTasks() method expensiveness (#11287)
Co-authored-by: Roman Fedorov <roman.fedorov@spikeapp.com>
This commit is contained in:
parent
9747739962
commit
bb800d6067
@ -125,9 +125,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();
|
||||
|
@ -329,9 +329,6 @@ public abstract class SingleThreadEventExecutor extends AbstractScheduledEventEx
|
||||
|
||||
/**
|
||||
* 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 with care!</strong>
|
||||
*/
|
||||
public int pendingTasks() {
|
||||
return taskQueue.size();
|
||||
|
Loading…
Reference in New Issue
Block a user