Index
All Classes and Interfaces|All Packages
A
- AdaptersToFlow - Interface in mutiny.zero.flow.adapters
-
Adapters from Reactive Streams types to
Flowtypes. - AdaptersToReactiveStreams - Interface in mutiny.zero.flow.adapters
-
Adapters from
Flowtypes to Reactive Streams types. - always() - Static method in class mutiny.zero.operators.Retry
- applyExceptionally(CompletionStage<T>, Function<Throwable, Throwable>) - Static method in interface mutiny.zero.AsyncHelpers
-
Applies a function on failure to produce another failure.
- AsyncHelpers - Interface in mutiny.zero
- atMost(int) - Static method in class mutiny.zero.operators.Retry
B
- BackpressureStrategy - Enum in mutiny.zero
-
Define a
Tubeback-pressure management strategy. - BUFFER - Enum constant in enum mutiny.zero.BackpressureStrategy
-
Buffer overflowing items until more items are being requested.
C
- cancelled() - Method in interface mutiny.zero.Tube
-
Check if the subscription has been cancelled.
- collectToList(Flow.Publisher<T>) - Static method in interface mutiny.zero.PublisherHelpers
-
Collect all items as a list.
- complete() - Method in interface mutiny.zero.Tube
-
Signal completion and that no more items will be sent.
- composeExceptionally(CompletionStage<T>, Function<Throwable, CompletionStage<T>>) - Static method in interface mutiny.zero.AsyncHelpers
-
Composes the given completion stage on failure.
- Concatenate<T> - Class in mutiny.zero.operators
-
A
Flow.Publisherthat is the concatenation of several ones. - Concatenate(List<Flow.Publisher<T>>) - Constructor for class mutiny.zero.operators.Concatenate
-
Create a new concatenation publisher.
- create(TubeConfiguration, Consumer<Tube<T>>) - Static method in interface mutiny.zero.ZeroPublisher
-
Create a new
Flow.Publisherwith the general-purposeTubeAPI.
D
- DROP - Enum constant in enum mutiny.zero.BackpressureStrategy
-
Drop items in case of a lack of outstanding requests.
E
- empty() - Static method in interface mutiny.zero.ZeroPublisher
-
Create an empty
Flow.Publisherthat completes upon subscription without ever sending any item. - ERROR - Enum constant in enum mutiny.zero.BackpressureStrategy
-
Signal a terminal
IllegalStateExceptionas soon as an item is being sent while there is no outstanding request.
F
- fail(Throwable) - Method in interface mutiny.zero.Tube
-
Terminally signal an error.
- fromCompletionStage(Supplier<CompletionStage<T>>) - Static method in interface mutiny.zero.ZeroPublisher
-
Create a
Flow.Publisherfrom aCompletionStage. - fromFailure(Throwable) - Static method in interface mutiny.zero.ZeroPublisher
-
Create a
Flow.Publisherfrom a known failure. - fromFuture(Supplier<Future<? extends ReadStream<T>>>) - Static method in interface mutiny.zero.vertxpublishers.VertxPublisher
-
Create a publisher from a Vert.x future stream supplier.
- fromGenerator(Supplier<S>, Function<S, Iterator<T>>) - Static method in interface mutiny.zero.ZeroPublisher
-
Create a
Flow.Publisherfrom a generator over some state. - fromItems(T...) - Static method in interface mutiny.zero.ZeroPublisher
-
Create a
Flow.Publisherfrom existing items. - fromIterable(Iterable<T>) - Static method in interface mutiny.zero.ZeroPublisher
-
Create a
Flow.Publisherfrom an iterable object. - fromStream(Supplier<Stream<T>>) - Static method in interface mutiny.zero.ZeroPublisher
-
Create a
Flow.Publisherfrom aStream. - fromSupplier(Supplier<ReadStream<T>>) - Static method in interface mutiny.zero.vertxpublishers.VertxPublisher
-
Create a publisher from a Vert.x stream supplier.
G
- getBackpressureStrategy() - Method in class mutiny.zero.TubeConfiguration
-
Get the back-pressure strategy.
- getBufferSize() - Method in class mutiny.zero.TubeConfiguration
-
Get the buffer size.
I
- IGNORE - Enum constant in enum mutiny.zero.BackpressureStrategy
-
Ignore back-pressure and still send items to the
Tubeconsumer.
L
- LATEST - Enum constant in enum mutiny.zero.BackpressureStrategy
-
Buffer overflowing items in a bounded buffer, but only keep the last values.
M
- mutiny.zero - module mutiny.zero
- mutiny.zero - package mutiny.zero
-
Mutiny Zero is minimal API for creating reactive streams compliant
Flow.Publisherobjects. - mutiny.zero.flow.adapters - module mutiny.zero.flow.adapters
- mutiny.zero.flow.adapters - package mutiny.zero.flow.adapters
-
A set of adapters from Reactive Streams to/from
Flow. - mutiny.zero.operators - package mutiny.zero.operators
-
This package contains a set of simple operator classes that can be useful when working with
Flow.Publisherstreams. - mutiny.zero.vertxpublishers - module mutiny.zero.vertxpublishers
- mutiny.zero.vertxpublishers - package mutiny.zero.vertxpublishers
O
- outstandingRequests() - Method in interface mutiny.zero.Tube
-
Check the number of outstanding requests.
P
- processor(Flow.Processor<T, R>) - Static method in interface mutiny.zero.flow.adapters.AdaptersToReactiveStreams
-
Convert a
Flow.Processorto aProcessor. - processor(Processor<T, R>) - Static method in interface mutiny.zero.flow.adapters.AdaptersToFlow
-
Convert a
Processorto aFlow.Processor. - publisher(Flow.Publisher<T>) - Static method in interface mutiny.zero.flow.adapters.AdaptersToReactiveStreams
-
Convert a
Flow.Publisherto aPublisher. - publisher(Publisher<T>) - Static method in interface mutiny.zero.flow.adapters.AdaptersToFlow
-
Convert a
Publisherto aFlow.Publisher. - PublisherHelpers - Interface in mutiny.zero
R
- Recover<T> - Class in mutiny.zero.operators
-
A
Flow.Publisherthat recovers from failure using aFunction. - Recover(Flow.Publisher<T>, Function<Throwable, T>) - Constructor for class mutiny.zero.operators.Recover
-
Build a new recovery publisher.
- Retry<T> - Class in mutiny.zero.operators
-
A
Flow.Publisherthat retries on failure by re-subscribing to its upstream. - Retry(Flow.Publisher<T>, Predicate<Throwable>) - Constructor for class mutiny.zero.operators.Retry
-
Build a new retry publisher.
S
- Select<T> - Class in mutiny.zero.operators
-
A
Flow.Publisherthat selects elements matching aPredicate. - Select(Flow.Publisher<T>, Predicate<T>) - Constructor for class mutiny.zero.operators.Select
-
Build a new selection publisher.
- send(T) - Method in interface mutiny.zero.Tube
-
Send an item.
- subscribe(Flow.Subscriber<? super O>) - Method in class mutiny.zero.operators.Transform
- subscribe(Flow.Subscriber<? super T>) - Method in class mutiny.zero.operators.Concatenate
- subscribe(Flow.Subscriber<? super T>) - Method in class mutiny.zero.operators.Recover
- subscribe(Flow.Subscriber<? super T>) - Method in class mutiny.zero.operators.Retry
- subscribe(Flow.Subscriber<? super T>) - Method in class mutiny.zero.operators.Select
- subscriber(Flow.Subscriber<T>) - Static method in interface mutiny.zero.flow.adapters.AdaptersToReactiveStreams
-
Convert a
Flow.Subscriberto aSubscriber. - subscriber(Subscriber<T>) - Static method in interface mutiny.zero.flow.adapters.AdaptersToFlow
-
Convert a
Subscriberto aFlow.Subscriber. - subscription(Flow.Subscription) - Static method in interface mutiny.zero.flow.adapters.AdaptersToReactiveStreams
-
Convert a
Flow.Subscriptionto aSubscription. - subscription(Subscription) - Static method in interface mutiny.zero.flow.adapters.AdaptersToFlow
-
Convert a
Subscriptionto aFlow.Subscription.
T
- toCompletionStage(Flow.Publisher<T>) - Static method in interface mutiny.zero.ZeroPublisher
-
Create a
CompletionStagefrom aFlow.Publisher. - Transform<I,
O> - Class in mutiny.zero.operators -
A
Flow.Publisherthat transforms elements using aFunction. - Transform(Flow.Publisher<I>, Function<I, O>) - Constructor for class mutiny.zero.operators.Transform
-
Build a new transformation publisher.
- Tube<T> - Interface in mutiny.zero
-
A
Tubeis a general-purpose abstraction for creatingFlow.Publisher. - TubeConfiguration - Class in mutiny.zero
-
Configuration object for creating
TubethroughZeroPublisher.create(TubeConfiguration, Consumer). - TubeConfiguration() - Constructor for class mutiny.zero.TubeConfiguration
U
- UNBOUNDED_BUFFER - Enum constant in enum mutiny.zero.BackpressureStrategy
-
Buffer overflowing items until more items are being requested.
V
- valueOf(String) - Static method in enum mutiny.zero.BackpressureStrategy
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum mutiny.zero.BackpressureStrategy
-
Returns an array containing the constants of this enum type, in the order they are declared.
- VertxPublisher - Interface in mutiny.zero.vertxpublishers
-
Expose Vert.x streams as Reactive Streams compliant publishers.
W
- whenCancelled(Runnable) - Method in interface mutiny.zero.Tube
-
Define an action when the subscription is cancelled.
- whenRequested(LongConsumer) - Method in interface mutiny.zero.Tube
-
Define an action when items are being requested.
- whenTerminates(Runnable) - Method in interface mutiny.zero.Tube
-
Define an action on termination (completion, error or cancellation), typically for cleanup purposes.
- withBackpressureStrategy(BackpressureStrategy) - Method in class mutiny.zero.TubeConfiguration
-
Specify the back-pressure strategy, cannot be
null. - withBufferSize(int) - Method in class mutiny.zero.TubeConfiguration
-
Specify the buffer size must be strictly positive when
backpressureStrategyis one ofBackpressureStrategy.BUFFERandBackpressureStrategy.LATEST.
Z
- ZeroPublisher - Interface in mutiny.zero
-
Factory methods to simplify the creation of reactive streams compliant
Flow.Publisher.
All Classes and Interfaces|All Packages