class DefaultAgentManagementService implements AgentManagementService {

    @Override
    public List<AgentInstance> getAgentInstances(String instanceGroupId) {
        return new ArrayList<>(agentCache.getAgentInstances(instanceGroupId));
    }

    @Inject public  DefaultAgentManagementService(AgentManagementConfiguration configuration,
                                         @Named(KUBE_SCHEDULER_INSTANCE_GROUP_PREDICATE) Predicate<AgentInstanceGroup> kubeSchedulerInstanceGroupPredicate,
                                         InstanceCloudConnector instanceCloudConnector,
                                         AgentCache AgentCache,
                                         ServerInfoResolver serverInfoResolver,
                                         TitusRuntime titusRuntime);

}