com.twitter.finatra.thrift.routing

ThriftWarmup

class ThriftWarmup extends Logging

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

Instance Constructors

  1. new ThriftWarmup(router: ThriftRouter)

    Annotations
    @Inject()

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. def close(): List[Runnable]

  9. def debug(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  10. def debug(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  11. def debugFutureResult[T](msg: String)(func: ⇒ Future[T]): Future[T]

    Attributes
    protected
    Definition Classes
    Logging
  12. def debugResult[T](msg: String)(func: ⇒ T): T

    Attributes
    protected
    Definition Classes
    Logging
  13. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  15. def error(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  16. def error(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  17. def errorResult[T](msg: String)(func: ⇒ T): T

    Attributes
    protected
    Definition Classes
    Logging
  18. def finalize(): Unit

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

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

    Definition Classes
    AnyRef → Any
  21. def info(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  22. def info(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  23. def infoResult[T](msg: String)(func: ⇒ T): T

    Attributes
    protected
    Definition Classes
    Logging
  24. def isDebugEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  25. def isErrorEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  26. def isInfoEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  27. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  28. def isTraceEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  29. def isWarnEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  30. def logger: Logger

    Attributes
    protected
    Definition Classes
    Logging → Logging
  31. def loggerName: String

    Attributes
    protected
    Definition Classes
    Logging
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  35. def send[M <: ThriftMethod](method: M, args: send.M.Args, times: Int = 1)(responseCallback: (send.M.Result) ⇒ Unit = unitFunction): Unit

    Send a request to warmup services that are not yet externally receiving traffic.

    Send a request to warmup services that are not yet externally receiving traffic.

    M

    - type of the com.twitter.scrooge.ThriftMethod

    method

    - com.twitter.scrooge.ThriftMethod to send request through

    args

    - com.twitter.scrooge.ThriftMethod.Args to send

    times

    - number of times to send the request

    responseCallback

    - callback called for every response where assertions can be made. NOTE: be aware that failed assertions that throws Exceptions could prevent a server from restarting. This is generally when dependent services are unresponsive causing the warm-up request(s) to fail. As such, you should wrap your warm-up calls in these situations in a try/catch {}.

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

    Definition Classes
    AnyRef
  37. def time[T](formatStr: String)(func: ⇒ T): T

    Attributes
    protected
    Definition Classes
    Logging
  38. def toString(): String

    Definition Classes
    AnyRef → Any
  39. def trace(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  40. def trace(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  41. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. def warn(msg: ⇒ Any, t: ⇒ Throwable): Unit

    Attributes
    protected
    Definition Classes
    Logging
  45. def warn(msg: ⇒ Any): Unit

    Attributes
    protected
    Definition Classes
    Logging
  46. def warnResult[T](msg: String)(func: ⇒ T): T

    Attributes
    protected
    Definition Classes
    Logging

Inherited from Logging

Inherited from Logging

Inherited from AnyRef

Inherited from Any

Ungrouped