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

/**
 * A {@link Router} (e.g. a reverse proxy) consumes a {@link RoutingTable} by
 * translating it to the router's own format and loading it.
 *
 * @author mpolden
 */
public interface Router {

    /** Load the given routing table */
    void load(RoutingTable table);

}