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