diff options
Diffstat (limited to 'routing-generator/src/main/java/com/yahoo/vespa/hosted/routing/Router.java')
-rw-r--r-- | routing-generator/src/main/java/com/yahoo/vespa/hosted/routing/Router.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/routing-generator/src/main/java/com/yahoo/vespa/hosted/routing/Router.java b/routing-generator/src/main/java/com/yahoo/vespa/hosted/routing/Router.java new file mode 100644 index 00000000000..c7cd5a75359 --- /dev/null +++ b/routing-generator/src/main/java/com/yahoo/vespa/hosted/routing/Router.java @@ -0,0 +1,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); + +} |