aboutsummaryrefslogtreecommitdiffstats
path: root/jdisc_core/src/main/java/com/yahoo/jdisc/refcount/DestructableResource.java
blob: 36967c4c99b5483e0c32abfa1b6eff10978961d5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.jdisc.refcount;

public interface DestructableResource extends AutoCloseable {

    /**
     * Wrapper to allow access to protected AbstractResource.destroy()
     */
    @Override
    void close();
}