java.lang.Object
io.smallrye.mutiny.groups.MultiDemandPacing<T>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionon(ScheduledExecutorService executor) Sets the executor to use for issuing demand requests.using(DemandPacer pacer) Sets the demand pacer and return the newMulti.
-
Constructor Details
-
MultiDemandPacing
-
-
Method Details
-
on
Sets the executor to use for issuing demand requests. The default is to useInfrastructure.getDefaultWorkerPool().- Parameters:
executor- the executor, must not benull- Returns:
- this group
-
using
Sets the demand pacer and return the newMulti.- Parameters:
pacer- the pacer, must not benull- Returns:
- the new
Multi
-