org.dsa.iot.spark

DSAReceiver

class DSAReceiver extends Receiver[(String, Date, Any)] with Logging with Runnable

This class is an implementation of Spark receiver that subscribes to the selected DSA nodes and consumes their values, emitting DStream[TimedValue].

Linear Supertypes
Runnable, Logging, Receiver[(String, Date, Any)], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DSAReceiver
  2. Runnable
  3. Logging
  4. Receiver
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DSAReceiver(paths: String*)

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  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. def isStarted(): Boolean

    Definition Classes
    Receiver
  15. def isStopped(): Boolean

    Definition Classes
    Receiver
  16. def isTraceEnabled(): Boolean

    Attributes
    protected
    Definition Classes
    Logging
  17. def log: Logger

    Attributes
    protected
    Definition Classes
    Logging
  18. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  19. def logDebug(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  20. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  21. def logError(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  22. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  23. def logInfo(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  24. def logName: String

    Attributes
    protected
    Definition Classes
    Logging
  25. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  26. def logTrace(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  27. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  28. def logWarning(msg: ⇒ String): Unit

    Attributes
    protected
    Definition Classes
    Logging
  29. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  32. def onStart(): Unit

    Starts the receiver in a new thread.

    Starts the receiver in a new thread.

    Definition Classes
    DSAReceiver → Receiver
  33. def onStop(): Unit

    Called by the framework, does nothing.

    Called by the framework, does nothing.

    Definition Classes
    DSAReceiver → Receiver
  34. val paths: String*

  35. def preferredLocation: Option[String]

    Definition Classes
    Receiver
  36. def reportError(message: String, throwable: Throwable): Unit

    Definition Classes
    Receiver
  37. def restart(message: String, error: Throwable, millisecond: Int): Unit

    Definition Classes
    Receiver
  38. def restart(message: String, error: Throwable): Unit

    Definition Classes
    Receiver
  39. def restart(message: String): Unit

    Definition Classes
    Receiver
  40. def run(): Unit

    Subscribes to updates from the DSA and forwards them to Spark engine.

    Subscribes to updates from the DSA and forwards them to Spark engine.

    Definition Classes
    DSAReceiver → Runnable
  41. def stop(message: String, error: Throwable): Unit

    Definition Classes
    Receiver
  42. def stop(message: String): Unit

    Definition Classes
    Receiver
  43. val storageLevel: StorageLevel

    Definition Classes
    Receiver
  44. def store(bytes: ByteBuffer, metadata: Any): Unit

    Definition Classes
    Receiver
  45. def store(bytes: ByteBuffer): Unit

    Definition Classes
    Receiver
  46. def store(dataIterator: Iterator[(String, Date, Any)], metadata: Any): Unit

    Definition Classes
    Receiver
  47. def store(dataIterator: Iterator[(String, Date, Any)]): Unit

    Definition Classes
    Receiver
  48. def store(dataIterator: Iterator[(String, Date, Any)], metadata: Any): Unit

    Definition Classes
    Receiver
  49. def store(dataIterator: Iterator[(String, Date, Any)]): Unit

    Definition Classes
    Receiver
  50. def store(dataBuffer: ArrayBuffer[(String, Date, Any)], metadata: Any): Unit

    Definition Classes
    Receiver
  51. def store(dataBuffer: ArrayBuffer[(String, Date, Any)]): Unit

    Definition Classes
    Receiver
  52. def store(dataItem: (String, Date, Any)): Unit

    Definition Classes
    Receiver
  53. def streamId: Int

    Definition Classes
    Receiver
  54. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  55. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Runnable

Inherited from Logging

Inherited from Receiver[(String, Date, Any)]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped