Trait

com.twitter.scrooge

OstrichThriftServer

Related Doc: package scrooge

Permalink

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
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val serverName: String

    Permalink
  2. abstract val thriftPort: Int

    Permalink

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

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

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

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

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

    Permalink
    Attributes
    protected
  9. def finalize(): Unit

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

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

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

    Permalink
    Definition Classes
    Any
  13. val log: Logger

    Permalink
  14. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  17. def quiesce(): Unit

    Permalink
    Definition Classes
    Service
  18. def reload(): Unit

    Permalink
    Definition Classes
    Service
  19. def server: Server

    Permalink
  20. def serverBuilder: ServerBuilder[Array[Byte], Array[Byte], Yes, Yes, Yes]

    Permalink

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

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

    Permalink
  22. def shutdown(): Unit

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

    Permalink

    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.

  24. def start(): Unit

    Permalink
    Definition Classes
    OstrichThriftServer → Service
  25. def statsReceiver: StatsReceiver

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

    Permalink
    Definition Classes
    AnyRef
  27. def thriftCodec: ThriftServerFramedCodecFactory

    Permalink
  28. val thriftProtocolFactory: TProtocolFactory

    Permalink
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. def tracer: Tracer

    Permalink
  31. final def wait(): Unit

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

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

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

Deprecated Value Members

  1. def tracerFactory: Factory

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 3.3.3) use tracer instead

Inherited from Service

Inherited from AnyRef

Inherited from Any

Ungrouped