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

import com.yahoo.vespa.clustercontroller.core.listeners.SlobrokListener;

/**
 * Interface for a node lookup service, such as slobrok, config, or tier controller.
 */
public interface NodeLookup {

    void shutdown();

    boolean updateCluster(ContentCluster cluster, SlobrokListener listener);

}