Package io.vrap.rmf.base.client.http
Interface QueueRequestMiddleware
- All Superinterfaces:
Middleware
- All Known Implementing Classes:
QueueMiddleware
Deprecated.
Middleware to limit the number of concurrent request using a Queue
-
Method Summary
Modifier and TypeMethodDescriptionstatic QueueRequestMiddleware
Deprecated.static QueueRequestMiddleware
Deprecated.static QueueRequestMiddleware
of
(ExecutorService executorService, int maxRequests, Duration maxWaitTime) Deprecated.static QueueRequestMiddleware
of
(ScheduledExecutorService executorService, int maxRequests, Duration maxWaitTime) Deprecated.Methods inherited from interface io.vrap.rmf.base.client.http.Middleware
invoke
-
Method Details
-
of
static QueueRequestMiddleware of(ExecutorService executorService, int maxRequests, Duration maxWaitTime) Deprecated. -
of
static QueueRequestMiddleware of(ScheduledExecutorService executorService, int maxRequests, Duration maxWaitTime) Deprecated. -
of
static QueueRequestMiddleware of(dev.failsafe.spi.Scheduler scheduler, int maxRequests, Duration maxWaitTime) Deprecated. -
of
Deprecated.
-
PolicyMiddleware
instead