Package com.globalmentor.io
Interface Close.Strategy
- Enclosing class:
- Close
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A strategy for closing.
This interface differs from Closeable
in that there is no requirement that the close()
method be idempotent. It is not marked as
AutoCloseable
because it is not meant to be used in auto-closing situations.
- Author:
- Garret Wilson
-
Method Summary
-
Method Details
-
close
Performs some closing operation.The implementation of this method may not be idempotent.
- Throws:
IOException
- if an I/O error occurs.
-