aboutsummaryrefslogtreecommitdiffstats
path: root/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/NodeLookup.java
blob: 66261f21582296cb8eab66826160c5df7c19b29f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright 2016 Yahoo Inc. 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.NodeAddedOrRemovedListener;

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

    void shutdown();

    boolean updateCluster(ContentCluster cluster, NodeAddedOrRemovedListener listener);
}