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

import java.util.Collection;

/**
 * A read only host registry that has mappings from a host to some type T.
 * strings.
 *
 * @author lulf
 * @since 5.9
 */
public interface HostValidator<T> {

    void verifyHosts(T key, Collection<String> newHosts);

}