类 ElasticJobSnapshotServiceConfiguration
- java.lang.Object
-
- org.apache.shardingsphere.elasticjob.lite.spring.boot.reg.snapshot.ElasticJobSnapshotServiceConfiguration
-
@ConditionalOnProperty(name="elasticjob.dump.enabled", havingValue="true", matchIfMissing=true) @EnableConfigurationProperties(SnapshotServiceProperties.class) public class ElasticJobSnapshotServiceConfiguration extends ObjectSnapshot service configuration.
-
-
构造器概要
构造器 构造器 说明 ElasticJobSnapshotServiceConfiguration()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 org.apache.shardingsphere.elasticjob.lite.internal.snapshot.SnapshotServicesnapshotService(org.apache.shardingsphere.elasticjob.reg.base.CoordinatorRegistryCenter registryCenter, SnapshotServiceProperties snapshotServiceProperties)Create a Snapshot service bean and start listening.
-
-
-
方法详细资料
-
snapshotService
@ConditionalOnProperty(name="elasticjob.dump.port") @Bean(initMethod="listen", destroyMethod="close") public org.apache.shardingsphere.elasticjob.lite.internal.snapshot.SnapshotService snapshotService(org.apache.shardingsphere.elasticjob.reg.base.CoordinatorRegistryCenter registryCenter, SnapshotServiceProperties snapshotServiceProperties)Create a Snapshot service bean and start listening.- 参数:
registryCenter- registry centersnapshotServiceProperties- snapshot service properties- 返回:
- a bean of snapshot service
-
-