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 anScheduledExecutorServiceinstance 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
ScheduledExecutorServiceProviderimplementation that is itself annotated with the@ClientAsyncExecutorannotation.- Since:
- 2.26
- Author:
- Adam Lindenthal
- See Also:
ClientBackgroundSchedulerLiteral