summaryrefslogtreecommitdiffstats
path: root/component/src/main/java/com/yahoo/component/provider/ListenableFreezable.java
blob: 326b044d007cbfa87e45e5994437a2ae44465154 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2016 Yahoo Inc. 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
 * @since 5.1.13
 */
public interface ListenableFreezable extends Freezable {

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

}