Class ExecutorProviders.ExecutorServiceSupplier
java.lang.Object
org.glassfish.jersey.process.internal.ExecutorProviders.ExecutorServiceSupplier
- All Implemented Interfaces:
Supplier<ExecutorService>
,DisposableSupplier<ExecutorService>
- Enclosing class:
ExecutorProviders
private static class ExecutorProviders.ExecutorServiceSupplier
extends Object
implements DisposableSupplier<ExecutorService>
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
ExecutorServiceSupplier
(ExecutorServiceProvider executorServiceProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose
(ExecutorService instance) This method will dispose the provided object created by thisSupplier
.get()
-
Field Details
-
executorProvider
-
-
Constructor Details
-
ExecutorServiceSupplier
-
-
Method Details
-
get
- Specified by:
get
in interfaceSupplier<ExecutorService>
-
dispose
Description copied from interface:DisposableSupplier
This method will dispose the provided object created by thisSupplier
.- Specified by:
dispose
in interfaceDisposableSupplier<ExecutorService>
- Parameters:
instance
- the instance to be disposed.
-