public class RateLimiterPlugin<T> extends AbstractPlugin<T>
| 构造器和说明 |
|---|
RateLimiterPlugin(int readRateLimiter,
int writeRateLimiter) |
| 限定符和类型 | 方法和说明 |
|---|---|
AsynchronousSocketChannel |
shouldAccept(AsynchronousSocketChannel channel) |
afterRead, afterWrite, beforeRead, beforeWrite, preProcess, stateEventpublic AsynchronousSocketChannel shouldAccept(AsynchronousSocketChannel channel)
shouldAccept 在接口中 NetMonitorshouldAccept 在类中 AbstractPlugin<T>Copyright © 2024. All rights reserved.