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