Class

org.apache.spark.streaming.scheduler

StatsReportListener

Related Doc: package scheduler

Permalink

class StatsReportListener extends StreamingListener

:: DeveloperApi :: A simple StreamingListener that logs summary statistics across Spark Streaming batches

Annotations
@DeveloperApi()
Source
StreamingListener.scala
Linear Supertypes
StreamingListener, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StatsReportListener
  2. StreamingListener
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StatsReportListener(numBatchInfos: Int = 10)

    Permalink

    numBatchInfos

    Number of last batches to consider for generating statistics (default: 10)

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val batchInfos: Queue[BatchInfo]

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def extractDistribution(getMetric: (BatchInfo) ⇒ Option[Long]): Option[Distribution]

    Permalink
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. def onBatchCompleted(batchStarted: StreamingListenerBatchCompleted): Unit

    Permalink

    Called when processing of a batch of jobs has completed.

    Called when processing of a batch of jobs has completed.

    Definition Classes
    StatsReportListenerStreamingListener
  18. def onBatchStarted(batchStarted: StreamingListenerBatchStarted): Unit

    Permalink

    Called when processing of a batch of jobs has started.

    Called when processing of a batch of jobs has started.

    Definition Classes
    StreamingListener
  19. def onBatchSubmitted(batchSubmitted: StreamingListenerBatchSubmitted): Unit

    Permalink

    Called when a batch of jobs has been submitted for processing.

    Called when a batch of jobs has been submitted for processing.

    Definition Classes
    StreamingListener
  20. def onOutputOperationCompleted(outputOperationCompleted: StreamingListenerOutputOperationCompleted): Unit

    Permalink

    Called when processing of a job of a batch has completed.

    Called when processing of a job of a batch has completed.

    Definition Classes
    StreamingListener
  21. def onOutputOperationStarted(outputOperationStarted: StreamingListenerOutputOperationStarted): Unit

    Permalink

    Called when processing of a job of a batch has started.

    Called when processing of a job of a batch has started.

    Definition Classes
    StreamingListener
  22. def onReceiverError(receiverError: StreamingListenerReceiverError): Unit

    Permalink

    Called when a receiver has reported an error

    Called when a receiver has reported an error

    Definition Classes
    StreamingListener
  23. def onReceiverStarted(receiverStarted: StreamingListenerReceiverStarted): Unit

    Permalink

    Called when a receiver has been started

    Called when a receiver has been started

    Definition Classes
    StreamingListener
  24. def onReceiverStopped(receiverStopped: StreamingListenerReceiverStopped): Unit

    Permalink

    Called when a receiver has been stopped

    Called when a receiver has been stopped

    Definition Classes
    StreamingListener
  25. def onStreamingStarted(streamingStarted: StreamingListenerStreamingStarted): Unit

    Permalink

    Called when the streaming has been started

    Called when the streaming has been started

    Definition Classes
    StreamingListener
  26. def printStats(): Unit

    Permalink
  27. def showMillisDistribution(heading: String, getMetric: (BatchInfo) ⇒ Option[Long]): Unit

    Permalink
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from StreamingListener

Inherited from AnyRef

Inherited from Any

Ungrouped