@Test public void assertCreateServerStatisticsAPI() { assertThat(JobAPIFactory.createServerStatisticsAPI(getConnectionString(), "namespace", null), instanceOf(ServerStatisticsAPI.class)); }
public static ServerStatisticsAPI createServerStatisticsAPI(final String connectString, final String namespace, final String digest) { return new ServerStatisticsAPIImpl(RegistryCenterFactory.createCoordinatorRegistryCenter(connectString, namespace, digest)); }
JobAPIFactory { public static ServerStatisticsAPI createServerStatisticsAPI(final String connectString, final String namespace, final String digest) { return new ServerStatisticsAPIImpl(RegistryCenterFactory.createCoordinatorRegistryCenter(connectString, namespace, digest)); } }
JobAPIFactory { public static ServerStatisticsAPI createServerStatisticsAPI(final String connectString, final String namespace, final String digest) { return new ServerStatisticsAPIImpl(RegistryCenterFactory.createCoordinatorRegistryCenter(connectString, namespace, digest)); }  }
JobAPIFactory { public static ServerStatisticsAPI createServerStatisticsAPI(final String connectString, final String namespace, final String digest) { return new ServerStatisticsAPIImpl(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 ServerStatisticsAPI createServerStatisticsAPI(final String connectString, final String namespace, final String digest) { return new ServerStatisticsAPIImpl(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);  }