org.apache.spark.streaming.scheduler

StatsReportListener

class StatsReportListener extends StreamingListener

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

Annotations
@DeveloperApi()
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
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StatsReportListener(numBatchInfos: Int = 10)

    numBatchInfos

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

Value Members

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

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

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

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

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

  6. def clone(): AnyRef

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

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

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

  10. def finalize(): Unit

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

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

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

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

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

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

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

    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

    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

    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 onReceiverError(receiverError: StreamingListenerReceiverError): Unit

    Called when a receiver has reported an error

    Called when a receiver has reported an error

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

    Called when a receiver has been started

    Called when a receiver has been started

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

    Called when a receiver has been stopped

    Called when a receiver has been stopped

    Definition Classes
    StreamingListener
  23. def printStats(): Unit

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

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

    Definition Classes
    AnyRef
  26. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from StreamingListener

Inherited from AnyRef

Inherited from Any

Ungrouped