类 EmbeddedDumpService

    • 字段详细资料

      • protocolManager

        private final com.alibaba.nacos.core.distributed.ProtocolManager protocolManager
      • retryMessages

        final java.lang.String[] retryMessages
        If it's just a normal reading failure, it can be resolved by retrying.
      • errorMessages

        final java.lang.String[] errorMessages
        If the read failed due to an internal problem in the Raft state machine, it cannot be remedied by retrying.
    • 构造器详细资料

      • EmbeddedDumpService

        public EmbeddedDumpService​(PersistService persistService,
                                   com.alibaba.nacos.core.cluster.ServerMemberManager memberManager,
                                   com.alibaba.nacos.core.distributed.ProtocolManager protocolManager)
        Here you inject the dependent objects constructively, ensuring that some of the dependent functionality is initialized ahead of time.
        参数:
        persistService - PersistService
        memberManager - ServerMemberManager
        protocolManager - ProtocolManager
    • 方法详细资料

      • init

        @PostConstruct
        protected void init()
                     throws java.lang.Throwable
        从类复制的说明: DumpService
        initialize.
        指定者:
        init 在类中 DumpService
        抛出:
        java.lang.Throwable - throws Exception when actually operate.
      • shouldRetry

        private boolean shouldRetry​(java.lang.Throwable ex)
      • canExecute

        protected boolean canExecute()
        从类复制的说明: DumpService
        Used to determine whether the aggregation task, configuration history cleanup task can be performed.
        指定者:
        canExecute 在类中 DumpService
        返回:
        Boolean