aboutsummaryrefslogtreecommitdiffstats
path: root/orchestrator/src/main/java/com/yahoo/vespa/orchestrator/status/ApplicationInstanceStatus.java
blob: d84e82a47b04ce2429e95cd8cae21b2244d79519 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.orchestrator.status;

/**
 * Enumeration of the orchestrator status on the application level.
 *
 * The naming and conventions follows the same pattern as with the HostStatus and is:
 *
 * When the node is suspended - the orchestration state is 'allowed to be down'. The application
 * is not necessarily suspended pr. se, but it is allowed to start suspending - or is back up from suspension
 * but the flag is not revoked yet.
 *
 * @see HostStatus
 * @author andreer
 * @author smorgrav
 */
public enum ApplicationInstanceStatus {
    NO_REMARKS,
    ALLOWED_TO_BE_DOWN
}