@Test public void assertCreateServerOperateAPI() { assertThat(JobAPIFactory.createShardingOperateAPI(getConnectionString(), "namespace", null), instanceOf(ShardingOperateAPI.class)); }
public static ShardingOperateAPI createShardingOperateAPI(final String connectString, final String namespace, final String digest) { return new ShardingOperateAPIImpl(RegistryCenterFactory.createCoordinatorRegistryCenter(connectString, namespace, digest)); }
JobAPIFactory { public static ShardingOperateAPI createShardingOperateAPI(final String connectString, final String namespace, final String digest) { return new ShardingOperateAPIImpl(RegistryCenterFactory.createCoordinatorRegistryCenter(connectString, namespace, digest)); } }
JobAPIFactory { public static ShardingOperateAPI createShardingOperateAPI(final String connectString, final String namespace, final String digest) { return new ShardingOperateAPIImpl(RegistryCenterFactory.createCoordinatorRegistryCenter(connectString, namespace, digest)); }  }
JobAPIFactory { public static ShardingOperateAPI createShardingOperateAPI(final String connectString, final String namespace, final String digest) { return new ShardingOperateAPIImpl(RegistryCenterFactory.createCoordinatorRegistryCenter(connectString, namespace, digest)); }  static JobConfigurationAPI createJobConfigurationAPI(final String connectString, final String namespace, final String digest); static JobOperateAPI createJobOperateAPI(final String connectString, final String namespace, final String digest); static ShardingOperateAPI createShardingOperateAPI(final String connectString, final String namespace, final String digest); static JobStatisticsAPI createJobStatisticsAPI(final String connectString, final String namespace, final String digest); static ServerStatisticsAPI createServerStatisticsAPI(final String connectString, final String namespace, final String digest); static ShardingStatisticsAPI createShardingStatisticsAPI(final String connectString, final String namespace, final String digest); }
JobAPIFactory { public static ShardingOperateAPI createShardingOperateAPI(final String connectString, final String namespace, final String digest) { return new ShardingOperateAPIImpl(RegistryCenterFactory.createCoordinatorRegistryCenter(connectString, namespace, digest)); }  static JobConfigurationAPI createJobConfigurationAPI(final String connectString, final String namespace, final String digest); static JobOperateAPI createJobOperateAPI(final String connectString, final String namespace, final String digest); static ShardingOperateAPI createShardingOperateAPI(final String connectString, final String namespace, final String digest); static JobStatisticsAPI createJobStatisticsAPI(final String connectString, final String namespace, final String digest); static ServerStatisticsAPI createServerStatisticsAPI(final String connectString, final String namespace, final String digest); static ShardingStatisticsAPI createShardingStatisticsAPI(final String connectString, final String namespace, final String digest);  }