com.twitter.finagle.thrift

SeqIdFilter

class SeqIdFilter extends SimpleFilter[ThriftClientRequest, Array[Byte]]

A com.twitter.finagle.Filter that overrides Thrift request sequence IDs, replacing them with our own randomly-assigned i32s. Upon response receipt, this filter ensures that responses have the correct corresponding sequence ID, failing any requests that do not.

Note

This only works when using BinaryProtocol.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SeqIdFilter
  2. SimpleFilter
  3. Filter
  4. Function2
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SeqIdFilter()

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def agnosticAndThen(next: TypeAgnostic): Filter[ThriftClientRequest, Array[Byte], ThriftClientRequest, Array[Byte]]

    Definition Classes
    Filter
  7. def andThen(factory: ServiceFactory[ThriftClientRequest, Array[Byte]]): ServiceFactory[ThriftClientRequest, Array[Byte]]

    Definition Classes
    Filter
  8. def andThen(f: (ThriftClientRequest) ⇒ Future[Array[Byte]]): (ThriftClientRequest) ⇒ Future[Array[Byte]]

    Definition Classes
    Filter
  9. def andThen(service: Service[ThriftClientRequest, Array[Byte]]): Service[ThriftClientRequest, Array[Byte]]

    Definition Classes
    Filter
  10. def andThen[Req2, Rep2](next: Filter[ThriftClientRequest, Array[Byte], Req2, Rep2]): Filter[ThriftClientRequest, Array[Byte], Req2, Rep2]

    Definition Classes
    Filter
  11. def andThenIf[Req2 >: ThriftClientRequest, Rep2 <: Array[Byte]](condAndFilter: (Boolean, Filter[ThriftClientRequest, Array[Byte], Req2, Rep2])): Filter[ThriftClientRequest, Array[Byte], Req2, Rep2]

    Definition Classes
    Filter
  12. def apply(req: ThriftClientRequest, service: Service[ThriftClientRequest, Array[Byte]]): Future[Array[Byte]]

    Definition Classes
    SeqIdFilter → Filter → Function2
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def curried: (ThriftClientRequest) ⇒ (Service[ThriftClientRequest, Array[Byte]]) ⇒ Future[Array[Byte]]

    Definition Classes
    Function2
    Annotations
    @unspecialized()
  16. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  22. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  26. def toString(): String

    Definition Classes
    Function2 → AnyRef → Any
  27. def tupled: ((ThriftClientRequest, Service[ThriftClientRequest, Array[Byte]])) ⇒ Future[Array[Byte]]

    Definition Classes
    Function2
    Annotations
    @unspecialized()
  28. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from SimpleFilter[ThriftClientRequest, Array[Byte]]

Inherited from (ThriftClientRequest, Service[ThriftClientRequest, Array[Byte]]) ⇒ Future[Array[Byte]]

Inherited from AnyRef

Inherited from Any

Ungrouped