Class SmartExecutor.NonClosing
java.lang.Object
org.eclipse.aether.util.concurrency.SmartExecutor.NonClosing
- All Implemented Interfaces:
AutoCloseable
,SmartExecutor
- Enclosing interface:
SmartExecutor
Wrapper to prevent closing.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.aether.util.concurrency.SmartExecutor
SmartExecutor.Direct, SmartExecutor.Limited, SmartExecutor.NonClosing, SmartExecutor.Pooled
-
Method Summary
-
Method Details
-
submit
Description copied from interface:SmartExecutor
Submits aRunnable
to execution.- Specified by:
submit
in interfaceSmartExecutor
-
submit
Description copied from interface:SmartExecutor
Submits aCallable
to execution, returns aCompletableFuture
.- Specified by:
submit
in interfaceSmartExecutor
-
close
Description copied from interface:SmartExecutor
Shut down this instance (ideally used in try-with-resource construct).- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceSmartExecutor
-