summaryrefslogtreecommitdiffstats
path: root/component/src/main/java/com/yahoo/component/provider/ListenableFreezable.java
blob: 6c1c5c11a9fc74ec110d1839b8ebedb9ba4fcd96 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2017 Yahoo Holdings. 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);

}