com.twitter.finagle.thrift.exp.partitioning
ClientCustomStrategy
Companion object ClientCustomStrategy
final class ClientCustomStrategy[A] extends CustomPartitioningStrategy
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
- Alphabetic
- By Inheritance
- ClientCustomStrategy
- CustomPartitioningStrategy
- PartitioningStrategy
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val getLogicalPartitionId: (A) => (Int) => Seq[Int]
- val getPartitionIdAndRequest: (A) => ToPartitionedMap
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def newNodeManager[Req, Rep](underlying: Stack[ServiceFactory[Req, Rep]], params: Params): PartitionNodeManager[Req, Rep, _, ToPartitionedMap]
- Definition Classes
- ClientCustomStrategy → CustomPartitioningStrategy
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val observable: Activity[A]
- val responseMergerRegistry: ResponseMergerRegistry
A ResponseMergerRegistry implemented by client to supply ResponseMergers for message fan-out cases.
A ResponseMergerRegistry implemented by client to supply ResponseMergers for message fan-out cases.
- Definition Classes
- CustomPartitioningStrategy
- See also
ResponseMerger
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()