Interface WithResources

All Known Implementing Classes:
ExecutorLocals, WithResources.None

public interface WithResources
A generic interface for encapsulating a Runnable task with related work before and after execution, using the built-in try-with-resources functionality offered by Closeable. See ExecutorPlus.execute(WithResources, Runnable)