Class

com.twitter.finatra.thrift.thriftscala

EmptyExceptionsService$FinagleClient

Related Doc: package thriftscala

Permalink

class EmptyExceptionsService$FinagleClient extends EmptyExceptionsService[Future]

To generate Exceptions, scrooge uses finagle-core, which pants does not provide to thrift libraries which do not define services (structs-only definitions generally do not need finagle). Therefore, we define an empty service to cause the finagle-core dep to be introduced.

see DPB-7778

Annotations
@Generated()
Linear Supertypes
EmptyExceptionsService[Future], ThriftService, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EmptyExceptionsService$FinagleClient
  2. EmptyExceptionsService
  3. ThriftService
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EmptyExceptionsService$FinagleClient(service: Service[ThriftClientRequest, Array[Byte]], clientParam: RichClientParam)

    Permalink
  2. new EmptyExceptionsService$FinagleClient(service: Service[ThriftClientRequest, Array[Byte]], protocolFactory: TProtocolFactory, serviceName: String, stats: StatsReceiver)

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2017-08-16) Use com.twitter.finagle.thrift.RichClientParam

  3. new EmptyExceptionsService$FinagleClient(service: Service[ThriftClientRequest, Array[Byte]], protocolFactory: TProtocolFactory = Protocols.binaryFactory(), serviceName: String = "EmptyExceptionsService", stats: StatsReceiver = NullStatsReceiver, responseClassifier: ResponseClassifier = ctfs.ResponseClassifier.Default)

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2017-08-16) Use com.twitter.finagle.thrift.RichClientParam

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def asClosable: Closable

    Permalink

    Used to close the underlying Service.

    Used to close the underlying Service. Not a user-defined API.

    Definition Classes
    EmptyExceptionsService$FinagleClientEmptyExceptionsService
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. val clientParam: RichClientParam

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def decodeResponse[T <: ThriftStruct](resBytes: Array[Byte], codec: ThriftStructCodec[T]): T

    Permalink
    Attributes
    protected
  9. def encodeRequest(name: String, args: ThriftStruct): ThriftClientRequest

    Permalink
    Attributes
    protected
  10. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  16. def missingResult(name: String): TApplicationException

    Permalink
    Attributes
    protected
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. val service: Service[ThriftClientRequest, Array[Byte]]

    Permalink
  21. def serviceName: String

    Permalink
  22. def setServiceName(ex: Throwable): Throwable

    Permalink
    Attributes
    protected
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from EmptyExceptionsService[Future]

Inherited from ThriftService

Inherited from AnyRef

Inherited from Any

Ungrouped