public interface ConnectionMonitorStrategy
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,List<Connection>> |
filter(List<Connection> connections)
Filter connections to monitor
|
void |
monitor(Map<String,RunStateRecordedFutureTask<ConnectionPool>> connPools)
Add a set of connections to monitor.
|
Map<String,List<Connection>> filter(List<Connection> connections)
connections - void monitor(Map<String,RunStateRecordedFutureTask<ConnectionPool>> connPools)
The previous connections in monitor of this protocol, will be dropped by monitor automatically.
connPools - Copyright © 2021. All rights reserved.