Packages

package partitioning

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. final class ClientCustomStrategy[A] extends CustomPartitioningStrategy

    An API to set a custom partitioning strategy for a Thrift/ThriftMux Client.

    An API to set a custom partitioning strategy for a Thrift/ThriftMux Client. For a Java-friendly way to do the same thing, see ClientCustomStrategy.create

  2. final class ClientHashingStrategy extends HashingPartitioningStrategy

    An API to set a consistent hashing partitioning strategy for a Thrift/ThriftMux Client.

    An API to set a consistent hashing partitioning strategy for a Thrift/ThriftMux Client. For a Java-friendly way to do the same thing, see ClientHashingStrategy.create

  3. sealed trait CustomPartitioningStrategy extends PartitioningStrategy
  4. sealed trait HashingPartitioningStrategy extends PartitioningStrategy
  5. final class MethodBuilderCustomStrategy[Req <: ThriftStructIface, Rep] extends CustomPartitioningStrategy

    An API to set a custom partitioning strategy for a client MethodBuilder.

  6. final class MethodBuilderHashingStrategy[Req <: ThriftStructIface, Rep] extends HashingPartitioningStrategy

    An API to set a hashing partitioning strategy for a client MethodBuilder.

    An API to set a hashing partitioning strategy for a client MethodBuilder. For a Java-friendly way to do the same thing, see MethodBuilderHashingStrategy.create

  7. class PartitioningParams[A <: Parameterized[A]] extends AnyRef

    A collection of methods for configuring the PartitioningService of Thrift clients

    A collection of methods for configuring the PartitioningService of Thrift clients

    A

    a Stack.Parameterized client to configure

  8. sealed trait PartitioningStrategy extends AnyRef

    Service partitioning strategy to apply on the clients in order to let clients route requests accordingly.

    Service partitioning strategy to apply on the clients in order to let clients route requests accordingly. Two particular partitioning strategies are going to be supported, HashingPartitioningStrategy and CustomPartitioningStrategy, each one supports both configuring Finagle Client Stack and ThriftMux MethodBuilder. Either one will need developers to provide a concrete function to give each request an indicator of destination, for example a hashing key or a partition address. Messaging fan-out is supported by leveraging RequestMerger and ResponseMerger.

  9. trait WithThriftPartitioningStrategy[A <: Parameterized[A]] extends AnyRef

    Provides the withPartitioning API entry point

    Provides the withPartitioning API entry point

    See also

    PartitioningParams

Value Members

  1. object ClientCustomStrategies

    The java-friendly way to create a ClientCustomStrategy.

    The java-friendly way to create a ClientCustomStrategy. Scala users should instead use the parallel methods on ClientCustomStrategy$.

    Note

    com.twitter.util.Function may be useful in helping create a scala.PartialFunction.

  2. object ClientCustomStrategy
  3. object ClientHashingStrategy
  4. object MethodBuilderCustomStrategy
  5. object MethodBuilderHashingStrategy
  6. object PartitioningStrategy

Ungrouped