类 EmbeddedDumpService
- java.lang.Object
-
- com.alibaba.nacos.config.server.service.dump.DumpService
-
- com.alibaba.nacos.config.server.service.dump.EmbeddedDumpService
-
@Conditional(ConditionOnEmbeddedStorage.class) @Component public class EmbeddedDumpService extends DumpService
Embedded dump service.- 作者:
- liaochuntao
-
-
嵌套类概要
-
从类继承的嵌套类/接口 com.alibaba.nacos.config.server.service.dump.DumpService
DumpService.MergeAllDataWorker
-
-
字段概要
字段 修饰符和类型 字段 说明 (专用程序包) java.lang.String[]errorMessagesIf the read failed due to an internal problem in the Raft state machine, it cannot be remedied by retrying.private com.alibaba.nacos.core.distributed.ProtocolManagerprotocolManager(专用程序包) java.lang.String[]retryMessagesIf it's just a normal reading failure, it can be resolved by retrying.-
从类继承的字段 com.alibaba.nacos.config.server.service.dump.DumpService
DUMP_ALL_INTERVAL_IN_MINUTE, dumpAllBetaProcessor, dumpAllProcessor, dumpAllTagProcessor, FINISHED, INIT_THREAD_COUNT, INITIAL_DELAY_IN_MINUTE, isQuickStart, memberManager, persistService, processor, total
-
-
构造器概要
构造器 构造器 说明 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.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected booleancanExecute()Used to determine whether the aggregation task, configuration history cleanup task can be performed.protected voidinit()initialize.private booleanshouldRetry(java.lang.Throwable ex)-
从类继承的方法 com.alibaba.nacos.config.server.service.dump.DumpService
dump, dump, dump, dump, dumpAll, dumpOperate, getMemberManager, getPersistService, splitList
-
-
-
-
字段详细资料
-
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-PersistServicememberManager-ServerMemberManagerprotocolManager-ProtocolManager
-
-
方法详细资料
-
init
@PostConstruct protected void init() throws java.lang.Throwable从类复制的说明:DumpServiceinitialize.- 指定者:
init在类中DumpService- 抛出:
java.lang.Throwable- throws Exception when actually operate.
-
shouldRetry
private boolean shouldRetry(java.lang.Throwable ex)
-
canExecute
protected boolean canExecute()
从类复制的说明:DumpServiceUsed to determine whether the aggregation task, configuration history cleanup task can be performed.- 指定者:
canExecute在类中DumpService- 返回:
Boolean
-
-