类 ElasticJobSnapshotServiceConfiguration


  • @ConditionalOnProperty(name="elasticjob.dump.enabled",
                           havingValue="true",
                           matchIfMissing=true)
    @EnableConfigurationProperties(SnapshotServiceProperties.class)
    public class ElasticJobSnapshotServiceConfiguration
    extends Object
    Snapshot service configuration.
    • 构造器详细资料

      • ElasticJobSnapshotServiceConfiguration

        public ElasticJobSnapshotServiceConfiguration()
    • 方法详细资料

      • 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 center
        snapshotServiceProperties - snapshot service properties
        返回:
        a bean of snapshot service