Trait

virtufin.service

DependentService

Related Doc: package service

Permalink

trait DependentService extends Service with Dependencies

A Service, which requires Dependencies. The service checks, whether the Dependencies are met and shuts down the Service with some error message if the Dependencies are not met. Note, that it is not the DependentServices responsibility to recover from unmet dependencies by, for instance starting unavailable services, the DependentService depends on.

Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DependentService
  2. Dependencies
  3. Service
  4. Actor
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor

Abstract Value Members

  1. abstract def dependencies: Seq[Dependency]

    Permalink

    Definition Classes
    Dependencies
  2. abstract def dependencyCheckTimeout: Duration

    Permalink

    Maximal time to wait for confirmation, that Dependencies are met

  3. abstract def init(): Unit

    Permalink

    This method is called when a virtufin.service.Service.Init messages is received.

    This method is called when a virtufin.service.Service.Init messages is received. The default implementation does nothing.

    Definition Classes
    Service
  4. abstract def process: PartialFunction[Any, Future[Any]]

    Permalink

    Definition Classes
    Service
  5. abstract def receive: akka.actor.Actor.Receive

    Permalink
    Definition Classes
    Actor
  6. abstract def shutdown(): Unit

    Permalink

    This method is called when a virtufin.service.Service.Shutdown messages is received.

    This method is called when a virtufin.service.Service.Shutdown messages is received. The default implementation removes the service from the virtufin.server.Server.

    Definition Classes
    Service

Concrete Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from DependentService to any2stringadd[DependentService] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (DependentService, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from DependentService to ArrowAssoc[DependentService] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def aroundPostRestart(reason: Throwable): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  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 ensuring(cond: (DependentService) ⇒ Boolean, msg: ⇒ Any): DependentService

    Permalink
    Implicit information
    This member is added by an implicit conversion from DependentService to Ensuring[DependentService] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: (DependentService) ⇒ Boolean): DependentService

    Permalink
    Implicit information
    This member is added by an implicit conversion from DependentService to Ensuring[DependentService] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: Boolean, msg: ⇒ Any): DependentService

    Permalink
    Implicit information
    This member is added by an implicit conversion from DependentService to Ensuring[DependentService] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean): DependentService

    Permalink
    Implicit information
    This member is added by an implicit conversion from DependentService to Ensuring[DependentService] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  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. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from DependentService to StringFormat[DependentService] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  22. final def getClass(): Class[_]

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

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

    Permalink
    Definition Classes
    Any
  25. final def ne(arg0: AnyRef): Boolean

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

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

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

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

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  30. def preRestart(reason: Throwable, message: Option[Any]): Unit

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

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  32. implicit final val self: ActorRef

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

    Permalink
    Definition Classes
    Actor
  34. def supervisorStrategy: SupervisorStrategy

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. def [B](y: B): (DependentService, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from DependentService to ArrowAssoc[DependentService] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Dependencies

Inherited from Service

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from DependentService to any2stringadd[DependentService]

Inherited by implicit conversion StringFormat from DependentService to StringFormat[DependentService]

Inherited by implicit conversion Ensuring from DependentService to Ensuring[DependentService]

Inherited by implicit conversion ArrowAssoc from DependentService to ArrowAssoc[DependentService]

Ungrouped