类 ConsistencyConfiguration


  • @Configuration
    public class ConsistencyConfiguration
    extends java.lang.Object
    consistency configuration.
    作者:
    liaochuntao
    • 构造器详细资料

      • ConsistencyConfiguration

        public ConsistencyConfiguration()
    • 方法详细资料

      • strongAgreementProtocol

        @Bean("strongAgreementProtocol")
        public com.alibaba.nacos.consistency.cp.CPProtocol strongAgreementProtocol​(ServerMemberManager memberManager)
                                                                            throws java.lang.Exception
        抛出:
        java.lang.Exception
      • getProtocol

        private <T> T getProtocol​(java.lang.Class<T> cls,
                                  java.util.concurrent.Callable<T> builder)
                           throws java.lang.Exception
        抛出:
        java.lang.Exception