public class ScheduledDisconnectStrategy extends Object implements ConnectionMonitorStrategy
Configs.CONN_SERVICE_STATUS_OFF at first.| Constructor and Description |
|---|
ScheduledDisconnectStrategy() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,List<Connection>> |
filter(List<Connection> connections)
Deprecated.
|
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 in interface 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 in interface ConnectionMonitorStrategyconnPools - connection poolsCopyright © 2024. All rights reserved.