@Test public void assertCreateJobStatisticsAPI() { assertThat(JobAPIFactory.createJobStatisticsAPI(ZK_CONNECTION_STRING, "namespace", Optional.<String>absent()), instanceOf(JobStatisticsAPI.class)); }
public static JobStatisticsAPI createJobStatisticsAPI(final String connectString, final String namespace, final Optional<String> digest) { return new JobStatisticsAPIImpl(RegistryCenterFactory.createCoordinatorRegistryCenter(connectString, namespace, digest)); }
JobAPIFactory { public static JobStatisticsAPI createJobStatisticsAPI(final String connectString, final String namespace, final Optional<String> digest) { return new JobStatisticsAPIImpl(RegistryCenterFactory.createCoordinatorRegistryCenter(connectString, namespace, digest)); } }
JobAPIFactory { public static JobStatisticsAPI createJobStatisticsAPI(final String connectString, final String namespace, final Optional<String> digest) { return new JobStatisticsAPIImpl(RegistryCenterFactory.createCoordinatorRegistryCenter(connectString, namespace, digest)); }  }
JobAPIFactory { public static JobStatisticsAPI createJobStatisticsAPI(final String connectString, final String namespace, final Optional<String> digest) { return new JobStatisticsAPIImpl(RegistryCenterFactory.createCoordinatorRegistryCenter(connectString, namespace, digest)); }  static JobSettingsAPI createJobSettingsAPI(final String connectString, final String namespace, final Optional<String> digest); static JobOperateAPI createJobOperateAPI(final String connectString, final String namespace, final Optional<String> digest); static JobStatisticsAPI createJobStatisticsAPI(final String connectString, final String namespace, final Optional<String> digest); static ServerStatisticsAPI createServerStatisticsAPI(final String connectString, final String namespace, final Optional<String> digest); }
JobAPIFactory { public static JobStatisticsAPI createJobStatisticsAPI(final String connectString, final String namespace, final Optional<String> digest) { return new JobStatisticsAPIImpl(RegistryCenterFactory.createCoordinatorRegistryCenter(connectString, namespace, digest)); }  static JobSettingsAPI createJobSettingsAPI(final String connectString, final String namespace, final Optional<String> digest); static JobOperateAPI createJobOperateAPI(final String connectString, final String namespace, final Optional<String> digest); static JobStatisticsAPI createJobStatisticsAPI(final String connectString, final String namespace, final Optional<String> digest); static ServerStatisticsAPI createServerStatisticsAPI(final String connectString, final String namespace, final Optional<String> digest);  }