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.
@FunctionalInterface public static interface Close.Strategy
A strategy for closing.This interface differs from
Closeable
in that there is no requirement that theclose()
method be idempotent. It is not marked asAutoCloseable
because it is not meant to be used in auto-closing situations.- Author:
- Garret Wilson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
Performs some closing operation.
-