@Test public void application_has_initially_no_remarks() throws Exception { assertThat(orchestrator.getApplicationInstanceStatus(app1), is(NO_REMARKS)); }
@Override public ApplicationInstanceStatus getApplicationInstanceStatus(ApplicationId appId) throws ApplicationIdNotFoundException { ApplicationInstanceReference reference = OrchestratorUtil.toApplicationInstanceReference(appId, serviceMonitor); return statusService.getApplicationInstanceStatus(reference); }
OrchestratorImpl implements Orchestrator { @Override public ApplicationInstanceStatus getApplicationInstanceStatus(ApplicationId appId) throws ApplicationIdNotFoundException { ApplicationInstanceReference reference = OrchestratorUtil.toApplicationInstanceReference(appId, serviceMonitor); return statusService.getApplicationInstanceStatus(reference); } }
OrchestratorImpl implements Orchestrator { @Override public ApplicationInstanceStatus getApplicationInstanceStatus(ApplicationId appId) throws ApplicationIdNotFoundException { ApplicationInstanceReference reference = OrchestratorUtil.toApplicationInstanceReference(appId, serviceMonitor); return statusService.getApplicationInstanceStatus(reference); } @Inject  OrchestratorImpl(ClusterControllerClientFactory clusterControllerClientFactory,
                            StatusService statusService,
                            OrchestratorConfig orchestratorConfig,
                            ServiceMonitor serviceMonitor,
                            ConfigserverConfig configServerConfig,
                            FlagSource flagSource);  OrchestratorImpl(Policy policy,
                            ClusterControllerClientFactory clusterControllerClientFactory,
                            StatusService statusService,
                            ServiceMonitor serviceMonitor,
                            int serviceMonitorConvergenceLatencySeconds,
                            Clock clock,
                            ApplicationApiFactory applicationApiFactory,
                            FlagSource flagSource); }
OrchestratorImpl implements Orchestrator { @Override public ApplicationInstanceStatus getApplicationInstanceStatus(ApplicationId appId) throws ApplicationIdNotFoundException { ApplicationInstanceReference reference = OrchestratorUtil.toApplicationInstanceReference(appId, serviceMonitor); return statusService.getApplicationInstanceStatus(reference); } @Inject  OrchestratorImpl(ClusterControllerClientFactory clusterControllerClientFactory,
                            StatusService statusService,
                            OrchestratorConfig orchestratorConfig,
                            ServiceMonitor serviceMonitor,
                            ConfigserverConfig configServerConfig,
                            FlagSource flagSource);  OrchestratorImpl(Policy policy,
                            ClusterControllerClientFactory clusterControllerClientFactory,
                            StatusService statusService,
                            ServiceMonitor serviceMonitor,
                            int serviceMonitorConvergenceLatencySeconds,
                            Clock clock,
                            ApplicationApiFactory applicationApiFactory,
                            FlagSource flagSource); @Override Host getHost(HostName hostName); @Override HostStatus getNodeStatus(HostName hostName); @Override HostInfo getHostInfo(ApplicationInstanceReference reference, HostName hostname); @Override Function<HostName, Optional<HostInfo>> getHostResolver(); @Override void setNodeStatus(HostName hostName, HostStatus status); @Override void resume(HostName hostName); @Override void suspend(HostName hostName); @Override void acquirePermissionToRemove(HostName hostName); @Override ApplicationInstanceStatus getApplicationInstanceStatus(ApplicationId appId); @Override Set<ApplicationId> getAllSuspendedApplications(); @Override void resume(ApplicationId appId); @Override void suspend(ApplicationId appId); @Override void suspendAll(HostName parentHostname, List<HostName> hostNames); }
OrchestratorImpl implements Orchestrator { @Override public ApplicationInstanceStatus getApplicationInstanceStatus(ApplicationId appId) throws ApplicationIdNotFoundException { ApplicationInstanceReference reference = OrchestratorUtil.toApplicationInstanceReference(appId, serviceMonitor); return statusService.getApplicationInstanceStatus(reference); } @Inject  OrchestratorImpl(ClusterControllerClientFactory clusterControllerClientFactory,
                            StatusService statusService,
                            OrchestratorConfig orchestratorConfig,
                            ServiceMonitor serviceMonitor,
                            ConfigserverConfig configServerConfig,
                            FlagSource flagSource);  OrchestratorImpl(Policy policy,
                            ClusterControllerClientFactory clusterControllerClientFactory,
                            StatusService statusService,
                            ServiceMonitor serviceMonitor,
                            int serviceMonitorConvergenceLatencySeconds,
                            Clock clock,
                            ApplicationApiFactory applicationApiFactory,
                            FlagSource flagSource); @Override Host getHost(HostName hostName); @Override HostStatus getNodeStatus(HostName hostName); @Override HostInfo getHostInfo(ApplicationInstanceReference reference, HostName hostname); @Override Function<HostName, Optional<HostInfo>> getHostResolver(); @Override void setNodeStatus(HostName hostName, HostStatus status); @Override void resume(HostName hostName); @Override void suspend(HostName hostName); @Override void acquirePermissionToRemove(HostName hostName); @Override ApplicationInstanceStatus getApplicationInstanceStatus(ApplicationId appId); @Override Set<ApplicationId> getAllSuspendedApplications(); @Override void resume(ApplicationId appId); @Override void suspend(ApplicationId appId); @Override void suspendAll(HostName parentHostname, List<HostName> hostNames);  }