netty5/common/src
Vladimir Kostyukov ed37cf20ef Introduce HashedWheelTimer.pendingTimeouts()
Motivation:

Fixes #6681.

Modification:

For the sake of better timer observability, expose the number of pending timeouts through the new HashedWheelTimer.pendingTimeouts method .

Result:

It's now ridiculously easy to observe Netty timer's very basic and yet important metric, the number of pending tasks/timeouts.
2017-05-01 20:10:22 -07:00
..
main Introduce HashedWheelTimer.pendingTimeouts() 2017-05-01 20:10:22 -07:00
test Introduce HashedWheelTimer.pendingTimeouts() 2017-05-01 20:10:22 -07:00