All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.twitter.finagle.param.WithSessionQualifier.scala Maven / Gradle / Ivy

The newest version!
package com.twitter.finagle.param

import com.twitter.finagle.Stack

/**
 * Provides the `withSessionQualifier` API entry point.
 *
 * @see [[SessionQualificationParams]]
 */
trait WithSessionQualifier[A <: Stack.Parameterized[A]] { self: Stack.Parameterized[A] =>

  /**
   * An entry point for configuring the client's session qualifiers
   * (e.g. circuit breakers).
   *
   * @see [[https://twitter.github.io/finagle/guide/Clients.html#circuit-breaking]]
   */
  val withSessionQualifier: SessionQualificationParams[A] = new SessionQualificationParams(self)
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy