Uses of Interface
org.voltdb.stream.api.ExecutionContext
Package
Description
-
Uses of ExecutionContext in org.voltdb.stream.api.extension
Modifier and TypeMethodDescriptiondefault CommitResult
StreamSink.commit
(long batchId, ExecutionContext context) default CommitResult
StreamSource.commit
(long batchId, ExecutionContext context) void
StreamSink.consume
(Object output, ExecutionContext context) void
StreamFunction.process
(Object input, Consumer<Object> consumer, ExecutionContext context) void
StreamSource.process
(long batchId, Consumer<Object> consumer, ExecutionContext context) -
Uses of ExecutionContext in org.voltdb.stream.api.pipeline
Modifier and TypeMethodDescriptiondefault CommitResult
VoltStreamSink.commit
(ExecutionContext context) the callback is invoked when the sink has to perform any logic assuring data is securely passed to downstream systemdefault CommitResult
VoltStreamSource.commit
(long batchId, ExecutionContext context) the callback is invoked when the source has to perform any logic assuring data has been successfully processed and upstream system can make progress.default void
VoltLifecycle.configure
(ExecutionContext context) default void
VoltLifecycle.destroy
(ExecutionContext context) void
ExceptionHandler.handle
(List<?> records, ExecutionContext context, Throwable throwable) Gets affected messages (records) and exception.void
VoltFunction.process
(I input, Consumer<O> consumer, ExecutionContext context) processes input and emits output messages to a consumervoid
VoltStreamSource.process
(long batchId, Consumer<T> consumer, ExecutionContext context) Whenever a scheduler has an idle worker it will bind a worker to the source allowing the source to starts processing data. -
Uses of ExecutionContext in org.voltdb.stream.function
Modifier and TypeMethodDescriptionvoid
BatchAccumulator.process
(I input, Consumer<O> consumer, ExecutionContext context) void
CancelingFunction.process
(I input, Consumer<I> consumer, ExecutionContext context) -
Uses of ExecutionContext in org.voltdb.stream.sink
Modifier and TypeMethodDescriptionFileSink.commit
(ExecutionContext context) StdoutSink.commit
(ExecutionContext context) void
FileSink.configure
(ExecutionContext context) -
Uses of ExecutionContext in org.voltdb.stream.source
Modifier and TypeMethodDescriptionvoid
GeneratorSource.configure
(ExecutionContext context) void
GeneratorSource.destroy
(ExecutionContext context) void
GeneratorSource.process
(long batchId, Consumer<T> consumer, ExecutionContext context)