Package

com.twitter.finatra.thrift

routing

Permalink

package routing

Visibility
  1. Public
  2. All

Type Members

  1. class JavaThriftRouter extends BaseThriftRouter[JavaThriftRouter]

    Permalink

    Builds a com.twitter.finagle.Service.

    Builds a com.twitter.finagle.Service.

    A ThriftRouter specifically for use with generated Java code. Users of generated Scala code should use the com.twitter.finatra.thrift.routing.ThriftRouter directly.

    Annotations
    @Singleton()
    Note

    routing over Java generated code DOES NOT support per-method stats since the generated Java code does not yet support "service-per-method".

    See also

    com.twitter.finatra.thrift.routing.BaseThriftRouter

    com.twitter.finatra.thrift.routing.ThriftRouter

  2. class ThriftRouter extends BaseThriftRouter[ThriftRouter]

    Permalink

    Builds a com.twitter.finagle.thrift.ThriftService.

    Builds a com.twitter.finagle.thrift.ThriftService.

    Annotations
    @Singleton()
    Note

    this is only intended for use with generated Scala code. Users of generated Java code are encouraged to use the JavaThriftRouter.

  3. class ThriftWarmup extends Logging

    Permalink

    A utility for performing requests to endpoints defined by a configured ThriftRouter for the purpose of warming up the ThriftServer.

    A utility for performing requests to endpoints defined by a configured ThriftRouter for the purpose of warming up the ThriftServer.

    Note

    This is only for use with generated Scala code which uses the ThriftRouter.

    ,

    This only provides routing to user-defined routes of the configured ThriftRouter.

    See also

    com.twitter.finatra.thrift.routing.ThriftRouter

Ungrouped