Interface StreamingListener
- All Known Implementing Classes:
StatsReportListener
public interface StreamingListener
:: DeveloperApi ::
A listener interface for receiving information about an ongoing streaming
computation.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onBatchCompleted
(StreamingListenerBatchCompleted batchCompleted) Called when processing of a batch of jobs has completed.void
onBatchStarted
(StreamingListenerBatchStarted batchStarted) Called when processing of a batch of jobs has started.void
onBatchSubmitted
(StreamingListenerBatchSubmitted batchSubmitted) Called when a batch of jobs has been submitted for processing.void
onOutputOperationCompleted
(StreamingListenerOutputOperationCompleted outputOperationCompleted) Called when processing of a job of a batch has completed.void
onOutputOperationStarted
(StreamingListenerOutputOperationStarted outputOperationStarted) Called when processing of a job of a batch has started.void
onReceiverError
(StreamingListenerReceiverError receiverError) Called when a receiver has reported an errorvoid
onReceiverStarted
(StreamingListenerReceiverStarted receiverStarted) Called when a receiver has been startedvoid
onReceiverStopped
(StreamingListenerReceiverStopped receiverStopped) Called when a receiver has been stoppedvoid
onStreamingStarted
(StreamingListenerStreamingStarted streamingStarted) Called when the streaming has been started
-
Method Details
-
onBatchCompleted
Called when processing of a batch of jobs has completed. -
onBatchStarted
Called when processing of a batch of jobs has started. -
onBatchSubmitted
Called when a batch of jobs has been submitted for processing. -
onOutputOperationCompleted
Called when processing of a job of a batch has completed. -
onOutputOperationStarted
Called when processing of a job of a batch has started. -
onReceiverError
Called when a receiver has reported an error -
onReceiverStarted
Called when a receiver has been started -
onReceiverStopped
Called when a receiver has been stopped -
onStreamingStarted
Called when the streaming has been started
-