Module org.arakhne.afc.core.vmutils
Package org.arakhne.afc.vmutil
Class ThreadServiceFinder.DefaultProvider
- java.lang.Object
-
- org.arakhne.afc.vmutil.ThreadServiceFinder.DefaultProvider
-
- All Implemented Interfaces:
ThreadServiceProvider
- Enclosing class:
- ThreadServiceFinder
static class ThreadServiceFinder.DefaultProvider extends Object implements ThreadServiceProvider
Thread service provider.- Version:
- 17.0 2020-01-04 14:41:35
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- vmutils
-
-
Constructor Summary
Constructors Constructor Description DefaultProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExecutorServicegetExecutorService()Replies the thread executor for this provider.ScheduledExecutorServicegetScheduledExecutorService()Replies the scheduled thread executor for this provider.
-
-
-
Method Detail
-
getExecutorService
@Pure public ExecutorService getExecutorService()
Description copied from interface:ThreadServiceProviderReplies the thread executor for this provider.- Specified by:
getExecutorServicein interfaceThreadServiceProvider- Returns:
- the default executor service.
-
getScheduledExecutorService
@Pure public ScheduledExecutorService getScheduledExecutorService()
Description copied from interface:ThreadServiceProviderReplies the scheduled thread executor for this provider.- Specified by:
getScheduledExecutorServicein interfaceThreadServiceProvider- Returns:
- the default scheduled executor service.
-
-