public interface Releasable extends AutoCloseable
Modifier and Type | Method | Description |
---|---|---|
default void |
close() |
|
boolean |
isActive() |
Specifies whether or not the Releasable is active.
|
void |
release() |
Release local resources associated with this Releasable instance.
|
boolean isActive()
void release()
default void close()
close
in interface AutoCloseable