Key
- Key for the group. If this is of type GroupedPublisher.QueueSizeProvider
new keys will use the
value provided by GroupedPublisher.QueueSizeProvider.calculateMaxQueueSize(int)
to determine the maximum queue size for this
group.T
- Items emitted by this Publisher
.public abstract class GroupedPublisher<Key,T> extends Publisher<T>
Publisher.groupBy(Function, int)
or its variants.Modifier and Type | Class and Description |
---|---|
static interface |
GroupedPublisher.QueueSizeProvider
Provide the maximum queue size to use for a particular
GroupedPublisher key. |
Modifier and Type | Method and Description |
---|---|
Key |
key()
Returns the key for this group.
|
java.lang.String |
toString() |
afterCancel, afterFinally, afterOnComplete, afterOnError, afterOnNext, afterOnSubscribe, afterRequest, afterSubscriber, afterSubscription, beforeCancel, beforeFinally, beforeOnComplete, beforeOnError, beforeOnNext, beforeOnSubscribe, beforeRequest, beforeSubscriber, beforeSubscription, collect, concat, concat, concat, defer, empty, failed, filter, firstOrElse, firstOrError, flatMapCompletable, flatMapCompletable, flatMapCompletableDelayError, flatMapCompletableDelayError, flatMapConcatIterable, flatMapMergeSingle, flatMapMergeSingle, flatMapMergeSingleDelayError, flatMapMergeSingleDelayError, forEach, from, from, fromBlockingIterable, fromInputStream, fromIterable, groupBy, groupBy, groupToMany, groupToMany, handleSubscribe, idleTimeout, idleTimeout, idleTimeout, idleTimeout, ignoreElements, liftAsync, liftSync, liftSyncToSingle, map, multicastToExactly, multicastToExactly, never, publishAndSubscribeOn, publishAndSubscribeOnOverride, publishOn, publishOnOverride, recoverWith, repeat, repeatWhen, retry, retryWhen, subscribeInternal, subscribeOn, subscribeOnOverride, subscribeShareContext, takeAtMost, takeUntil, takeWhile, toCompletionStage, toCompletionStage, toFuture, toFuture, toInputStream, toInputStream, toIterable, toIterable, whenCancel, whenFinally, whenOnComplete, whenOnError, whenOnNext, whenOnSubscribe, whenRequest, whenSubscriber, whenSubscription
public final Key key()
public java.lang.String toString()
toString
in class java.lang.Object