object HttpLiFoQueuedConcurrencyLimitConfig extends Serializable

Linear Supertypes
Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpLiFoQueuedConcurrencyLimitConfig
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val DefaultResult: (HttpResponse) => Outcome
  5. val ServerErrorsMeansDroppedResult: (HttpResponse) => Outcome

    Use this if server errors are only caused by server overload, and by nothing else

  6. def apply(limitAlgorithm: Limit, maxLiFoQueueDepth: Int = 16, batchSize: Int = 10, batchTimeout: FiniteDuration = 500.millis, maxDelay: FiniteDuration = 50.millis, weight: (HttpResponse) => Int = requestWeightExtractor, rejectionResponse: (HttpRequest) => HttpResponse = _ => HttpServerConcurrencyLimit.TooManyRequestsResponse, result: (HttpResponse) => Outcome = DefaultResult, name: String = "http-server-limiter")(implicit system: ActorSystem): HttpLiFoQueuedConcurrencyLimitConfig

    limitAlgorithm

    the limit algorithm to use.

    maxLiFoQueueDepth

    max queue depth - this is multiplied with the current concurrency limit to determine queue length.

    batchSize

    amount of requests that may be served given a single capacity grant of the global limiter actor.

    batchTimeout

    validity time of capacity grant batches provided by the global limiter actor.

    maxDelay

    the maximum time to wait in the lifo queue for available capacity.

    weight

    processing cost of request to adjust latency measurements.

    rejectionResponse

    function to compute the response to give when rejecting a request.

    result

    how to evaluate the response in terms of latency: was the request dropped, was it successfully processed, or should it be ignored for computing the adaptive concurrency limit

    name

    name of the limit actor. Must be globally unique. Specify if you need to create more than one server limiter.

    system

    the actor system to use. This is used to fetch request timeout and pipelining limits from the akka http server config.

  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  16. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. val requestWeightExtractor: (HttpResponse) => Int
  18. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped