Packages

class SparkConsumersBatchMasterGuardian extends Actor with Stash with SparkBatchConfiguration with Logging with DatabaseOperations

Linear Supertypes
DatabaseOperations, Logging, SparkBatchConfiguration, Stash, RequiresMessageQueue[DequeBasedMessageQueueSemantics], UnrestrictedStash, StashSupport, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparkConsumersBatchMasterGuardian
  2. DatabaseOperations
  3. Logging
  4. SparkBatchConfiguration
  5. Stash
  6. RequiresMessageQueue
  7. UnrestrictedStash
  8. StashSupport
  9. Actor
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Receive = PartialFunction[Any, Unit]
    Definition Classes
    Actor

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. def aroundPostRestart(reason: Throwable): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
  5. def aroundPostStop(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
  6. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
  7. def aroundPreStart(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
  8. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. val batchJobBL: BatchJobBL
  11. val batchSchedulerBl: BatchSchedulersBL
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  13. implicit val context: ActorContext
    Definition Classes
    Actor
  14. def createInstanceOf(model: BatchJobModel, restConfig: Config): Try[BatchJobInstanceModel]

    Creates an instance of the specified model.

    Creates an instance of the specified model.

    model

    The model to instantiate

    returns

    A Try containing the instance model or an exception

    Definition Classes
    DatabaseOperations
  15. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. val howManySlaveActors: Int
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. val logger: WaspLogger
    Attributes
    protected
    Definition Classes
    Logging
  22. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  25. def postRestart(reason: Throwable): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  26. def postStop(): Unit
    Definition Classes
    UnrestrictedStash → Actor
  27. def preRestart(reason: Throwable, message: Option[Any]): Unit
    Definition Classes
    UnrestrictedStash → Actor
  28. def preStart(): Unit
    Definition Classes
    SparkConsumersBatchMasterGuardian → Actor
  29. def receive: Receive
    Definition Classes
    SparkConsumersBatchMasterGuardian → Actor
  30. def retrieveBatchJob(name: String): Try[BatchJobModel]

    Retrieves BatchJobModels with specified name from the db.

    Retrieves BatchJobModels with specified name from the db.

    if no batch job exist with name failure is returned

    returns

    A Try containing the BatchJobModels or an exception

    Definition Classes
    DatabaseOperations
  31. def retrieveBatchJobInstances(job: BatchJobModel)(status: JobStatus*): Try[Seq[BatchJobInstanceModel]]

    Retrieves BatchJobInstanceModels of BatchJobModel with specified statuses

    Retrieves BatchJobInstanceModels of BatchJobModel with specified statuses

    job

    The parent BatchJobModel whose instances should be retrieved

    status

    the status of the BatchJobInstanceModel that should be retrieved

    returns

    A Try containing the BatchJobInstanceModels or an exception

    Definition Classes
    DatabaseOperations
  32. def retrieveBatchJobInstances(status: JobStatus*): Try[Seq[BatchJobInstanceModel]]

    Retrieves BatchJobInstanceModels with specified statuses

    Retrieves BatchJobInstanceModels with specified statuses

    status

    the status of the BatchJobInstanceModel that should be retrieved

    returns

    A Try containing the BatchJobInstanceModels or an exception

    Definition Classes
    DatabaseOperations
  33. def retrieveBatchJobs(): Try[Seq[BatchJobModel]]

    Retrieves BatchJobModels from the db.

    Retrieves BatchJobModels from the db.

    returns

    A Try containing the BatchJobModels or an exception

    Definition Classes
    DatabaseOperations
  34. def retrieveSchedules(): Try[Seq[BatchSchedulerModel]]

    Retrieves the schedulers from the db

    Retrieves the schedulers from the db

    returns

    A Try containing the scheduler models or an exception

    Definition Classes
    DatabaseOperations
  35. implicit final val self: ActorRef
    Definition Classes
    Actor
  36. final def sender(): ActorRef
    Definition Classes
    Actor
  37. lazy val sparkBatchConfig: SparkBatchConfigModel
    Definition Classes
    SparkBatchConfiguration
  38. def stash(): Unit
    Definition Classes
    StashSupport
  39. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    Actor
  40. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. def unhandled(message: Any): Unit
    Definition Classes
    Actor
  43. def unstashAll(): Unit
    Definition Classes
    StashSupport
  44. def updateToStatus(jobInstance: BatchJobInstanceModel, targetStatus: JobStatus, maybeError: Option[Throwable] = None): Try[BatchJobInstanceModel]

    Updates the status of the supplied instance to the target status.

    Updates the status of the supplied instance to the target status.

    jobInstance

    The instance to update

    targetStatus

    The target status

    maybeError

    Maybe an error to persist on the database

    returns

    A try containing the updated BatchJobInstanceModel or an exception.

    Definition Classes
    DatabaseOperations
  45. def updateToStatus(jobInstances: Seq[BatchJobInstanceModel], targetStatus: JobStatus): Try[Seq[BatchJobInstanceModel]]

    Updates the status of the supplied instances to the target status.

    Updates the status of the supplied instances to the target status.

    jobInstances

    The instances to update

    targetStatus

    The target status

    returns

    A try containing the updated BatchJobInstanceModel or an exception.

    Definition Classes
    DatabaseOperations
  46. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  48. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from DatabaseOperations

Inherited from Logging

Inherited from SparkBatchConfiguration

Inherited from Stash

Inherited from RequiresMessageQueue[DequeBasedMessageQueueSemantics]

Inherited from UnrestrictedStash

Inherited from StashSupport

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped