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

构造方法摘要
RecoverHeartbeat(LoadBalanceProxyFactoryBean proxyFactoryBean)
           
 
方法摘要
 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.