aboutsummaryrefslogtreecommitdiffstats
path: root/configserver/src/main/java/com/yahoo/vespa/config/server/host/HostValidator.java
blob: 5f977c7d6751f6a8a6828068a433e6d07b2bb0ee (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.config.server.host;

import com.yahoo.config.provision.ApplicationId;
import java.util.Collection;

/**
 * A read only host registry that has mappings from a host to application id
 *
 * @author Ulf Lilleengen
 */
public interface HostValidator {

    void verifyHosts(ApplicationId applicationId, Collection<String> newHosts);

}