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
ConstructorsModifierConstructorDescriptionprivateScheduledExecutorServiceSupplier(ScheduledExecutorServiceProvider executorServiceProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoiddispose(ScheduledExecutorService instance) This method will dispose the provided object created by thisSupplier.get()
-
Field Details
-
executorProvider
-
-
Constructor Details
-
ScheduledExecutorServiceSupplier
-
-
Method Details
-
get
- Specified by:
getin interfaceSupplier<ScheduledExecutorService>
-
dispose
Description copied from interface:DisposableSupplierThis method will dispose the provided object created by thisSupplier.- Specified by:
disposein interfaceDisposableSupplier<ScheduledExecutorService>- Parameters:
instance- the instance to be disposed.
-