summaryrefslogtreecommitdiffstats
path: root/clustercontroller-core/src/main/java/com/yahoo/vespa/clustercontroller/core/listeners/SystemStateListener.java
blob: 764bb3a0d92995fe45d60cc7b7d6051cd46a2acb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.vespa.clustercontroller.core.listeners;

import com.yahoo.vespa.clustercontroller.core.ClusterStateBundle;

public interface SystemStateListener {

    // TODO consider rename to bundle
    void handleNewPublishedState(ClusterStateBundle states);

    default void handleNewCandidateState(ClusterStateBundle states) {}

}