Package org.glassfish.jersey.client
Annotation Type ClientBackgroundScheduler
-
@Target({PARAMETER,FIELD,METHOD,TYPE}) @Retention(RUNTIME) @Documented @Inherited @Qualifier public @interface ClientBackgroundScheduler
Injection qualifier that can be used to inject anScheduledExecutorService
instance used by Jersey client runtime to schedule background tasks.The scheduled executor service instance injected using this injection qualifier can be customized by registering a custom
ScheduledExecutorServiceProvider
implementation that is itself annotated with the@ClientAsyncExecutor
annotation.- Since:
- 2.26
- Author:
- Adam Lindenthal
- See Also:
ClientBackgroundSchedulerLiteral