Packages

p

com.twitter.finagle

partitioning

package partitioning

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. final case class EndpointMarkedDeadException(label: String) extends FailureAccrualException with Product with Serializable

    Thrown when Failure Accrual marks an endpoint dead.

    Thrown when Failure Accrual marks an endpoint dead.

    label

    the service name

  2. class FailureAccrualException extends RequestException
  3. sealed trait HashNodeKey extends AnyRef

    Provides hashing key information of the com.twitter.hashing.HashNodes on consistent-hashing hash ring.

  4. abstract class KetamaClientKey extends AnyRef
  5. case class PartitionNode(host: String, port: Int, weight: Int, key: Option[String] = None) extends SocketAddress with Product with Serializable
  6. case class SnapPartitioner[Req, Rep, B >: PartialFunction[Any, Future[Nothing]]](partitionFunction: B, partitionMapping: Map[Int, ServiceFactory[Req, Rep]]) extends Product with Serializable

    Represents the snapshot of the information needed to determine how to carve up the request, and where to send those carved-up slices to.

Value Members

  1. object HashNodeKey

    Constructs HashNodeKey based on the PartitionNode address.

    Constructs HashNodeKey based on the PartitionNode address. It can be either a "host:port" format or custom format.

  2. object KetamaClientKey
  3. object PartitionNode extends Serializable
  4. object PartitioningService
  5. object SnapPartitioner extends Serializable

Ungrouped