| Package | Description |
|---|---|
| com.linecorp.armeria.common.stream |
Streamed message types.
|
| Modifier and Type | Method and Description |
|---|---|
static SubscriptionOption |
SubscriptionOption.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionOption[] |
SubscriptionOption.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<List<T>> |
StreamMessageWrapper.drainAll(io.netty.util.concurrent.EventExecutor executor,
SubscriptionOption... options) |
CompletableFuture<List<T>> |
StreamMessage.drainAll(io.netty.util.concurrent.EventExecutor executor,
SubscriptionOption... options)
Subscribes to this
StreamMessage and retrieves all elements from it. |
CompletableFuture<List<T>> |
PublisherBasedStreamMessage.drainAll(io.netty.util.concurrent.EventExecutor executor,
SubscriptionOption... options) |
CompletableFuture<List<U>> |
FilteredStreamMessage.drainAll(io.netty.util.concurrent.EventExecutor executor,
SubscriptionOption... options) |
default CompletableFuture<List<T>> |
StreamMessage.drainAll(SubscriptionOption... options)
Subscribes to this
StreamMessage and retrieves all elements from it. |
void |
StreamMessageWrapper.subscribe(org.reactivestreams.Subscriber<? super T> subscriber,
io.netty.util.concurrent.EventExecutor executor,
SubscriptionOption... options) |
void |
StreamMessage.subscribe(org.reactivestreams.Subscriber<? super T> subscriber,
io.netty.util.concurrent.EventExecutor executor,
SubscriptionOption... options)
Requests to start streaming data to the specified
Subscriber. |
void |
PublisherBasedStreamMessage.subscribe(org.reactivestreams.Subscriber<? super T> subscriber,
io.netty.util.concurrent.EventExecutor executor,
SubscriptionOption... options) |
default void |
StreamMessage.subscribe(org.reactivestreams.Subscriber<? super T> subscriber,
SubscriptionOption... options)
Requests to start streaming data to the specified
Subscriber. |
void |
FilteredStreamMessage.subscribe(org.reactivestreams.Subscriber<? super U> subscriber,
io.netty.util.concurrent.EventExecutor executor,
SubscriptionOption... options) |
Copyright © 2020 LeanCloud. All rights reserved.