Class/Object

it.agilelab.bigdata.wasp.consumers.spark.batch

SparkConsumersBatchMasterGuardian

Related Docs: object SparkConsumersBatchMasterGuardian | package batch

Permalink

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]

    Permalink
    Definition Classes
    Actor

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. def aroundPostRestart(reason: Throwable): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  5. def aroundPostStop(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  6. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  7. def aroundPreStart(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  8. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. val batchJobBL: BatchJobBL

    Permalink
  11. val batchSchedulerBl: BatchSchedulersBL

    Permalink
  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  14. def createInstanceOf(model: BatchJobModel, restConfig: Config): Try[BatchJobInstanceModel]

    Permalink

    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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. val howManySlaveActors: Int

    Permalink
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. val logger: WaspLogger

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

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

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

    Permalink
    Definition Classes
    AnyRef
  26. def postRestart(reason: Throwable): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  27. def postStop(): Unit

    Permalink
    Definition Classes
    UnrestrictedStash → Actor
  28. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Definition Classes
    UnrestrictedStash → Actor
  29. def preStart(): Unit

    Permalink
    Definition Classes
    SparkConsumersBatchMasterGuardian → Actor
  30. def receive: Receive

    Permalink
    Definition Classes
    SparkConsumersBatchMasterGuardian → Actor
  31. def retrieveBatchJob(name: String): Try[BatchJobModel]

    Permalink

    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
  32. def retrieveBatchJobInstances(job: BatchJobModel)(status: JobStatus*): Try[Seq[BatchJobInstanceModel]]

    Permalink

    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
  33. def retrieveBatchJobInstances(status: JobStatus*): Try[Seq[BatchJobInstanceModel]]

    Permalink

    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
  34. def retrieveBatchJobs(): Try[Seq[BatchJobModel]]

    Permalink

    Retrieves BatchJobModels from the db.

    Retrieves BatchJobModels from the db.

    returns

    A Try containing the BatchJobModels or an exception

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

    Permalink

    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
  36. implicit final val self: ActorRef

    Permalink
    Definition Classes
    Actor
  37. final def sender(): ActorRef

    Permalink
    Definition Classes
    Actor
  38. lazy val sparkBatchConfig: SparkBatchConfigModel

    Permalink
    Definition Classes
    SparkBatchConfiguration
  39. def stash(): Unit

    Permalink
    Definition Classes
    StashSupport
  40. def supervisorStrategy: SupervisorStrategy

    Permalink
    Definition Classes
    Actor
  41. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  43. def unhandled(message: Any): Unit

    Permalink
    Definition Classes
    Actor
  44. def unstashAll(): Unit

    Permalink
    Definition Classes
    StashSupport
  45. def updateToStatus(jobInstance: BatchJobInstanceModel, targetStatus: JobStatus, maybeError: Option[Throwable] = None): Try[BatchJobInstanceModel]

    Permalink

    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
  46. def updateToStatus(jobInstances: Seq[BatchJobInstanceModel], targetStatus: JobStatus): Try[Seq[BatchJobInstanceModel]]

    Permalink

    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
  47. final def wait(): Unit

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

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

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

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