summaryrefslogtreecommitdiffstats
path: root/config-model-api/src/main/java/com/yahoo/config/model/api/SuperModelProvider.java
blob: 42437b20b83ccf46c22c265dd4f429a7c3ddf077 (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.config.model.api;

import java.util.List;

public interface SuperModelProvider {
    /**
     * Returns all applications in the SuperModel. All changes to the SuperModel
     * following that snapshot will be published to the listener. Warning: The listener
     * methods may have been invoked before (or concurrently with) this method returning.
     */
    List<ApplicationInfo> snapshot(SuperModelListener listener);
}