public interface Closeable extends Closeable, QueryCloseable
Modifier and Type | Method and Description |
---|---|
void |
close()
Doesn't throw a checked exception.
|
static void |
closeQuietly(Object... closeables) |
static void |
closeQuietly(@Nullable Object o) |
default void |
notifyClosing()
Deprecated.
|
default void |
warnAndCloseIfNotClosed() |
isClosed, isClosing, throwExceptionIfClosed
static void closeQuietly(@Nullable Object... closeables)
static void closeQuietly(@Nullable @Nullable Object o)
void close()
close
in interface AutoCloseable
close
in interface Closeable
@Deprecated default void notifyClosing()
default void warnAndCloseIfNotClosed()
Copyright © 2021. All rights reserved.