Interface Releasable

    • Method Detail

      • isActive

        boolean isActive()
        Specifies whether the Releasable is active.
        Returns:
        true if active; false otherwise
      • isReleased

        default boolean isReleased()
        Specifies whether or this Releasable has been released.

        Implementations must override this method to provide the necessary information.
        Returns:
        true if the Releasable has been released; false otherwise
      • release

        void release()
        Release local resources associated with this Releasable instance.