com.alipay.remoting
Class DefaultConnectionMonitor
java.lang.Object
com.alipay.remoting.DefaultConnectionMonitor
public class DefaultConnectionMonitor
- extends Object
A default connection monitor that handle connections with strategies
|
Method Summary |
void |
destroy()
cancel task and shutdown executor |
void |
start()
Start schedule task |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultConnectionMonitor
public DefaultConnectionMonitor(ConnectionMonitorStrategy strategy,
DefaultConnectionManager connectionManager)
start
public void start()
- Start schedule task
destroy
public void destroy()
- cancel task and shutdown executor
- Throws:
Exception
Copyright © 2018. All rights reserved.