Class

com.twitter.finatra.thrift.thriftscala

EmptyExceptionsService$FinagleService

Related Doc: package thriftscala

Permalink

class EmptyExceptionsService$FinagleService extends Service[Array[Byte], Array[Byte]]

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
Service[Array[Byte], Array[Byte]], Closable, (Array[Byte]) ⇒ Future[Array[Byte]], AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EmptyExceptionsService$FinagleService
  2. Service
  3. Closable
  4. Function1
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EmptyExceptionsService$FinagleService(iface: EmptyExceptionsService[Future], serverParam: RichServerParam)

    Permalink
  2. new EmptyExceptionsService$FinagleService(iface: EmptyExceptionsService[Future], protocolFactory: TProtocolFactory)

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  3. new EmptyExceptionsService$FinagleService(iface: EmptyExceptionsService[Future], protocolFactory: TProtocolFactory, stats: StatsReceiver, maxThriftBufferSize: Int)

    Permalink
    Annotations
    @deprecated
    Deprecated

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

  4. new EmptyExceptionsService$FinagleService(iface: EmptyExceptionsService[Future], protocolFactory: TProtocolFactory, stats: StatsReceiver = NullStatsReceiver, maxThriftBufferSize: Int = Thrift.param.maxThriftBufferSize, serviceName: String = "EmptyExceptionsService")

    Permalink
    Annotations
    @deprecated
    Deprecated

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

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 addService(name: String, service: Service[(TProtocol, Int), Array[Byte]]): Unit

    Permalink
    Attributes
    protected
  5. def andThen[A](g: (Future[Array[Byte]]) ⇒ A): (Array[Byte]) ⇒ A

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  6. final def apply(request: Array[Byte]): Future[Array[Byte]]

    Permalink
    Definition Classes
    EmptyExceptionsService$FinagleService → Service → Function1
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def close(deadline: Time): Future[Unit]

    Permalink
    Definition Classes
    Service → Closable
  10. def close(after: Duration): Future[Unit]

    Permalink
    Definition Classes
    Closable
  11. final def close(): Future[Unit]

    Permalink
    Definition Classes
    Closable
  12. def compose[A](g: (A) ⇒ Array[Byte]): (A) ⇒ Future[Array[Byte]]

    Permalink
    Definition Classes
    Function1
    Annotations
    @unspecialized()
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. final def exception(name: String, seqid: Int, code: Int, message: String): Buf

    Permalink
    Attributes
    protected
  16. def finalize(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def isAvailable: Boolean

    Permalink
    Definition Classes
    Service
  20. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  21. def map[Req1](f: (Req1) ⇒ Array[Byte]): Service[Req1, Array[Byte]]

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

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

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

    Permalink
    Definition Classes
    AnyRef
  25. final def perMethodStatsFilter(method: ThriftMethod): Filter[(TProtocol, Int), Array[Byte], (TProtocol, Int), RichResponse[Args, Result]]

    Permalink
    Attributes
    protected
  26. final def reply(name: String, seqid: Int, result: ThriftStruct): Buf

    Permalink
    Attributes
    protected
  27. val serviceMap: HashMap[String, Service[(TProtocol, Int), Array[Byte]]]

    Permalink
    Attributes
    protected
  28. def serviceName: String

    Permalink
  29. def status: Status

    Permalink
    Definition Classes
    Service
  30. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from Service[Array[Byte], Array[Byte]]

Inherited from Closable

Inherited from (Array[Byte]) ⇒ Future[Array[Byte]]

Inherited from AnyRef

Inherited from Any

Ungrouped