public class ScheduledDisconnectStrategy extends Object implements ConnectionMonitorStrategy
Configs.CONN_SERVICE_STATUS_OFF at first.| 构造器和说明 |
|---|
ScheduledDisconnectStrategy() |
| 限定符和类型 | 方法和说明 |
|---|---|
Map<String,List<Connection>> |
filter(List<Connection> connections)
已过时。
|
void |
monitor(Map<String,RunStateRecordedFutureTask<ConnectionPool>> connPools)
Add a set of connections to monitor.
|
@Deprecated public Map<String,List<Connection>> filter(List<Connection> connections)
filter 在接口中 ConnectionMonitorStrategyconnections - connections from a connection poolpublic void monitor(Map<String,RunStateRecordedFutureTask<ConnectionPool>> connPools)
ConnectionMonitorStrategyThe previous connections in monitor of this protocol, will be dropped by monitor automatically.
monitor 在接口中 ConnectionMonitorStrategyconnPools - connection poolsCopyright © 2020. All rights reserved.