Package org.apache.flink.runtime.asyncprocessing
package org.apache.flink.runtime.asyncprocessing
-
ClassDescriptionA
StateIterator
implementation to facilitate async data load of iterator.The Async Execution Controller (AEC) receives processing requests from operators, and put them into execution according to some strategies.A listener listens the key context switch.An exception for wrapping exceptions that are thrown byStateFuture
callback framework.AStateFutureImpl.CallbackRunner
that gives info ofCallbackRunnerWrapper.isHasMail()
to the AEC and notifies new mail if needed.A state future that holds theRecordContext
and maintains the reference count of it.Epoch manager segments inputs into distinct epochs, marked by the arrival of non-records(e.g.All inputs are segment into distinct epochs, marked by the arrival of non-record inputs.This enum defines whether parallel execution between epochs is allowed.Key accounting unit holds the current in-flight key and tracks the corresponding ongoing records, which is used to preserve the ordering of independent chainedStateFuture
.A context that preserves the necessary variables required by each operation, all operations for one record will share the same element context.ReferenceCounted<ReleaseHelper>An object that can be reference counted, the internal resource would be released when the reference count reaches zero.Executor for executing batchStateRequest
s.An internal factory forInternalStateFuture
that build future with necessary context switch and wired with mailbox executor.StateRequest<K,N, IN, OUT> A request encapsulates the necessary data to perform a state request.A buffer to hold state requests to execute state requests in batch, which can only be manipulated within task thread.A container which is used to holdStateRequest
s.The handler which can processStateRequest
.The type of processing request forState
from **users' perspective**.