Package io.servicetalk.concurrent.api
Interface GroupedPublisher.QueueSizeProvider
- Enclosing class:
- GroupedPublisher<Key,
T>
Deprecated.
Provide the maximum queue size to use for a particular
GroupedPublisher
key.-
Method Summary
Modifier and TypeMethodDescriptionint
calculateMaxQueueSize
(int groupMaxQueueSize) Deprecated.Calculate the maximum queue size for a particularGroupedPublisher
key.
-
Method Details
-
calculateMaxQueueSize
int calculateMaxQueueSize(int groupMaxQueueSize) Deprecated.Calculate the maximum queue size for a particularGroupedPublisher
key.- Parameters:
groupMaxQueueSize
- The maximum queue size forGroupedPublisher
objects.- Returns:
- The maximum queue size for a particular
GroupedPublisher
key.
-
Publisher.groupBy(Function, int)
instead.