com.twitter.scrooge

OstrichThriftServer

trait OstrichThriftServer extends Service

This trait is intended as a near-drop-in replacement for the ThriftServer class generated by scrooge, which will soon no longer generated. Most use-cases are covered by simply changing a class declaration that looks like "X extends Y.ThriftServer" to "X extends Y.FutureIface with OstrichThriftServer".

Ostrich in general is now deprecated, and long-term, you should switch to twitter-server.

Linear Supertypes
Service, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. OstrichThriftServer
  2. Service
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val serverName: String

  2. abstract val thriftPort: Int

Concrete 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. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  10. def finagleService: Service[Array[Byte], Array[Byte]]

    Attributes
    protected
  11. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  15. val log: Logger

  16. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  19. def quiesce(): Unit

    Definition Classes
    Service
  20. def reload(): Unit

    Definition Classes
    Service
  21. def server: Server

  22. def serverBuilder: ServerBuilder[Array[Byte], Array[Byte], Yes, Yes, Yes]

    You can override this to provide additional configuration to the ServerBuilder.

  23. def server_=(value: Server): Unit

  24. def shutdown(): Unit

    Definition Classes
    OstrichThriftServer → Service
  25. def shutdown(timeout: Duration = 0.seconds): Unit

    Close the underlying server gracefully with the given grace period.

    Close the underlying server gracefully with the given grace period. close() will drain the current channels, waiting up to timeout, after which channels are forcibly closed.

  26. def start(): Unit

    Definition Classes
    OstrichThriftServer → Service
  27. def statsReceiver: StatsReceiver

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def thriftCodec: ThriftServerFramedCodecFactory

  30. val thriftProtocolFactory: TProtocolFactory

  31. def toString(): String

    Definition Classes
    AnyRef → Any
  32. def tracer: Tracer

  33. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def tracerFactory: () ⇒ Tracer

    Annotations
    @deprecated
    Deprecated

    (Since version 3.3.3) use tracer instead

Inherited from Service

Inherited from AnyRef

Inherited from Any

Ungrouped