Index
All Classes and Interfaces|All Packages
A
- accept(Object) - Method in interface org.bsc.async.AsyncGenerator.EmbedCompletionHandler
- add(T) - Method in class org.bsc.async.internal.UnmodifiableDeque
- addAll(Collection) - Method in class org.bsc.async.internal.UnmodifiableDeque
- addFirst(T) - Method in class org.bsc.async.internal.UnmodifiableDeque
- addLast(T) - Method in class org.bsc.async.internal.UnmodifiableDeque
- async.generator - module async.generator
- AsyncGenerator<E> - Interface in org.bsc.async
-
An asynchronous generator interface that allows generating asynchronous elements.
- AsyncGenerator.Base<E> - Class in org.bsc.async
-
Abstract base class for AsyncGenerator implementations.
- AsyncGenerator.BaseCancellable<E> - Class in org.bsc.async
- AsyncGenerator.Cancellable<E> - Interface in org.bsc.async
- AsyncGenerator.Data<E> - Record Class in org.bsc.async
-
Represents a data element in the AsyncGenerator.
- AsyncGenerator.Embed<E> - Record Class in org.bsc.async
- AsyncGenerator.EmbedCompletionHandler - Interface in org.bsc.async
- AsyncGenerator.HasResultValue - Interface in org.bsc.async
- AsyncGenerator.IsCancellable - Interface in org.bsc.async
- AsyncGenerator.ReduceResult<E> - Record Class in org.bsc.async
- AsyncGenerator.WithEmbed<E> - Class in org.bsc.async
-
An asynchronous generator decorator that allows to generators composition embedding other generators.
- AsyncGenerator.WithResult<E> - Class in org.bsc.async
-
An asynchronous generator decorator that allows retrieving the result value of the asynchronous operation, if any.
- AsyncGeneratorFlow - Interface in org.bsc.async.v5
-
Represents a queue-based asynchronous generator.
- AsyncGeneratorFlow.Builder - Class in org.bsc.async.v5
- AsyncGeneratorFlow.Dispatcher<E> - Interface in org.bsc.async.v5
- AsyncGeneratorFlow.Generator<E> - Class in org.bsc.async.v5
-
Inner class to generate asynchronous elements from the queue.
- AsyncGeneratorFlow.IsCancellableEx - Interface in org.bsc.async.v5
- AsyncGeneratorFlow.IsCancellableEx.Listener - Interface in org.bsc.async.v5
- AsyncGeneratorFlow.IsCancellableEx.Registration - Interface in org.bsc.async.v5
- AsyncGeneratorFlow.Processor<E> - Interface in org.bsc.async.v5
- AsyncGeneratorFlow.Receiver<E> - Interface in org.bsc.async.v5
- AsyncGeneratorQueue - Interface in org.bsc.async
-
Deprecated, for removal: This API element is subject to removal in a future version.
- AsyncGeneratorQueue.Generator<E> - Class in org.bsc.async
-
Deprecated.Inner class to generate asynchronous elements from the queue.
B
- BaseCancellable() - Constructor for class org.bsc.async.AsyncGenerator.BaseCancellable
- BlockingQueueProcessor<E> - Class in org.bsc.async.v5
- BlockingQueueProcessor() - Constructor for class org.bsc.async.v5.BlockingQueueProcessor
- BlockingQueueProcessor(BlockingQueue) - Constructor for class org.bsc.async.v5.BlockingQueueProcessor
- build() - Method in class org.bsc.async.executor.DefaultExecutor.Builder
- build() - Method in class org.bsc.async.v5.AsyncGeneratorFlow.Builder
- build(Consumer) - Method in class org.bsc.async.v5.AsyncGeneratorFlow.Builder
- builder() - Static method in interface org.bsc.async.executor.DefaultExecutor
- builder() - Static method in interface org.bsc.async.v5.AsyncGeneratorFlow
- Builder() - Constructor for class org.bsc.async.executor.DefaultExecutor.Builder
- Builder() - Constructor for class org.bsc.async.v5.AsyncGeneratorFlow.Builder
C
- call() - Method in interface org.bsc.async.executor.CancellableExecutor.BlockingCall
- callUntilCancelled(CancellableExecutor.BlockingCall) - Method in class org.bsc.async.executor.CancellableExecutor
-
Any cancel, with or without interrupt, ends the call with an
InterruptedException. - cancel(boolean) - Method in class org.bsc.async.AsyncGenerator.BaseCancellable
-
Requests cancellation of the generator.
- cancel(boolean) - Method in interface org.bsc.async.AsyncGenerator.IsCancellable
-
method that request to cancel generator
- cancel(boolean) - Method in class org.bsc.async.AsyncGenerator.WithEmbed
- cancel(boolean) - Method in class org.bsc.async.AsyncGenerator.WithResult
- cancel(boolean) - Method in class org.bsc.async.AsyncGeneratorQueue.Generator
-
Deprecated.
- cancel(boolean) - Method in class org.bsc.async.executor.CancellableExecutor
- cancel(boolean) - Method in class org.bsc.async.internal.reactive.GeneratorSubscriber
- cancel(boolean) - Method in interface org.bsc.async.v5.AsyncGeneratorFlow.Dispatcher
- cancel(boolean) - Method in class org.bsc.async.v5.AsyncGeneratorFlow.Generator
-
Once the last element has been returned, a cancel keeps the result and does not reach the generators linked with
AsyncGeneratorFlow.Builder.cancelledBy(AsyncGeneratorFlow.IsCancellableEx). - CancellableExecutor - Class in org.bsc.async.executor
-
Runs tasks on a borrowed
Executor, which it never shuts down. - CancellableExecutor.BlockingCall<T> - Interface in org.bsc.async.executor
- cancelled(boolean) - Method in interface org.bsc.async.v5.AsyncGeneratorFlow.IsCancellableEx.Listener
- CANCELLED - Static variable in interface org.bsc.async.AsyncGenerator.IsCancellable
- cancelledBy(AsyncGeneratorFlow.IsCancellableEx) - Method in class org.bsc.async.v5.AsyncGeneratorFlow.Builder
- clear() - Method in class org.bsc.async.internal.UnmodifiableDeque
- close() - Method in class org.bsc.async.AsyncGenerator.Base
-
Closes this AsyncGenerator and releases its resources.
- close() - Method in class org.bsc.async.v5.AsyncGeneratorFlow.Generator
- close() - Method in interface org.bsc.async.v5.AsyncGeneratorFlow.IsCancellableEx.Registration
- composeWith(AsyncGenerator, AsyncGenerator.EmbedCompletionHandler) - Static method in record class org.bsc.async.AsyncGenerator.Data
- contains(Object) - Method in class org.bsc.async.internal.UnmodifiableDeque
- containsAll(Collection) - Method in class org.bsc.async.internal.UnmodifiableDeque
- create(Consumer) - Static method in interface org.bsc.async.v5.AsyncGeneratorFlow
- create(AsyncGeneratorFlow.Processor) - Static method in interface org.bsc.async.v5.AsyncGeneratorFlow
D
- Data(CompletableFuture, AsyncGenerator.Embed, Object) - Constructor for record class org.bsc.async.AsyncGenerator.Data
-
Creates an instance of a
Datarecord class. - DefaultExecutor - Interface in org.bsc.async.executor
- DefaultExecutor.Builder - Class in org.bsc.async.executor
- delegate() - Method in class org.bsc.async.AsyncGenerator.WithResult
- descendingIterator() - Method in class org.bsc.async.internal.UnmodifiableDeque
- dispatchAsync(AsyncGenerator.Data) - Method in interface org.bsc.async.v5.AsyncGeneratorFlow.Dispatcher
- dispatcher() - Method in interface org.bsc.async.v5.AsyncGeneratorFlow.Processor
- dispatcher() - Method in class org.bsc.async.v5.BlockingQueueProcessor
- dispatchSync(AsyncGenerator.Data) - Method in interface org.bsc.async.v5.AsyncGeneratorFlow.Dispatcher
- done() - Static method in record class org.bsc.async.AsyncGenerator.Data
- done(Object) - Static method in record class org.bsc.async.AsyncGenerator.Data
E
- element() - Method in class org.bsc.async.internal.UnmodifiableDeque
- embed() - Method in record class org.bsc.async.AsyncGenerator.Data
-
Returns the value of the
embedrecord component. - Embed(AsyncGenerator, AsyncGenerator.EmbedCompletionHandler) - Constructor for record class org.bsc.async.AsyncGenerator.Embed
-
Creates an instance of a
Embedrecord class. - empty() - Static method in interface org.bsc.async.AsyncGenerator
-
Returns an empty AsyncGenerator.
- equals(Object) - Method in record class org.bsc.async.AsyncGenerator.Data
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.async.AsyncGenerator.Embed
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.bsc.async.AsyncGenerator.ReduceResult
-
Indicates whether some other object is "equal to" this one.
- error(Throwable) - Static method in record class org.bsc.async.AsyncGenerator.Data
- error(Throwable) - Static method in interface org.bsc.async.AsyncGenerator
- execute(Runnable) - Method in class org.bsc.async.executor.CancellableExecutor
- executor() - Method in class org.bsc.async.AsyncGenerator.Base
- executor() - Method in interface org.bsc.async.AsyncGenerator
- executor() - Method in class org.bsc.async.AsyncGenerator.WithEmbed
- executor() - Method in class org.bsc.async.AsyncGenerator.WithResult
- executor() - Method in class org.bsc.async.internal.reactive.GeneratorSubscriber
- executor(Executor) - Method in class org.bsc.async.v5.AsyncGeneratorFlow.Builder
F
- flatMap(Function) - Method in interface org.bsc.async.AsyncGenerator
-
Maps the elements of this generator to a new asynchronous generator, and flattens the resulting nested generators.
- FlowGenerator - Interface in org.bsc.async
-
Provides methods for converting between
FlowGeneratorand variousFlow.Publishertypes. - forEachAsync(Consumer) - Method in interface org.bsc.async.AsyncGenerator
-
Asynchronously iterates over the elements of the AsyncGenerator and applies the given consumer to each element.
- forEachAsync(Consumer) - Method in class org.bsc.async.AsyncGenerator.WithEmbed
- from(Iterator) - Static method in interface org.bsc.async.AsyncGenerator
-
Collects asynchronous elements from an iterator.
- fromPublisher(P) - Static method in interface org.bsc.async.FlowGenerator
-
Creates an
AsyncGeneratorfrom aFlow.Publisher. - fromPublisher(P, Supplier) - Static method in interface org.bsc.async.FlowGenerator
-
Creates an
AsyncGeneratorfrom aFlow.Publisher. - future() - Method in record class org.bsc.async.AsyncGenerator.Data
-
Returns the value of the
futurerecord component.
G
- generator() - Method in record class org.bsc.async.AsyncGenerator.Embed
-
Returns the value of the
generatorrecord component. - Generator(BlockingQueue) - Constructor for class org.bsc.async.AsyncGeneratorQueue.Generator
-
Deprecated.Constructs a Generator with the specified queue.
- GeneratorPublisher<T> - Class in org.bsc.async.internal.reactive
-
A
GeneratorPublisheris aFlow.Publisherthat generates items from an asynchronous generator. - GeneratorPublisher(AsyncGenerator) - Constructor for class org.bsc.async.internal.reactive.GeneratorPublisher
-
Constructs a new
GeneratorPublisherwith the specified async generator. - GeneratorSubscriber<T> - Class in org.bsc.async.internal.reactive
-
Represents a subscriber for generating asynchronous data streams.
- GeneratorSubscriber(P, Supplier, AsyncGeneratorFlow.Processor) - Constructor for class org.bsc.async.internal.reactive.GeneratorSubscriber
-
Constructs a new instance of
GeneratorSubscriber. - GeneratorSubscriber(P, AsyncGeneratorFlow.Processor) - Constructor for class org.bsc.async.internal.reactive.GeneratorSubscriber
-
Constructs a new instance of
GeneratorSubscriber. - getFirst() - Method in class org.bsc.async.internal.UnmodifiableDeque
- getLast() - Method in class org.bsc.async.internal.UnmodifiableDeque
H
- hashCode() - Method in record class org.bsc.async.AsyncGenerator.Data
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.async.AsyncGenerator.Embed
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.bsc.async.AsyncGenerator.ReduceResult
-
Returns a hash code value for this object.
I
- isCancelled() - Method in class org.bsc.async.AsyncGenerator.BaseCancellable
- isCancelled() - Method in interface org.bsc.async.AsyncGenerator.IsCancellable
-
Checks if the asynchronous generation has been cancelled.
- isCancelled() - Method in class org.bsc.async.executor.CancellableExecutor
- isCancelled() - Method in class org.bsc.async.internal.reactive.GeneratorSubscriber
- isCancelled() - Method in interface org.bsc.async.v5.AsyncGeneratorFlow.Dispatcher
- isClosed() - Method in class org.bsc.async.AsyncGenerator.Base
-
Checks if this generator has been closed.
- isDone() - Method in record class org.bsc.async.AsyncGenerator.Data
- isEmpty() - Method in class org.bsc.async.internal.UnmodifiableDeque
- isError() - Method in record class org.bsc.async.AsyncGenerator.Data
- iterator() - Method in interface org.bsc.async.AsyncGenerator
-
Returns an iterator over the elements of this AsyncGenerator.
- iterator() - Method in class org.bsc.async.AsyncGenerator.WithEmbed
- iterator() - Method in class org.bsc.async.internal.UnmodifiableDeque
M
- map(Function) - Method in interface org.bsc.async.AsyncGenerator
-
Maps the elements of this generator to a new asynchronous generator.
- mapResult() - Method in class org.bsc.async.internal.reactive.GeneratorSubscriber
N
- name(String) - Method in class org.bsc.async.executor.DefaultExecutor.Builder
- next() - Method in interface org.bsc.async.AsyncGenerator
-
Retrieves the next asynchronous element.
- next() - Method in class org.bsc.async.AsyncGenerator.WithEmbed
- next() - Method in class org.bsc.async.AsyncGenerator.WithResult
- next() - Method in class org.bsc.async.AsyncGeneratorQueue.Generator
-
Deprecated.Retrieves the next element from the queue asynchronously.
- next() - Method in class org.bsc.async.internal.reactive.GeneratorSubscriber
-
Returns the next
Data<T>object from this iteration. - next() - Method in class org.bsc.async.v5.AsyncGeneratorFlow.Generator
-
Retrieves the next element from the queue asynchronously.
- noop() - Static method in interface org.bsc.async.v5.AsyncGeneratorFlow.IsCancellableEx.Registration
O
- of(E) - Static method in record class org.bsc.async.AsyncGenerator.Data
- of(CompletableFuture) - Static method in record class org.bsc.async.AsyncGenerator.Data
- of(Executor) - Static method in class org.bsc.async.executor.CancellableExecutor
- of(Q, Consumer) - Static method in interface org.bsc.async.AsyncGeneratorQueue
-
Deprecated.Creates an AsyncGenerator from the provided blocking queue and consumer.
- of(Q, Consumer, Executor) - Static method in interface org.bsc.async.AsyncGeneratorQueue
-
Deprecated.Creates an AsyncGenerator from the provided queue, executor, and consumer.
- offer(T) - Method in class org.bsc.async.internal.UnmodifiableDeque
- offerFirst(T) - Method in class org.bsc.async.internal.UnmodifiableDeque
- offerLast(T) - Method in class org.bsc.async.internal.UnmodifiableDeque
- onCancel(AsyncGeneratorFlow.IsCancellableEx.Listener) - Method in interface org.bsc.async.v5.AsyncGeneratorFlow.Dispatcher
- onCancel(AsyncGeneratorFlow.IsCancellableEx.Listener) - Method in class org.bsc.async.v5.AsyncGeneratorFlow.Generator
- onCancel(AsyncGeneratorFlow.IsCancellableEx.Listener) - Method in interface org.bsc.async.v5.AsyncGeneratorFlow.IsCancellableEx
-
Calls the listener right away if already cancelled.
- onComplete() - Method in class org.bsc.async.internal.reactive.GeneratorSubscriber
-
This method is called when the asynchronous operation is completed successfully.
- onCompletion() - Method in record class org.bsc.async.AsyncGenerator.Embed
-
Returns the value of the
onCompletionrecord component. - onError(Throwable) - Method in class org.bsc.async.internal.reactive.GeneratorSubscriber
-
Handles an error by queuing it in the delegate's queue with an errored data.
- onNext(T) - Method in class org.bsc.async.internal.reactive.GeneratorSubscriber
-
Passes the received item to the delegated queue as an
AsyncGenerator.Dataobject. - onSubscribe(Flow.Subscription) - Method in class org.bsc.async.internal.reactive.GeneratorSubscriber
-
Handles the subscription event from a Flux.
- org.bsc.async - package org.bsc.async
- org.bsc.async.executor - package org.bsc.async.executor
- org.bsc.async.internal - package org.bsc.async.internal
- org.bsc.async.internal.reactive - package org.bsc.async.internal.reactive
- org.bsc.async.v5 - package org.bsc.async.v5
P
- peek() - Method in class org.bsc.async.internal.UnmodifiableDeque
- peekFirst() - Method in class org.bsc.async.internal.UnmodifiableDeque
- peekLast() - Method in class org.bsc.async.internal.UnmodifiableDeque
- poll() - Method in class org.bsc.async.internal.UnmodifiableDeque
- pollFirst() - Method in class org.bsc.async.internal.UnmodifiableDeque
- pollLast() - Method in class org.bsc.async.internal.UnmodifiableDeque
- pop() - Method in class org.bsc.async.internal.UnmodifiableDeque
- processor(AsyncGeneratorFlow.Processor) - Method in class org.bsc.async.v5.AsyncGeneratorFlow.Builder
- push(T) - Method in class org.bsc.async.internal.UnmodifiableDeque
Q
- queue() - Method in class org.bsc.async.AsyncGeneratorQueue.Generator
-
Deprecated.
- queue() - Method in class org.bsc.async.v5.BlockingQueueProcessor
R
- receiver() - Method in class org.bsc.async.v5.AsyncGeneratorFlow.Generator
- receiver() - Method in interface org.bsc.async.v5.AsyncGeneratorFlow.Processor
- receiver() - Method in class org.bsc.async.v5.BlockingQueueProcessor
- reduce(BinaryOperator) - Method in interface org.bsc.async.AsyncGenerator
- reduce(BinaryOperator) - Method in class org.bsc.async.AsyncGenerator.WithEmbed
- reduce(R, BiFunction) - Method in interface org.bsc.async.AsyncGenerator
- reduce(R, BiFunction) - Method in class org.bsc.async.AsyncGenerator.WithEmbed
- reduceAsync(BinaryOperator) - Method in interface org.bsc.async.AsyncGenerator
- reduceAsync(BinaryOperator) - Method in class org.bsc.async.AsyncGenerator.WithEmbed
- reduceAsync(R, BiFunction) - Method in interface org.bsc.async.AsyncGenerator
- reduceAsync(R, BiFunction) - Method in class org.bsc.async.AsyncGenerator.WithEmbed
- ReduceResult(E, Object) - Constructor for record class org.bsc.async.AsyncGenerator.ReduceResult
-
Creates an instance of a
ReduceResultrecord class. - remove() - Method in class org.bsc.async.internal.UnmodifiableDeque
- remove(Object) - Method in class org.bsc.async.internal.UnmodifiableDeque
- removeAll(Collection) - Method in class org.bsc.async.internal.UnmodifiableDeque
- removeFirst() - Method in class org.bsc.async.internal.UnmodifiableDeque
- removeFirstOccurrence(Object) - Method in class org.bsc.async.internal.UnmodifiableDeque
- removeLast() - Method in class org.bsc.async.internal.UnmodifiableDeque
- removeLastOccurrence(Object) - Method in class org.bsc.async.internal.UnmodifiableDeque
- result() - Method in record class org.bsc.async.AsyncGenerator.ReduceResult
-
Returns the value of the
resultrecord component. - resultValue() - Method in record class org.bsc.async.AsyncGenerator.Data
-
Returns the value of the
resultValuerecord component. - resultValue() - Method in record class org.bsc.async.AsyncGenerator.Embed
- resultValue() - Method in interface org.bsc.async.AsyncGenerator.HasResultValue
- resultValue() - Method in record class org.bsc.async.AsyncGenerator.ReduceResult
-
Returns the value of the
resultValuerecord component. - resultValue() - Method in class org.bsc.async.AsyncGenerator.WithEmbed
- resultValue() - Method in class org.bsc.async.AsyncGenerator.WithResult
-
Retrieves the result value of the generator, if any.
- resultValue() - Method in class org.bsc.async.v5.AsyncGeneratorFlow.Generator
- resultValue(Iterator) - Static method in interface org.bsc.async.AsyncGenerator
- resultValue(AsyncGenerator) - Static method in interface org.bsc.async.AsyncGenerator
- resultValues() - Method in class org.bsc.async.AsyncGenerator.WithEmbed
- retainAll(Collection) - Method in class org.bsc.async.internal.UnmodifiableDeque
S
- size() - Method in class org.bsc.async.internal.UnmodifiableDeque
- stream() - Method in interface org.bsc.async.AsyncGenerator
-
Returns a sequential Stream with the elements of this AsyncGenerator.
- subscribe(Flow.Subscriber) - Method in class org.bsc.async.internal.reactive.GeneratorPublisher
-
Subscribes the provided
Flow.Subscriberto this signal.
T
- toArray() - Method in class org.bsc.async.internal.UnmodifiableDeque
- toArray(T1[]) - Method in class org.bsc.async.internal.UnmodifiableDeque
- toCompletableFuture() - Method in interface org.bsc.async.AsyncGenerator
-
Converts the AsyncGenerator to a CompletableFuture.
- toCompletableFuture() - Method in class org.bsc.async.AsyncGenerator.WithEmbed
- toCompletableFutureAsync() - Method in interface org.bsc.async.AsyncGenerator
- toCompletableFutureAsync() - Method in class org.bsc.async.AsyncGenerator.WithEmbed
- toPublisher(AsyncGenerator) - Static method in interface org.bsc.async.FlowGenerator
-
Converts an
AsyncGeneratorinto aFlow.Publisher. - toString() - Method in record class org.bsc.async.AsyncGenerator.Data
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.async.AsyncGenerator.Embed
-
Returns a string representation of this record class.
- toString() - Method in record class org.bsc.async.AsyncGenerator.ReduceResult
-
Returns a string representation of this record class.
U
- UnmodifiableDeque<T> - Class in org.bsc.async.internal
- UnmodifiableDeque(Deque) - Constructor for class org.bsc.async.internal.UnmodifiableDeque
W
- waitAsync() - Method in interface org.bsc.async.v5.AsyncGeneratorFlow.Receiver
- waitSync() - Method in interface org.bsc.async.v5.AsyncGeneratorFlow.Receiver
- WithEmbed(AsyncGenerator) - Constructor for class org.bsc.async.AsyncGenerator.WithEmbed
- WithEmbed(AsyncGenerator, AsyncGenerator.EmbedCompletionHandler) - Constructor for class org.bsc.async.AsyncGenerator.WithEmbed
- WithResult(AsyncGenerator) - Constructor for class org.bsc.async.AsyncGenerator.WithResult
All Classes and Interfaces|All Packages
AsyncGeneratorFlowinstead