Trait/Object

virtufin.service.consul

ConsulService

Related Docs: object ConsulService | package consul

Permalink

trait ConsulService extends DependentService

A service which depends on the Consul service discovery. The service discovery is exposed via the protected variable consul, which is an instance of Scala Consul

Self Type
ConsulService with AbstractDependentService
Linear Supertypes
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ConsulService
  2. DependentService
  3. Dependencies
  4. Service
  5. Actor
  6. AnyRef
  7. 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 consulServiceIdentifier: consul.v1.common.Types.ServiceId

    Permalink

  2. abstract def consulServiceParameters: ServiceParameters

    Permalink

  3. abstract def consulServicePort: Option[Int]

    Permalink

    Port under which the service is published with Consul

  4. abstract def consulServiceTags: Set[consul.v1.common.Types.ServiceTag]

    Permalink

  5. abstract def consulServiceType: consul.v1.common.Types.ServiceType

    Permalink

  6. abstract def dependencyCheckTimeout: Duration

    Permalink

    Maximal time to wait for confirmation, that Dependencies are met

    Maximal time to wait for confirmation, that Dependencies are met

    Definition Classes
    DependentService
  7. abstract def process: PartialFunction[Any, Future[Any]]

    Permalink

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

    Permalink
    Definition Classes
    Actor
  9. 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 ConsulService to any2stringadd[ConsulService] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ConsulService, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ConsulService to ArrowAssoc[ConsulService] 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. var consulClient: Consul

    Permalink
    Attributes
    protected
  14. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  15. def dependencies: Seq[Dependency]

    Permalink

    Definition Classes
    ConsulServiceDependencies
  16. def ensuring(cond: (ConsulService) ⇒ Boolean, msg: ⇒ Any): ConsulService

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

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

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from ConsulService to Ensuring[ConsulService] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  20. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. def formatted(fmtstr: String): String

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. 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
    ConsulServiceService
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  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
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  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
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  35. def register(agent: ServiceRequests): Unit

    Permalink

    Hook to potentially register the service and add some service checks.

    Hook to potentially register the service and add some service checks. The default implementation does not register the service and needs to be overridden if a registration should take place.

  36. implicit final val self: ActorRef

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

    Permalink
    Definition Classes
    Actor
  38. def supervisorStrategy: SupervisorStrategy

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

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

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

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

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

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

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

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

Inherited from DependentService

Inherited from Dependencies

Inherited from Service

Inherited from Actor

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped