A B C D E F G H I L M N O P R S T V W 

A

add(T) - Method in class io.helidon.common.reactive.valve.Tank
 
addAll(Collection<? extends T>) - Method in class io.helidon.common.reactive.valve.Tank
 

B

byteBuffer2Collector() - Static method in class io.helidon.common.reactive.valve.InputStreamValve
A collector of ByteBuffer instances into a single ByteBuffer instance.
byteBufferByteArrayCollector() - Static method in class io.helidon.common.reactive.valve.InputStreamValve
A collector of ByteBuffer instances into a single byte array.
byteBufferStringCollector(Charset) - Static method in class io.helidon.common.reactive.valve.InputStreamValve
A collector of ByteBuffer instances into a String of the provided charset.

C

cancel() - Method in interface io.helidon.common.reactive.Flow.Subscription
Causes the Subscriber to (eventually) stop receiving messages.
cancel() - Method in class io.helidon.common.reactive.SingleSubscriberHolder
Hard cancel - nothing is send to the subscriber but subscription is considered as canceled.
clear() - Method in class io.helidon.common.reactive.valve.Tank
 
close() - Method in class io.helidon.common.reactive.OutputStreamPublisher
 
close() - Method in class io.helidon.common.reactive.SubmissionPublisher
 
close() - Method in class io.helidon.common.reactive.valve.Tank
 
close(Consumer<Flow.Subscriber<? super T>>) - Method in class io.helidon.common.reactive.SingleSubscriberHolder
Mark the subscriber holder as closed.
closeExceptionally(Throwable) - Method in class io.helidon.common.reactive.SubmissionPublisher
Unless already closed, issues onError signals to current subscribers with the given error, and disallows subsequent attempts to publish.
collect(Collector<? super T, A, R>) - Method in interface io.helidon.common.reactive.valve.Valve
Returns a CompletionStage which will be completed when this Valve is completed and result is a collected value.
constant(long) - Static method in interface io.helidon.common.reactive.RetrySchema
Creates the retry schema with a constant result.
contains(Object) - Method in class io.helidon.common.reactive.valve.Tank
 
containsAll(Collection<?>) - Method in class io.helidon.common.reactive.valve.Tank
 

D

defaultBufferSize() - Static method in class io.helidon.common.reactive.Flow
Returns a default value for Publisher or Subscriber buffering, that may be used in the absence of other constraints.
drainTo(Collection<? super T>) - Method in class io.helidon.common.reactive.valve.Tank
 
drainTo(Collection<? super T>, int) - Method in class io.helidon.common.reactive.valve.Tank
 

E

element() - Method in class io.helidon.common.reactive.valve.Tank
 
empty() - Static method in class io.helidon.common.reactive.valve.Valves
Returns an empty Valve - instance, which report complete as soon as handler is registered.
executeOn(ExecutorService) - Method in interface io.helidon.common.reactive.valve.Valve
Returns new Valve which defer all handlers to provided ExecutorService.

F

filter(Predicate<T>) - Method in interface io.helidon.common.reactive.valve.Valve
Returns a Valve consisting of the elements of this Valve that match the given predicate.
flatMap(Function<T, Valve<K>>) - Method in interface io.helidon.common.reactive.valve.Valve
Returns new Valve instance which combines all results into a single Valve.
Flow - Class in io.helidon.common.reactive
Interrelated interfaces and static methods for establishing flow-controlled components in which Publishers produce items consumed by one or more Subscribers, each managed by a Subscription.
Flow.Processor<T,R> - Interface in io.helidon.common.reactive
A component that acts as both a Subscriber and Publisher.
Flow.Publisher<T> - Interface in io.helidon.common.reactive
A producer of items (and related control messages) received by Subscribers.
Flow.Subscriber<T> - Interface in io.helidon.common.reactive
A receiver of messages.
Flow.Subscription - Interface in io.helidon.common.reactive
Message control linking a Flow.Publisher and Flow.Subscriber.
forEach(Consumer<? super T>) - Method in class io.helidon.common.reactive.valve.Tank
 
from(Flow.Publisher<T>) - Static method in class io.helidon.common.reactive.valve.Valves
Creates a Valve instance from provided Flow.Publisher.
from(InputStream, int) - Static method in class io.helidon.common.reactive.valve.Valves
Creates a ByteBuffer based Valve instance from the provided InputStream.
from(InputStream, int, ExecutorService) - Static method in class io.helidon.common.reactive.valve.Valves
Creates a ByteBuffer based Valve instance from the provided InputStream.
from(Iterable<T>) - Static method in class io.helidon.common.reactive.valve.Valves
Creates a Valve instance from the provided Iterable.
from(T...) - Static method in class io.helidon.common.reactive.valve.Valves
Creates a Valve instance from provided array.

G

geometric(long, double, long) - Static method in interface io.helidon.common.reactive.RetrySchema
Creates the retry schema as a bounded geometric series.
get() - Method in class io.helidon.common.reactive.RequestedCounter
Gets the current requested event counter value.
get() - Method in class io.helidon.common.reactive.SingleSubscriberHolder
Get the stored subscriber.
getNumberOfSubscribers() - Method in class io.helidon.common.reactive.SubmissionPublisher
Returns the number of current subscribers.
getThrowable() - Method in class io.helidon.common.reactive.valve.ValveIterator
If original Valve ends with error then this method returns cause of such error.

H

handle(BiConsumer<T, Pausable>) - Method in interface io.helidon.common.reactive.valve.Valve
Register data handlers (callbacks).
handle(BiConsumer<T, Pausable>, Consumer<Throwable>) - Method in interface io.helidon.common.reactive.valve.Valve
Register data handlers (callbacks).
handle(BiConsumer<T, Pausable>, Consumer<Throwable>, Runnable) - Method in class io.helidon.common.reactive.valve.Tank
 
handle(BiConsumer<T, Pausable>, Consumer<Throwable>, Runnable) - Method in interface io.helidon.common.reactive.valve.Valve
Register data handlers (callbacks).
handle(Consumer<T>) - Method in interface io.helidon.common.reactive.valve.Valve
Register data handlers (callbacks).
handle(Consumer<T>, Consumer<Throwable>) - Method in interface io.helidon.common.reactive.valve.Valve
Register data handlers (callbacks).
handle(Consumer<T>, Consumer<Throwable>, Runnable) - Method in interface io.helidon.common.reactive.valve.Valve
Register data handlers (callbacks).
hasNext() - Method in class io.helidon.common.reactive.valve.ValveIterator
 
hasSubscribers() - Method in class io.helidon.common.reactive.SubmissionPublisher
Returns true if this publisher has any subscribers.

I

increment(long, Consumer<? super IllegalArgumentException>) - Method in class io.helidon.common.reactive.RequestedCounter
Increments safely a requested event counter to prevent Long.MAX_VALUE overflow.
InputStreamValve - Class in io.helidon.common.reactive.valve
The InputStreamValve is a ByteBuffer based Valve that transforms a possibly blocking InputStream into the Valve.
io.helidon.common.reactive - package io.helidon.common.reactive
Common reactive library for Helidon projects.
io.helidon.common.reactive.valve - package io.helidon.common.reactive.valve
Reactive utilities for Helidon projects.
isClosed() - Method in class io.helidon.common.reactive.SingleSubscriberHolder
Check if this subscriber holder has been closed.
isEmpty() - Method in class io.helidon.common.reactive.valve.Tank
 
iterator() - Method in class io.helidon.common.reactive.valve.Tank
 

L

linear(long, long, long) - Static method in interface io.helidon.common.reactive.RetrySchema
Creates the retry schema with a linear delay increment.

M

map(Function<T, K>) - Method in interface io.helidon.common.reactive.valve.Valve
Returns a Valve consisting of the results of applying the given function to the elements of this Valve.
moreData() - Method in class io.helidon.common.reactive.valve.InputStreamValve
 

N

next() - Method in class io.helidon.common.reactive.valve.ValveIterator
 
nextDelay(int, long) - Method in interface io.helidon.common.reactive.RetrySchema
Returns a delay before next read if the last one poll did not get new data.

O

offer(T) - Method in class io.helidon.common.reactive.valve.Tank
 
offer(T, long, TimeUnit) - Method in class io.helidon.common.reactive.valve.Tank
 
offer(T, BiPredicate<Flow.Subscriber<? super T>, ? super T>) - Method in class io.helidon.common.reactive.SubmissionPublisher
Publishes the given item to each current subscriber.
onComplete() - Method in interface io.helidon.common.reactive.Flow.Subscriber
Method invoked when it is known that no additional Subscriber method invocations will occur for a Subscription that is not already terminated by error, after which no other Subscriber methods are invoked by the Subscription.
onError(Throwable) - Method in interface io.helidon.common.reactive.Flow.Subscriber
Method invoked upon an unrecoverable error encountered by a Publisher or Subscription, after which no other Subscriber methods are invoked by the Subscription.
onNext(T) - Method in interface io.helidon.common.reactive.Flow.Subscriber
Method invoked with a Subscription's next item.
onSubscribe(Flow.Subscription) - Method in interface io.helidon.common.reactive.Flow.Subscriber
Method invoked prior to invoking any other Subscriber methods for the given Subscription.
OutputStreamPublisher - Class in io.helidon.common.reactive
Output stream that publishes any data written to it as ByteBuffer events.
OutputStreamPublisher() - Constructor for class io.helidon.common.reactive.OutputStreamPublisher
 

P

Pausable - Interface in io.helidon.common.reactive.valve
A simple pause / resume interface.
pause() - Method in interface io.helidon.common.reactive.valve.Pausable
Pause data chunks flow until Pausable.resume().
pause() - Method in class io.helidon.common.reactive.valve.Tank
 
peek() - Method in class io.helidon.common.reactive.valve.Tank
 
peek(Consumer<T>) - Method in interface io.helidon.common.reactive.valve.Valve
Returns a Valve consisting of the elements of this Valve, additionally performing the provided action on each element as elements are consumed from the resulting Valve.
poll() - Method in class io.helidon.common.reactive.valve.Tank
 
poll(long, TimeUnit) - Method in class io.helidon.common.reactive.valve.Tank
 
publisherFromFlow(Flow.Publisher<T>) - Static method in class io.helidon.common.reactive.ReactiveStreamsAdapter
Return a Publisher from a Flow.Publisher.
publisherToFlow(Publisher<T>) - Static method in class io.helidon.common.reactive.ReactiveStreamsAdapter
Return a Flow.Publisher from a Publisher.
put(T) - Method in class io.helidon.common.reactive.valve.Tank
Inserts the specified element at the tail of this queue, waiting for space to become available if the queue is full.

R

ReactiveStreamsAdapter - Class in io.helidon.common.reactive
Static utility methods for converting between Helidon reactive API Flow and reactive-streams.
register(Flow.Subscriber<? super T>) - Method in class io.helidon.common.reactive.SingleSubscriberHolder
Register a new subscriber.
remainingCapacity() - Method in class io.helidon.common.reactive.valve.Tank
 
remove() - Method in class io.helidon.common.reactive.valve.Tank
 
remove(Object) - Method in class io.helidon.common.reactive.valve.Tank
 
removeAll(Collection<?>) - Method in class io.helidon.common.reactive.valve.Tank
 
removeIf(Predicate<? super T>) - Method in class io.helidon.common.reactive.valve.Tank
 
request(long) - Method in interface io.helidon.common.reactive.Flow.Subscription
Adds the given number n of items to the current unfulfilled demand for this subscription.
RequestedCounter - Class in io.helidon.common.reactive
Requested event counter.
RequestedCounter() - Constructor for class io.helidon.common.reactive.RequestedCounter
 
resume() - Method in interface io.helidon.common.reactive.valve.Pausable
Resume data chunks flow after Pausable.pause().
resume() - Method in class io.helidon.common.reactive.valve.Tank
 
retainAll(Collection<?>) - Method in class io.helidon.common.reactive.valve.Tank
 
RetrySchema - Interface in io.helidon.common.reactive
Defines delay for next read/poll operation in a polling publisher.

S

SingleSubscriberHolder<T> - Class in io.helidon.common.reactive
A subscriber container that accepts only a single, one-time subscriber registration.
SingleSubscriberHolder() - Constructor for class io.helidon.common.reactive.SingleSubscriberHolder
 
size() - Method in class io.helidon.common.reactive.valve.Tank
 
spliterator() - Method in class io.helidon.common.reactive.valve.Tank
 
SubmissionPublisher<T> - Class in io.helidon.common.reactive
A Flow.Publisher that asynchronously issues submitted (non-null) items to current subscribers until it is closed.
SubmissionPublisher() - Constructor for class io.helidon.common.reactive.SubmissionPublisher
Creates a new SubmissionPublisher using the current thread for delivery to subscribers, with maximum buffer capacity of Flow.defaultBufferSize().
SubmissionPublisher(int) - Constructor for class io.helidon.common.reactive.SubmissionPublisher
Creates a new SubmissionPublisher using the current thread for delivery to subscribers, with the given maximum buffer size for each subscriber.
SubmissionPublisher(Executor, int) - Constructor for class io.helidon.common.reactive.SubmissionPublisher
Creates a new SubmissionPublisher using the given Executor for async delivery to subscribers, with the given maximum buffer size for each subscriber.
submit(T) - Method in class io.helidon.common.reactive.SubmissionPublisher
Publishes the given item to each current subscriber.
subscribe(Flow.Subscriber<? super ByteBuffer>) - Method in class io.helidon.common.reactive.OutputStreamPublisher
 
subscribe(Flow.Subscriber<? super T>) - Method in interface io.helidon.common.reactive.Flow.Publisher
Adds the given Subscriber if possible.
subscribe(Flow.Subscriber<? super T>) - Method in class io.helidon.common.reactive.SubmissionPublisher
Adds the given Subscriber.
subscriberFromFlow(Flow.Subscriber<T>) - Static method in class io.helidon.common.reactive.ReactiveStreamsAdapter
Return a Subscriber from a Flow.Subscriber.
subscriberToFlow(Subscriber<T>) - Static method in class io.helidon.common.reactive.ReactiveStreamsAdapter
Return a Flow.Subscriber from a Subscriber.

T

take() - Method in class io.helidon.common.reactive.valve.Tank
 
Tank<T> - Class in io.helidon.common.reactive.valve
Tank of events is a closeable FIFO queue with a limited size implementing Valve reactive API.
Tank(int) - Constructor for class io.helidon.common.reactive.valve.Tank
Creates new instance.
toArray() - Method in class io.helidon.common.reactive.valve.Tank
 
toArray(T1[]) - Method in class io.helidon.common.reactive.valve.Tank
 
toIterator() - Method in interface io.helidon.common.reactive.valve.Valve
Transforms this Valve into ValveIterator representation.
toPublisher() - Method in interface io.helidon.common.reactive.valve.Valve
Transforms this Valve into Flow.Publisher representation.
tryDecrement() - Method in class io.helidon.common.reactive.RequestedCounter
Tries to safely decrement a positive requested counter value, making sure the value does not drop below zero.

V

Valve<T> - Interface in io.helidon.common.reactive.valve
Represents a reactive source of data which can be paused and resumed.
ValveIterator<T> - Class in io.helidon.common.reactive.valve
Transforms reactive Valve into a blocking Iterator.
Valves - Class in io.helidon.common.reactive.valve
An utility class for Valve interface.

W

whenDrain(Runnable) - Method in class io.helidon.common.reactive.valve.Tank
Provided handler is called a single time when internal capacity is maximally half full and instance is not closed.
write(byte[]) - Method in class io.helidon.common.reactive.OutputStreamPublisher
 
write(byte[], int, int) - Method in class io.helidon.common.reactive.OutputStreamPublisher
 
write(int) - Method in class io.helidon.common.reactive.OutputStreamPublisher
 
A B C D E F G H I L M N O P R S T V W 
Skip navigation links

Copyright © 2018–2019 Oracle Corporation. All rights reserved.