简体   繁体   中英

Netty: Number of outstanding requests

In apache, there is server-status page which tells me the current status of the server. In particular, it tells me the number of requests currently ('currently' as in, at the time when the server-status page is accessed) being processed. Is there some way to find out the same in Netty?

It's not built in, but conceptually it is easy to implement (or easy to describe, anyways ;) )

  1. Create a Sharable ChannelHandler:
  2. Add the [same] ChannelHandler instance to all created pipelines as the first handler.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM