class InstanceCache {

    static InstanceCache newInstance(AgentManagementConfiguration configuration,
                                     InstanceCloudConnector connector,
                                     Set<String> knownInstanceGroups,
                                     Registry registry,
                                     int bootRetryCount,
                                     long bootRetryDelayMs,
                                     Scheduler scheduler) {
        return new InstanceCache(configuration, connector, knownInstanceGroups, registry, bootRetryCount, bootRetryDelayMs, scheduler);
    }

    private  InstanceCache(AgentManagementConfiguration configuration,
                          InstanceCloudConnector connector,
                          Set<String> knownInstanceGroups,
                          Registry registry,
                          int bootRetryCount,
                          long bootRetryDelayMs,
                          Scheduler scheduler);

}