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

com.twitter.finagle.thrift.exp.partitioning.WithThriftPartitioningStrategy.scala Maven / Gradle / Ivy

There is a newer version: 24.2.0
Show newest version
package com.twitter.finagle.thrift.exp.partitioning

import com.twitter.finagle.Stack

/**
 * Provides the `withPartitioning` API entry point
 *
 * @see [[PartitioningParams]]
 */
trait WithThriftPartitioningStrategy[A <: Stack.Parameterized[A]] { self: Stack.Parameterized[A] =>

  /**
   * An entry point for configuring Thrift/ThriftMux client's partitioning service
   */
  def withPartitioning: PartitioningParams[A] = new PartitioningParams(self)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy