Package

com.lightbend.lagom.scaladsl

api

Permalink

package api

Visibility
  1. Public
  2. All

Type Members

  1. final class AdditionalConfiguration extends AnyRef

    Permalink

    Additional configuration that will be added to the main system configuration.

  2. sealed trait CircuitBreaker extends AnyRef

    Permalink
  3. sealed trait Descriptor extends AnyRef

    Permalink

    Describes a service.

    Describes a service.

    A descriptor is a set of call and topic descriptors that the service provides, coupled with metadata about how the service and its calls are to be served. Metadata may include versioning and migrations, SLA's, sharding hints, circuit breaker strategies etc.

  4. trait ProvidesAdditionalConfiguration extends AnyRef

    Permalink

    This trait allows Lagom integrations to define additional configuration that gets mixed into the application trait.

    This trait allows Lagom integrations to define additional configuration that gets mixed into the application trait.

    By extending this, and overriding additionalConfiguration, an integration can inject configuration, and the user can control which order this configuration gets applied by changing the order in which traits are mixed together.

  5. trait Service extends AnyRef

    Permalink

    A Lagom service descriptor.

    A Lagom service descriptor.

    This trait provides a DSL for describing a service. It is inherently constrained in its use.

    A service can describe itself by defining a trait that extends this trait, and provides an implementation for the Service#descriptor method.

  6. sealed trait ServiceAcl extends AnyRef

    Permalink
  7. trait ServiceCall[Request, Response] extends AnyRef

    Permalink

    A service call for an entity.

    A service call for an entity.

    A service call has a request and a response entity. Either entity may be NotUsed, if there is no entity associated with the call. They may also be an Akka streams Source, in situations where the endpoint serves a stream. In all other cases, the entities will be considered "strict" entities, that is, they will be parsed into memory, eg, using json.

  8. sealed trait ServiceInfo extends AnyRef

    Permalink
  9. trait ServiceLocator extends AnyRef

    Permalink

    Locates services.

    Locates services.

    The service locator is responsible for two things, one is locating services according to the passed in name and service call information, the other is to implement circuit breaking functionality when #doWithService is invoked.

    The reason circuit breaking is a service locator concern is that generally, the service locator will want to be aware of when a circuit breaker is open, and respond accordingly. For example, it may decide to pull that node from its routing pool, or it may decide to notify some up stream service registry that that node is no longer responding.

Value Members

  1. object AdditionalConfiguration

    Permalink
  2. object CircuitBreaker

    Permalink
  3. object Descriptor

    Permalink
  4. object Service

    Permalink
  5. object ServiceAcl

    Permalink
  6. object ServiceCall

    Permalink
  7. object ServiceInfo

    Permalink
  8. object ServiceLocator

    Permalink
  9. object ServiceSupport

    Permalink

    Provides implicit conversions and macros to implement the service descriptor DSL.

  10. package broker

    Permalink
  11. package deser

    Permalink
  12. package security

    Permalink
  13. package transport

    Permalink

Ungrouped