接口 FailoverClosure
- 所有超级接口:
com.alipay.sofa.jraft.Closure
- 所有已知实现类:
FailoverClosureImpl
public interface FailoverClosure
extends com.alipay.sofa.jraft.Closure
Failure callback based on Closure.
- 作者:
- liaochuntao
-
方法概要
修饰符和类型方法说明voidsetResponse(com.alibaba.nacos.consistency.entity.Response response)Set the return interface if needed.voidsetThrowable(Throwable throwable)Catch exception.从接口继承的方法 com.alipay.sofa.jraft.Closure
run
-
方法详细资料
-
setResponse
void setResponse(com.alibaba.nacos.consistency.entity.Response response)Set the return interface if needed.- 参数:
response-Responsedata
-
setThrowable
Catch exception.- 参数:
throwable-Throwable
-