aboutsummaryrefslogtreecommitdiffstats
path: root/routing-generator/src/main/java/com/yahoo/vespa/hosted/routing/status/RoutingStatus.java
blob: f74687514c23e5ffad6c19d2cb03bfa9d5b0f566 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.hosted.routing.status;

/**
 * Interface for accessing the global routing status of an upstream server.
 *
* @author oyving
*/
public interface RoutingStatus {

    /** Returns whether the given upstream name is active in global routing */
    boolean isActive(String upstreamName);

}