class SparkConsumersStreamingMasterGuardian extends FSM[State, Data] with LoggingFSM[State, Data] with DatabaseOperations with Stash with Logging with PipeToSupport with RetrySupport

Linear Supertypes
RetrySupport, PipeToSupport, Logging, Stash, RequiresMessageQueue[DequeBasedMessageQueueSemantics], UnrestrictedStash, StashSupport, DatabaseOperations, LoggingFSM[master.State, Data], FSM[master.State, Data], ActorLogging, Listeners, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SparkConsumersStreamingMasterGuardian
  2. RetrySupport
  3. PipeToSupport
  4. Logging
  5. Stash
  6. RequiresMessageQueue
  7. UnrestrictedStash
  8. StashSupport
  9. DatabaseOperations
  10. LoggingFSM
  11. FSM
  12. ActorLogging
  13. Listeners
  14. Actor
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SparkConsumersStreamingMasterGuardian(pipegraphBL: PipegraphBL, watchdogCreator: ChildCreator, collaboratorName: String, retryInterval: FiniteDuration, unschedulableCheckInterval: FiniteDuration, debugActor: Option[ActorRef], initialSchedulingStrategy: SchedulingStrategy)

Type Members

  1. trait Recoverable[F[_]] extends AnyRef
    Definition Classes
    RetrySupport
  2. type Event = akka.actor.FSM.Event[Data]
    Definition Classes
    FSM
  3. final class PipeableCompletionStage[T] extends AnyRef
    Definition Classes
    PipeToSupport
  4. final class PipeableFuture[T] extends AnyRef
    Definition Classes
    PipeToSupport
  5. type Receive = PartialFunction[Any, Unit]
    Definition Classes
    Actor
  6. type State = akka.actor.FSM.State[master.State, Data]
    Definition Classes
    FSM
  7. type StateFunction = PartialFunction[Event, State]
    Definition Classes
    FSM
  8. type StopEvent = akka.actor.FSM.StopEvent[master.State, Data]
    Definition Classes
    FSM
  9. type Timeout = Option[FiniteDuration]
    Definition Classes
    FSM
  10. final class TransformHelper extends AnyRef
    Definition Classes
    FSM
  11. type TransitionHandler = PartialFunction[(master.State, master.State), Unit]
    Definition Classes
    FSM

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. val ->: akka.actor.FSM.->.type
    Definition Classes
    FSM
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. val Event: akka.actor.FSM.Event.type
    Definition Classes
    FSM
  6. val StateTimeout: akka.actor.FSM.StateTimeout.type
    Definition Classes
    FSM
  7. val StopEvent: akka.actor.FSM.StopEvent.type
    Definition Classes
    FSM
  8. def aroundPostRestart(reason: Throwable): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
  9. def aroundPostStop(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
  10. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
  11. def aroundPreStart(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
  12. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
  13. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  14. final def cancelTimer(name: String): Unit
    Definition Classes
    FSM
  15. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  16. val cluster: Cluster
  17. implicit val context: ActorContext
    Definition Classes
    Actor
  18. def createInstanceOf(model: PipegraphModel): Try[PipegraphInstanceModel]

    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
  19. def createInstanceOf(modelName: String): Try[PipegraphInstanceModel]
    Definition Classes
    DatabaseOperations
  20. implicit val ec: ExecutionContext
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  24. def getLog: IndexedSeq[LogEntry[master.State, Data]]
    Attributes
    protected
    Definition Classes
    LoggingFSM
  25. def gossip(msg: Any)(implicit sender: ActorRef): Unit
    Attributes
    protected
    Definition Classes
    Listeners
  26. final def goto(nextStateName: master.State): State
    Definition Classes
    FSM
  27. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  28. def identifyCollaboratorOnMember(m: Member): Future[ActorRef]
  29. def identifyPeerActor(peer: String): Future[ActorRef]
  30. final def initialize(): Unit
    Definition Classes
    FSM
  31. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  32. final def isTimerActive(name: String): Boolean
    Definition Classes
    FSM
  33. def listenerManagement: akka.actor.Actor.Receive
    Attributes
    protected
    Definition Classes
    Listeners
  34. val listeners: Set[ActorRef]
    Attributes
    protected
    Definition Classes
    Listeners
  35. def log: LoggingAdapter
    Definition Classes
    ActorLogging
  36. def logDepth: Int
    Definition Classes
    LoggingFSM
  37. def logTermination(reason: Reason): Unit
    Attributes
    protected
    Definition Classes
    FSM
  38. val logger: WaspLogger
    Attributes
    protected
    Definition Classes
    Logging
  39. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  40. final def nextStateData: Data
    Definition Classes
    FSM
  41. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  42. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  43. final def onTermination(terminationHandler: PartialFunction[StopEvent, Unit]): Unit
    Definition Classes
    FSM
  44. final def onTransition(transitionHandler: TransitionHandler): Unit
    Definition Classes
    FSM
  45. implicit def pipe[T](future: Future[T])(implicit executionContext: ExecutionContext): PipeableFuture[T]
    Definition Classes
    PipeToSupport
  46. implicit def pipeCompletionStage[T](future: CompletionStage[T])(implicit executionContext: ExecutionContext): PipeableCompletionStage[T]
    Definition Classes
    PipeToSupport
  47. val pipegraphBL: PipegraphBL
    Attributes
    protected
  48. def postRestart(reason: Throwable): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  49. def postStop(): Unit
    Definition Classes
    UnrestrictedStash → Actor
  50. def preRestart(reason: Throwable, message: Option[Any]): Unit
    Definition Classes
    UnrestrictedStash → Actor
  51. def preStart(): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  52. def receive: Receive
    Definition Classes
    FSM → Actor
  53. implicit def recoverableFuture(implicit ec: ExecutionContext): Recoverable[Future]
    Definition Classes
    RetrySupport
  54. implicit def recoverableTry: Recoverable[Try]
    Definition Classes
    RetrySupport
  55. def resetStatesWhileRecoveringAndReturnPending(knownMembers: Set[Collaborator]): Try[(Seq[(PipegraphModel, PipegraphInstanceModel)], Seq[(PipegraphModel, PipegraphInstanceModel)])]
    Definition Classes
    DatabaseOperations
  56. def retrievePipegraph(name: String): Try[PipegraphModel]

    Retrieves PipegraphModels with specified name from the db.

    Retrieves PipegraphModels with specified name from the db.

    if no PipegraphModel exist with name failure is returned

    returns

    A Try containing the PipegraphModels or an exception

    Definition Classes
    DatabaseOperations
  57. def retrievePipegraphAndUpdateInstanceToProcessing(pipegraphInstanceModel: PipegraphInstanceModel): Try[(PipegraphModel, PipegraphInstanceModel)]
    Definition Classes
    DatabaseOperations
  58. def retrievePipegraphInstances(status: PipegraphStatus*): Try[Seq[PipegraphInstanceModel]]

    Retrieves PipegraphInstanceModels with specified statuses

    Retrieves PipegraphInstanceModels with specified statuses

    status

    the status of the PipegraphInstanceModel that should be retrieved

    returns

    A Try containing the PipegraphInstanceModels or an exception

    Definition Classes
    DatabaseOperations
  59. def retrievePipegraphInstancesAndPipegraphs(status: PipegraphStatus*): Try[Seq[(PipegraphModel, PipegraphInstanceModel)]]
    Definition Classes
    DatabaseOperations
  60. def retrieveSystemPipegraphs(): Try[Seq[PipegraphModel]]

    Retrieves PipegraphModels that are marked as system

    Retrieves PipegraphModels that are marked as system

    returns

    A Try containing the PipegraphModels or an exception

    Definition Classes
    DatabaseOperations
  61. def retry[F[_], A](retryable: () ⇒ F[A])(implicit arg0: Recoverable[F]): A
  62. def retry[F[_], A](retryInterval: FiniteDuration)(retryable: () ⇒ F[A])(implicit arg0: Recoverable[F]): A
    Definition Classes
    RetrySupport
  63. var schedulingStrategy: SchedulingStrategy
  64. implicit final val self: ActorRef
    Definition Classes
    Actor
  65. final def sender(): ActorRef
    Definition Classes
    Actor
  66. final def setStateTimeout(state: master.State, timeout: Timeout): Unit
    Definition Classes
    FSM
  67. final def setTimer(name: String, msg: Any, timeout: FiniteDuration, repeat: Boolean): Unit
    Definition Classes
    FSM
  68. final def startWith(stateName: master.State, stateData: Data, timeout: Timeout): Unit
    Definition Classes
    FSM
  69. def stash(): Unit
    Definition Classes
    StashSupport
  70. final def stateData: Data
    Definition Classes
    FSM
  71. final def stateName: master.State
    Definition Classes
    FSM
  72. final def stay(): State
    Definition Classes
    FSM
  73. final def stop(reason: Reason, stateData: Data): State
    Definition Classes
    FSM
  74. final def stop(reason: Reason): State
    Definition Classes
    FSM
  75. final def stop(): State
    Definition Classes
    FSM
  76. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    Actor
  77. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  78. def toString(): String
    Definition Classes
    AnyRef → Any
  79. implicit final def total2pf(transitionHandler: (master.State, master.State) ⇒ Unit): TransitionHandler
    Definition Classes
    FSM
  80. final def transform(func: StateFunction): TransformHelper
    Definition Classes
    FSM
  81. def unhandled(message: Any): Unit
    Definition Classes
    Actor
  82. def unstashAll(): Unit
    Definition Classes
    StashSupport
  83. def updateToStatus(jobInstance: PipegraphInstanceModel, targetStatus: PipegraphStatus, maybeError: Option[Throwable] = None): Try[PipegraphInstanceModel]

    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 PipegraphInstanceModel or an exception.

    Definition Classes
    DatabaseOperations
  84. def updateToStatus(pipegraphInstances: Seq[(PipegraphModel, PipegraphInstanceModel)], targetStatus: PipegraphStatus): Try[Seq[(PipegraphModel, PipegraphInstanceModel)]]

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

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

    pipegraphInstances

    The instances to update

    targetStatus

    The target status

    returns

    A try containing the updated PipegraphInstanceModel or an exception.

    Definition Classes
    DatabaseOperations
  85. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  86. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  87. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  88. val watchdogCreator: ChildCreator
    Attributes
    protected
  89. final def when(stateName: master.State, stateTimeout: FiniteDuration)(stateFunction: StateFunction): Unit
    Definition Classes
    FSM
  90. final def whenUnhandled(stateFunction: StateFunction): Unit
    Definition Classes
    FSM

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 RetrySupport

Inherited from PipeToSupport

Inherited from Logging

Inherited from Stash

Inherited from RequiresMessageQueue[DequeBasedMessageQueueSemantics]

Inherited from UnrestrictedStash

Inherited from StashSupport

Inherited from DatabaseOperations

Inherited from LoggingFSM[master.State, Data]

Inherited from FSM[master.State, Data]

Inherited from ActorLogging

Inherited from Listeners

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped