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 TypeMethodDescriptionintcalculateMaxQueueSize(int groupMaxQueueSize) Deprecated.Calculate the maximum queue size for a particularGroupedPublisherkey.
-
Method Details
-
calculateMaxQueueSize
int calculateMaxQueueSize(int groupMaxQueueSize) Deprecated.Calculate the maximum queue size for a particularGroupedPublisherkey.- Parameters:
groupMaxQueueSize- The maximum queue size forGroupedPublisherobjects.- Returns:
- The maximum queue size for a particular
GroupedPublisherkey.
-
Publisher.groupBy(Function, int)instead.