public interface ConnectionMonitorStrategy
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,List<Connection>> |
filter(List<Connection> connections)
已过时。
|
void |
monitor(Map<String,RunStateRecordedFutureTask<ConnectionPool>> connPools)
Add a set of connections to monitor.
|
@Deprecated Map<String,List<Connection>> filter(List<Connection> connections)
connections - connections from a connection poolvoid monitor(Map<String,RunStateRecordedFutureTask<ConnectionPool>> connPools)
The previous connections in monitor of this protocol, will be dropped by monitor automatically.
connPools - connection poolsCopyright © 2020. All rights reserved.