public interface FailOverInterceptor
LoadBalanceProxyFactoryBean| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isAvailable(Object o,
Method m,
String beanKey)
return if target is available.
|
boolean |
isDoFailover(Throwable t,
String beanKey)
return is catch exception need do fail over action.
|
boolean |
isRecover(Object o,
Method m,
String beanKey)
return if failed target is recovered.
|
boolean isAvailable(Object o, Method m, String beanKey)
o - the om - the mbeanKey - the bean keyboolean isRecover(Object o, Method m, String beanKey)
o - the om - the mbeanKey - the bean keyCopyright © 2022 Baidu, Inc.. All rights reserved.