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 TypeMethodDescriptionvoidonBatchCompleted(StreamingListenerBatchCompleted batchCompleted) Called when processing of a batch of jobs has completed.voidonBatchStarted(StreamingListenerBatchStarted batchStarted) Called when processing of a batch of jobs has started.voidonBatchSubmitted(StreamingListenerBatchSubmitted batchSubmitted) Called when a batch of jobs has been submitted for processing.voidonOutputOperationCompleted(StreamingListenerOutputOperationCompleted outputOperationCompleted) Called when processing of a job of a batch has completed.voidonOutputOperationStarted(StreamingListenerOutputOperationStarted outputOperationStarted) Called when processing of a job of a batch has started.voidonReceiverError(StreamingListenerReceiverError receiverError) Called when a receiver has reported an errorvoidonReceiverStarted(StreamingListenerReceiverStarted receiverStarted) Called when a receiver has been startedvoidonReceiverStopped(StreamingListenerReceiverStopped receiverStopped) Called when a receiver has been stoppedvoidonStreamingStarted(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
-