Class

org.squbs.unicomplex

CubeSupervisor

Related Doc: package unicomplex

Permalink

class CubeSupervisor extends Actor with ActorLogging with GracefulStopHelper

Linear Supertypes
GracefulStopHelper, GracefulStopSupport, ActorLogging, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CubeSupervisor
  2. GracefulStopHelper
  3. GracefulStopSupport
  4. ActorLogging
  5. Actor
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CubeSupervisor()

    Permalink

Type Members

  1. case class ContextRegistrationResult(cubeActor: ActorRef, state: Try[RegisterContext]) extends Product with Serializable

    Permalink
  2. class CubeStateBean extends CubeStateMXBean

    Permalink
  3. 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. val actorErrorStatesAgent: Agent[Map[String, ActorErrorState]]

    Permalink
  5. def aroundPostRestart(reason: Throwable): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  6. def aroundPostStop(): Unit

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

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  8. def aroundPreStart(): Unit

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

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  10. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  11. def clone(): AnyRef

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

    Permalink
    Definition Classes
    Actor
  13. val cubeName: String

    Permalink
  14. final def defaultLeafActorStop: Unit

    Permalink

    Default gracefully stop behavior for leaf level actors (Actors only receive the msg as input and send out a result) towards the GracefulStop message

    Default gracefully stop behavior for leaf level actors (Actors only receive the msg as input and send out a result) towards the GracefulStop message

    Simply stop itself

    Attributes
    protected
    Definition Classes
    GracefulStopHelper
  15. final def defaultMidActorStop(dependencies: List[ActorRef]): Unit

    Permalink

    Java API stopping non-leaf actors with default timeout.

    Java API stopping non-leaf actors with default timeout.

    dependencies

    All non-leaf actors to be stopped.

    Attributes
    protected
    Definition Classes
    GracefulStopHelper
  16. final def defaultMidActorStop(dependencies: List[ActorRef], timeout: Duration): Unit

    Permalink

    Java API stopping non-leaf actors.

    Java API stopping non-leaf actors.

    dependencies

    All non-leaf actors to be stopped.

    timeout

    The timeout.

    Attributes
    protected
    Definition Classes
    GracefulStopHelper
  17. final def defaultMidActorStop(dependencies: Iterable[ActorRef], timeout: FiniteDuration = stopTimeout / 2): Unit

    Permalink

    Default gracefully stop behavior for middle level actors (Actors rely on the results of other actors to finish their tasks) towards the GracefulStop message

    Default gracefully stop behavior for middle level actors (Actors rely on the results of other actors to finish their tasks) towards the GracefulStop message

    Simply propagate the GracefulStop message to all actors that should be stop ahead of this actor

    If some actors failed to respond to the GracefulStop message, It will send PoisonPill again

    After all the actors get terminated it stops itself

    Attributes
    protected
    Definition Classes
    GracefulStopHelper
  18. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def gracefulStop(target: ActorRef, timeout: Duration): CompletionStage[Boolean]

    Permalink

    Java API for gracefulStop using the default message - PoisonPill.

    Java API for gracefulStop using the default message - PoisonPill.

    target

    The target actor to stop.

    timeout

    The timeout.

    returns

    A CompletionStage carrying true for success stopping the target.

    Attributes
    protected
    Definition Classes
    GracefulStopHelper
  23. def gracefulStop(target: ActorRef, timeout: Duration, stopMessage: Any): CompletionStage[Boolean]

    Permalink

    Java API for gracefulStop.

    Java API for gracefulStop.

    target

    The target actor to stop.

    timeout

    The timeout.

    stopMessage

    The message to send to the actor for stopping.

    returns

    A CompletionStage carrying true for success stopping the target.

    Attributes
    protected
    Definition Classes
    GracefulStopHelper
  24. def gracefulStop(target: ActorRef, timeout: FiniteDuration, stopMessage: Any): Future[Boolean]

    Permalink
    Definition Classes
    GracefulStopSupport
  25. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  27. def log: LoggingAdapter

    Permalink
    Definition Classes
    ActorLogging
  28. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    CubeSupervisor → Actor
  35. def receive: PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    CubeSupervisor → Actor
  36. implicit final val self: ActorRef

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

    Permalink
    Definition Classes
    Actor
  38. def startupReceive: akka.actor.Actor.Receive

    Permalink
  39. def stopTimeout: FiniteDuration

    Permalink

    Duration that the actor needs to finish the graceful stop.

    Duration that the actor needs to finish the graceful stop. Override it for customized timeout and it will be registered to the reaper Default to 5 seconds

    returns

    Duration

    Definition Classes
    GracefulStopHelper
  40. val supervisorStrategy: OneForOneStrategy

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

    Permalink
    Definition Classes
    AnyRef
  42. implicit val timeout: Timeout

    Permalink
  43. def toString(): String

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

    Permalink
    Definition Classes
    Actor
  45. final def wait(): Unit

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

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

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

Inherited from GracefulStopHelper

Inherited from GracefulStopSupport

Inherited from ActorLogging

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped