接口 FailoverClosure

  • 所有超级接口:
    com.alipay.sofa.jraft.Closure
    所有已知实现类:
    FailoverClosureImpl

    public interface FailoverClosure
    extends com.alipay.sofa.jraft.Closure
    Failure callback based on Closure.
    作者:
    liaochuntao
    • 方法概要

      所有方法 实例方法 抽象方法 
      修饰符和类型 方法 说明
      void setResponse​(com.alibaba.nacos.consistency.entity.Response response)
      Set the return interface if needed.
      void setThrowable​(java.lang.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 - Response data
      • setThrowable

        void setThrowable​(java.lang.Throwable throwable)
        Catch exception.
        参数:
        throwable - Throwable