com.github.vonnagy.service.container.service

ServicesManager

class ServicesManager extends Actor with HttpService with RegisteredHealthCheckActor with Stash

This is the services parent actor that contains all registered services

Linear Supertypes
Stash, RequiresMessageQueue[DequeBasedMessageQueueSemantics], UnrestrictedStash, StashSupport, RegisteredHealthCheckActor, HealthCheck, HttpService, SSLProvider, SSLServerEngineProvider, SSLServerContextProvider, SSLContextProvider, HttpMetrics, LoggingAdapter, SLF4JLogging, spray.routing.RouteConcatenation, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ServicesManager
  2. Stash
  3. RequiresMessageQueue
  4. UnrestrictedStash
  5. StashSupport
  6. RegisteredHealthCheckActor
  7. HealthCheck
  8. HttpService
  9. SSLProvider
  10. SSLServerEngineProvider
  11. SSLServerContextProvider
  12. SSLContextProvider
  13. HttpMetrics
  14. LoggingAdapter
  15. SLF4JLogging
  16. RouteConcatenation
  17. Actor
  18. AnyRef
  19. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ServicesManager(routeEndpoints: Seq[Class[_ <: RoutedEndpoints]], props: Seq[(String, Props)])

    routeEndpoints

    The routes to manage

    props

    The collection of registered services to start

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Definition Classes
    Actor
  2. class RouteConcatenation extends AnyRef

    Definition Classes
    RouteConcatenation

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

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

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

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

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

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

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

    Definition Classes
    Any
  12. def cancelHttpMetrics(): Unit

    Attributes
    protected[com.github.vonnagy.service.container.http]
    Definition Classes
    HttpMetrics
  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def configNamespace: String

    Definition Classes
    SSLProvider → SSLContextProvider
  15. implicit val context: ActorContext

    Definition Classes
    Actor
  16. implicit def engine: SSLEngine

    Definition Classes
    SSLServerEngineProvider
  17. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  21. def getHealth: Future[HealthInfo]

    Fetch the health for this registered checker.

    Fetch the health for this registered checker.

    returns

    returns a future to the health information

    Definition Classes
    RegisteredHealthCheckActorHealthCheck
  22. def getHttpHealth(): HealthInfo

    Get the health of the Http server

    Get the health of the Http server

    returns

    An instance of HealthInfo

    Definition Classes
    HttpService
  23. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  24. val httpInterface: String

    Definition Classes
    ServicesManagerHttpService
  25. var httpListener: Option[ActorSelection]

    Definition Classes
    HttpService → HttpMetrics
  26. val httpStarting: Receive

    Definition Classes
    HttpService
  27. val httpStopping: Receive

    Definition Classes
    HttpService
  28. val idle: Gauge[Long]

    Definition Classes
    HttpMetrics
  29. def initializing: Receive

    This is the handler when the manager is initializing

    This is the handler when the manager is initializing

    returns

  30. def isClient: Boolean

  31. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  32. var lastStats: Stats

    Definition Classes
    HttpMetrics
  33. lazy val log: Logger

    Definition Classes
    SLF4JLogging
  34. val maxOpenConn: Gauge[Long]

    Definition Classes
    HttpMetrics
  35. val maxOpenReq: Gauge[Long]

    Definition Classes
    HttpMetrics
  36. var metricsJob: Option[Cancellable]

    Definition Classes
    HttpMetrics
  37. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  38. final def notify(): Unit

    Definition Classes
    AnyRef
  39. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  40. val openConn: Gauge[Long]

    Definition Classes
    HttpMetrics
  41. val openReq: Gauge[Long]

    Definition Classes
    HttpMetrics
  42. implicit def pimpRouteWithConcatenation(route: (RequestContext) ⇒ Unit): RouteConcatenation

    Definition Classes
    RouteConcatenation
  43. val port: Int

    Definition Classes
    ServicesManagerHttpService
  44. def postRestart(reason: Throwable): Unit

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

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

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

    Definition Classes
    ServicesManager → Actor
  48. def receive: Receive

    Definition Classes
    ServicesManager → Actor
  49. def running: Receive

    This is the handler when the manager is running

    This is the handler when the manager is running

    returns

  50. def scheduleHttpMetrics(interval: FiniteDuration): Unit

    Attributes
    protected[com.github.vonnagy.service.container.http]
    Definition Classes
    HttpMetrics
  51. implicit final val self: ActorRef

    Definition Classes
    Actor
  52. final def sender(): ActorRef

    Definition Classes
    Actor
  53. implicit def sslContext: SSLContext

    Definition Classes
    SSLContextProvider
  54. implicit def sslEngineProvider: ServerSSLEngineProvider

    Definition Classes
    SSLProvider
  55. val sslSettings: SSLSettings

    Definition Classes
    SSLContextProvider
  56. def startHttpServer(routes: Seq[Class[_ <: RoutedEndpoints]]): Unit

    Start the http server

    Start the http server

    Definition Classes
    HttpService
  57. def stash(): Unit

    Definition Classes
    StashSupport
  58. def stopHttpServer(): Unit

    Shutdown the Http server

    Shutdown the Http server

    Definition Classes
    HttpService
  59. def stopped: Receive

    This is the handler when the manager is stopped

    This is the handler when the manager is stopped

    returns

  60. def supervisorStrategy: SupervisorStrategy

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

    Definition Classes
    AnyRef
  62. implicit def system: ActorSystem

    Definition Classes
    HttpServiceSSLContextProvider → HttpMetrics
  63. def toString(): String

    Definition Classes
    AnyRef → Any
  64. val totConn: Gauge[Long]

    Definition Classes
    HttpMetrics
  65. val totReq: Gauge[Long]

    Definition Classes
    HttpMetrics
  66. def unhandled(message: Any): Unit

    Definition Classes
    Actor
  67. def unstashAll(): Unit

    Definition Classes
    StashSupport
  68. val uptime: Gauge[Long]

    Definition Classes
    HttpMetrics
  69. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Stash

Inherited from RequiresMessageQueue[DequeBasedMessageQueueSemantics]

Inherited from UnrestrictedStash

Inherited from StashSupport

Inherited from HealthCheck

Inherited from HttpService

Inherited from SSLProvider

Inherited from SSLServerEngineProvider

Inherited from SSLServerContextProvider

Inherited from SSLContextProvider

Inherited from HttpMetrics

Inherited from LoggingAdapter

Inherited from SLF4JLogging

Inherited from spray.routing.RouteConcatenation

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped