Modifier and Type | Method and Description |
---|---|
StateFuture<Void> |
StateFuture.thenAccept(ThrowingConsumer<? super T,? extends Exception> action)
Returns a new StateFuture that, when this future completes normally, is executed with this
future's result as the argument to the supplied action.
|
Modifier and Type | Method and Description |
---|---|
StateFuture<Void> |
CompletedStateFuture.thenAccept(ThrowingConsumer<? super T,? extends Exception> action) |
StateFuture<Void> |
StateFutureImpl.thenAccept(ThrowingConsumer<? super T,? extends Exception> action) |
void |
CompletedStateFuture.thenSyncAccept(ThrowingConsumer<? super T,? extends Exception> action) |
void |
StateFutureImpl.thenSyncAccept(ThrowingConsumer<? super T,? extends Exception> action) |
void |
InternalStateFuture.thenSyncAccept(ThrowingConsumer<? super T,? extends Exception> action)
Accept the action in the same thread with the one of complete (or current thread if it has
been completed).
|
Modifier and Type | Method and Description |
---|---|
void |
StateChangeLogger.valueElementAdded(ThrowingConsumer<DataOutputView,IOException> dataSerializer,
Namespace ns)
State element added, such as append of a single element to a list.
|
void |
StateChangeLogger.valueElementAddedOrUpdated(ThrowingConsumer<DataOutputView,IOException> dataSerializer,
Namespace ns)
State element added or updated, such as put into a map.
|
void |
StateChangeLogger.valueElementRemoved(ThrowingConsumer<DataOutputView,IOException> dataSerializer,
Namespace ns)
State element removed, such mapping removal from a map.
|
Modifier and Type | Method and Description |
---|---|
ThrowingConsumer<StreamRecord<IN>,Exception> |
AbstractInput.getRecordProcessor(int inputId) |
Modifier and Type | Method and Description |
---|---|
<T> ThrowingConsumer<StreamRecord<T>,Exception> |
AbstractAsyncStateStreamOperatorV2.getRecordProcessor(int inputId) |
<T> ThrowingConsumer<StreamRecord<T>,Exception> |
AsyncStateProcessing.getRecordProcessor(int inputId)
Get the record processor that could process record from input, which is the only entry for
async processing.
|
<T> ThrowingConsumer<StreamRecord<T>,Exception> |
AbstractAsyncStateStreamOperator.getRecordProcessor(int inputId) |
static <T> ThrowingConsumer<StreamRecord<T>,Exception> |
AsyncStateProcessing.makeRecordProcessor(AsyncStateProcessingOperator asyncOperator,
KeySelector<T,?> keySelector,
ThrowingConsumer<StreamRecord<T>,Exception> processor)
Static method helper to make a record processor with given infos.
|
Modifier and Type | Method and Description |
---|---|
static <T> ThrowingConsumer<StreamRecord<T>,Exception> |
AsyncStateProcessing.makeRecordProcessor(AsyncStateProcessingOperator asyncOperator,
KeySelector<T,?> keySelector,
ThrowingConsumer<StreamRecord<T>,Exception> processor)
Static method helper to make a record processor with given infos.
|
Modifier and Type | Method and Description |
---|---|
<T> ThrowingConsumer<StreamRecord<T>,Exception> |
OneInput.getRecordProcessor(int inputId) |
<T> ThrowingConsumer<StreamRecord<T>,Exception> |
SecondInputOfTwoInput.getRecordProcessor(int inputId) |
<T> ThrowingConsumer<StreamRecord<T>,Exception> |
FirstInputOfTwoInput.getRecordProcessor(int inputId) |
Modifier and Type | Method and Description |
---|---|
static <T> void |
LambdaUtil.applyToAllWhileSuppressingExceptions(Iterable<T> inputs,
ThrowingConsumer<T,? extends Exception> throwingConsumer)
This method supplies all elements from the input to the consumer.
|
Modifier and Type | Method and Description |
---|---|
static <A> Consumer<A> |
ThrowingConsumer.unchecked(ThrowingConsumer<A,?> throwingConsumer)
Convert a
ThrowingConsumer into a Consumer . |
static <A> Consumer<A> |
FunctionUtils.uncheckedConsumer(ThrowingConsumer<A,?> throwingConsumer)
Converts a
ThrowingConsumer into a Consumer which throws checked exceptions
as unchecked. |
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.