com.baidu.jprotobuf.pbrpc.client.ha.lb.failover
类 RecoverHeartbeat
java.lang.Object
com.baidu.jprotobuf.pbrpc.client.ha.lb.failover.RecoverHeartbeat
- 所有已实现的接口:
- Runnable
public class RecoverHeartbeat
- extends Object
- implements Runnable
A load balance target bean recover heart beat thread.
- 从以下版本开始:
- 2.16
- 作者:
- xiemalin
- 另请参见:
Runnable
|
方法摘要 |
void |
close()
stop thread and exit |
boolean |
isRuning()
|
void |
run()
main entry for thread running. |
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RecoverHeartbeat
public RecoverHeartbeat(LoadBalanceProxyFactoryBean proxyFactoryBean)
- 参数:
proxyFactoryBean - recoverInterval -
isRuning
public boolean isRuning()
- 返回:
- thread running status
close
public void close()
- stop thread and exit
run
public void run()
- main entry for thread running.
- 指定者:
- 接口
Runnable 中的 run
Copyright © 2015 Baidu, Inc.. All Rights Reserved.