aboutsummaryrefslogtreecommitdiffstats
path: root/component/src/main/java/com/yahoo/component/provider/ListenableFreezable.java
blob: 61edb94ab15f061962aa442c444220946352158a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.component.provider;

/**
 * A freezable which supports listening
 *
 * @author bratseth
 */
public interface ListenableFreezable extends Freezable {

    /** Adds a listener which will be called when this is frozen */
    void addFreezeListener(java.lang.Runnable runnable, java.util.concurrent.Executor executor);

}