com.twitter.inject.server

AbstractTwitterServer

abstract class AbstractTwitterServer extends TwitterServer

AbstractTwitterServer for usage from Java

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. AbstractTwitterServer
  2. TwitterServer
  3. Warmup
  4. Ports
  5. TwitterServer
  6. Stats
  7. Lifecycle
  8. Admin
  9. AdminHttpServer
  10. Hooks
  11. LogFormat
  12. EventSink
  13. Logging
  14. App
  15. Logging
  16. Logging
  17. App
  18. CloseAwaitably
  19. CloseAwaitably0
  20. Awaitable
  21. Closable
  22. AnyRef
  23. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractTwitterServer()

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 val MinGrace: Duration

    Definition Classes
    App
  7. def addAdminRoute(route: Route): Unit

    Definition Classes
    AdminHttpServer
  8. def addAdminRoutes(newRoutes: Seq[Route]): Unit

    Definition Classes
    AdminHttpServer
  9. def addFrameworkModule(module: Module): Unit

    Attributes
    protected
    Definition Classes
    App
  10. def addFrameworkModules(modules: Module*): Unit

    Attributes
    protected
    Definition Classes
    App
  11. def addFrameworkOverrideModules(modules: Module*): Unit

    Attributes
    protected[com.twitter.inject]
    Definition Classes
    App
  12. var adminHttpServer: ListeningServer

    Attributes
    protected
    Definition Classes
    AdminHttpServer
  13. val adminPort: Flag[InetSocketAddress]

    Definition Classes
    AdminHttpServer
  14. def afterPostWarmup(): Unit

    After postWarmup, all external servers have been started, and we can now enable our health endpoint

    After postWarmup, all external servers have been started, and we can now enable our health endpoint

    Attributes
    protected
    Definition Classes
    TwitterServer → App
  15. def allowUndefinedFlags: Boolean

    Attributes
    protected
    Definition Classes
    App
  16. def appMain(): Unit

    Definition Classes
    App
  17. val appendFlag: Flag[Boolean]

    Attributes
    protected[this]
    Definition Classes
    Logging
  18. def args: Array[String]

    Definition Classes
    App
  19. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  20. def beforePostWarmup(): Unit

    After warmup completes, we want to run PromoteToOldGen without also signaling that we're healthy since we haven't successfully started our servers yet

    After warmup completes, we want to run PromoteToOldGen without also signaling that we're healthy since we haven't successfully started our servers yet

    Attributes
    protected
    Definition Classes
    TwitterServer → App
  21. def clone(): AnyRef

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

    Definition Classes
    App → Closable
  23. def close(after: Duration): Future[Unit]

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

    Definition Classes
    Closable
  25. def closeAwaitably(f: ⇒ Future[Unit]): Future[Unit]

    Attributes
    protected
    Definition Classes
    CloseAwaitably0
  26. final def closeOnExit(closable: Closable): Unit

    Attributes
    protected
    Definition Classes
    App
  27. def debug(msg: ⇒ Any, t: ⇒ Throwable): Unit

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  31. def defaultAppend: Boolean

    Definition Classes
    Logging
  32. def defaultCloseGracePeriod: Duration

    Definition Classes
    App
  33. def defaultHttpPort: Int

    Definition Classes
    AdminHttpServer
  34. def defaultLogLevel: Level

    Definition Classes
    Logging
  35. def defaultOutput: String

    Definition Classes
    Logging
  36. def defaultRollPolicy: Policy

    Definition Classes
    Logging
  37. def defaultRotateCount: Int

    Definition Classes
    Logging
  38. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Attributes
    protected
    Definition Classes
    Logging
  43. def exitOnError(reason: String): Unit

    Attributes
    protected
    Definition Classes
    App
  44. def failfastOnFlagsNotParsed: Boolean

    Attributes
    protected
    Definition Classes
    App
  45. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  46. val flag: Flags

    Definition Classes
    App
  47. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  48. def handlers: List[() ⇒ Handler]

    Definition Classes
    Logging
  49. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  50. def httpAdminPort: Int

    Definition Classes
    Ports
  51. def httpExternalPort: Option[Int]

    Definition Classes
    Ports
  52. def httpExternalSocketAddress: Option[SocketAddress]

    Definition Classes
    Ports
  53. def httpsExternalPort: Option[Int]

    Definition Classes
    Ports
  54. def info(msg: ⇒ Any, t: ⇒ Throwable): Unit

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

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

    Attributes
    protected
    Definition Classes
    Logging
  57. final def init(f: ⇒ Unit): Unit

    Attributes
    protected
    Definition Classes
    App
  58. def injector: Injector

    Definition Classes
    App
  59. def isDebugEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  60. def isErrorEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  61. def isInfoEnabled: Boolean

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

    Definition Classes
    Any
  63. def isReady(implicit permit: CanAwait): Boolean

    Definition Classes
    CloseAwaitably0 → Awaitable
  64. def isTraceEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  65. def isWarnEnabled: Boolean

    Attributes
    protected
    Definition Classes
    Logging
  66. def javaModules: Collection[Module]

    Attributes
    protected
    Definition Classes
    App
  67. def javaOverrideModules: Collection[Module]

    Attributes
    protected
    Definition Classes
    App
  68. val levelFlag: Flag[Level]

    Attributes
    protected[this]
    Definition Classes
    Logging
  69. def loadModules(): InstalledModules

    Attributes
    protected[com.twitter.inject]
    Definition Classes
    App
  70. lazy val log: logging.Logger

    Definition Classes
    Logging
  71. def logger: grizzled.slf4j.Logger

    Attributes
    protected
    Definition Classes
    Logging → Logging
  72. def loggerFactories: List[LoggerFactory]

    Definition Classes
    Logging
  73. def loggerName: String

    Attributes
    protected
    Definition Classes
    Logging
  74. final def main(): Unit

    Definition Classes
    TwitterServer → App
  75. final def main(args: Array[String]): Unit

    Definition Classes
    App
  76. def modules: Seq[Module]

    Attributes
    protected
    Definition Classes
    App
  77. val name: String

    Definition Classes
    App
  78. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  79. final def nonExitingMain(args: Array[String]): Unit

    Definition Classes
    App
  80. final def notify(): Unit

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

    Definition Classes
    AnyRef
  82. final def onExit(f: ⇒ Unit): Unit

    Attributes
    protected
    Definition Classes
    App
  83. val outputFlag: Flag[String]

    Attributes
    protected[this]
    Definition Classes
    Logging
  84. def overrideModules: Seq[Module]

    Attributes
    protected
    Definition Classes
    App
  85. def postStartup(): Unit

    Method to be called after injector creation

    Method to be called after injector creation

    Attributes
    protected
    Definition Classes
    TwitterServer → App
  86. def postWarmup(): Unit

    Attributes
    protected
    Definition Classes
    App
  87. final def postmain(f: ⇒ Unit): Unit

    Attributes
    protected
    Definition Classes
    App
  88. final def premain(f: ⇒ Unit): Unit

    Attributes
    protected
    Definition Classes
    App
  89. def ready(timeout: Duration)(implicit permit: CanAwait): AbstractTwitterServer.this.type

    Definition Classes
    CloseAwaitably0 → Awaitable
  90. def resolveFinagleClientsOnStartup: Boolean

    Resolve all Finagle clients before warmup method called

    Resolve all Finagle clients before warmup method called

    Attributes
    protected
    Definition Classes
    TwitterServer
  91. def result(timeout: Duration)(implicit permit: CanAwait): Unit

    Definition Classes
    CloseAwaitably0 → Awaitable
  92. val rollPolicyFlag: Flag[Policy]

    Attributes
    protected[this]
    Definition Classes
    Logging
  93. val rotateCountFlag: Flag[Int]

    Attributes
    protected[this]
    Definition Classes
    Logging
  94. def routes: Seq[Route]

    Attributes
    protected
    Definition Classes
    Admin
  95. def statsModule: Module

    Attributes
    protected
    Definition Classes
    TwitterServer
  96. val statsReceiver: StatsReceiver

    Definition Classes
    Stats
  97. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  98. def thriftPort: Option[Int]

    Definition Classes
    Ports
  99. def time[T](formatStr: String)(func: ⇒ T): T

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

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

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

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  106. def warmup(): Unit

    Attributes
    protected
    Definition Classes
    App
  107. def warmupComplete(): Unit

    Definition Classes
    Warmup
  108. def warn(msg: ⇒ Any, t: ⇒ Throwable): Unit

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

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

    Attributes
    protected
    Definition Classes
    Logging

Inherited from TwitterServer

Inherited from Warmup

Inherited from Ports

Inherited from server.TwitterServer

Inherited from Stats

Inherited from Lifecycle

Inherited from Admin

Inherited from AdminHttpServer

Inherited from Hooks

Inherited from LogFormat

Inherited from EventSink

Inherited from logging.Logging

Inherited from App

Inherited from Logging

Inherited from grizzled.slf4j.Logging

Inherited from App

Inherited from CloseAwaitably

Inherited from CloseAwaitably0[Unit]

Inherited from Awaitable[Unit]

Inherited from Closable

Inherited from AnyRef

Inherited from Any

Ungrouped