public IFlusher<RequestType,ResponseType>
刷盘器
| 限定符和类型 | 接口和说明 |
|---|---|
static class |
IFlusher.DefaultImpls
刷盘器
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.util.concurrent.CompletableFuture<ResponseType> |
add(RequestType req)
单个请求入队
|
void |
flush(boolean byTimeout)
将积累的请求刷掉
|
boolean |
isRequestEmpty()
请求是否为空
|
int |
requestCount()
获得请求计数
|