Class/Object

com.github.vonnagy.service.container.service

ServicesManager

Related Docs: object ServicesManager | package service

Permalink

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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

    routeEndpoints

    The routes to manage

    props

    The collection of registered services to start

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor
  2. class RouteConcatenation extends AnyRef

    Permalink
    Definition Classes
    RouteConcatenation

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. def cancelHttpMetrics(): Unit

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

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

    Permalink
    Definition Classes
    SSLProvider → SSLContextProvider
  13. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  14. implicit def engine: SSLEngine

    Permalink
    Definition Classes
    SSLServerEngineProvider
  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 getHealth: Future[HealthInfo]

    Permalink

    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
  20. def getHttpHealth(): HealthInfo

    Permalink

    Get the health of the Http server

    Get the health of the Http server

    returns

    An instance of HealthInfo

    Definition Classes
    HttpService
  21. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  22. val httpInterface: String

    Permalink
    Definition Classes
    ServicesManagerHttpService
  23. var httpListener: Option[ActorSelection]

    Permalink
    Definition Classes
    HttpService → HttpMetrics
  24. val httpStarting: Receive

    Permalink
    Definition Classes
    HttpService
  25. val httpStopping: Receive

    Permalink
    Definition Classes
    HttpService
  26. val idle: Gauge[Long]

    Permalink
    Definition Classes
    HttpMetrics
  27. def initializing: Receive

    Permalink

    This is the handler when the manager is initializing

  28. def isClient: Boolean

    Permalink
  29. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  30. var lastStats: Stats

    Permalink
    Definition Classes
    HttpMetrics
  31. lazy val log: Logger

    Permalink
    Definition Classes
    SLF4JLogging
  32. val maxOpenConn: Gauge[Long]

    Permalink
    Definition Classes
    HttpMetrics
  33. val maxOpenReq: Gauge[Long]

    Permalink
    Definition Classes
    HttpMetrics
  34. var metricsJob: Option[Cancellable]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  38. val openConn: Gauge[Long]

    Permalink
    Definition Classes
    HttpMetrics
  39. val openReq: Gauge[Long]

    Permalink
    Definition Classes
    HttpMetrics
  40. implicit def pimpRouteWithConcatenation(route: Route): RouteConcatenation

    Permalink
    Definition Classes
    RouteConcatenation
  41. val port: Int

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

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

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

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

    Permalink
    Definition Classes
    ServicesManager → Actor
  46. def receive: Receive

    Permalink
    Definition Classes
    ServicesManager → Actor
  47. def running: Receive

    Permalink

    This is the handler when the manager is running

  48. def scheduleHttpMetrics(interval: FiniteDuration): Unit

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

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

    Permalink
    Definition Classes
    Actor
  51. implicit def sslContext: SSLContext

    Permalink
    Definition Classes
    SSLContextProvider
  52. implicit def sslEngineProvider: ServerSSLEngineProvider

    Permalink
    Definition Classes
    SSLProvider
  53. val sslSettings: SSLSettings

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

    Permalink

    Start the http server

    Start the http server

    Definition Classes
    HttpService
  55. def stash(): Unit

    Permalink
    Definition Classes
    StashSupport
  56. def stopHttpServer(): Unit

    Permalink

    Shutdown the Http server

    Shutdown the Http server

    Definition Classes
    HttpService
  57. def stopped: Receive

    Permalink

    This is the handler when the manager is stopped

  58. def supervisorStrategy: SupervisorStrategy

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

    Permalink
    Definition Classes
    AnyRef
  60. implicit def system: ActorSystem

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

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

    Permalink
    Definition Classes
    HttpMetrics
  63. val totReq: Gauge[Long]

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

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

    Permalink
    Definition Classes
    StashSupport
  66. val uptime: Gauge[Long]

    Permalink
    Definition Classes
    HttpMetrics
  67. final def wait(): Unit

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

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

    Permalink
    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