blob: abfd9efd67f417111e8d4f8a78aacf345a279dec (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.orchestrator.status;
import com.yahoo.vespa.applicationmodel.ApplicationInstanceReference;
import com.yahoo.vespa.applicationmodel.HostName;
import java.util.Set;
/**
* @author hakonhall
*/
interface HostInfosService {
HostInfos getHostInfos(ApplicationInstanceReference reference);
/** Returns false if it is known that the operation was a no-op. */
boolean setHostStatus(ApplicationInstanceReference reference, HostName hostName, HostStatus hostStatus);
/** Remove application. */
void removeApplication(ApplicationInstanceReference reference);
/** Remove hosts for application. */
void removeHosts(ApplicationInstanceReference reference, Set<HostName> hostnames);
}
|