Class SmartExecutor.Pooled
java.lang.Object
org.eclipse.aether.util.concurrency.SmartExecutor.Pooled
- All Implemented Interfaces:
AutoCloseable,SmartExecutor
- Enclosing interface:
SmartExecutor
Pooled executor backed by
ExecutorService.-
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:SmartExecutorSubmits aRunnableto execution.- Specified by:
submitin interfaceSmartExecutor
-
submit
Description copied from interface:SmartExecutorSubmits aCallableto execution, returns aCompletableFuture.- Specified by:
submitin interfaceSmartExecutor
-
close
Description copied from interface:SmartExecutorShut down this instance (ideally used in try-with-resource construct).- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceSmartExecutor
-