com
.
twitter
.
finatra
.
thrift
ThriftServer
trait
ThriftServer
extends
TwitterServer
Linear Supertypes
TwitterServer
,
Warmup
,
Ports
,
TwitterServer
,
Stats
,
Lifecycle
,
Admin
,
AdminHttpServer
,
Hooks
,
LogFormat
,
EventSink
,
Logging
,
Linters
,
App
,
Logging
,
Logging
,
App
,
CloseAwaitably
,
CloseAwaitably0
[
Unit
],
Awaitable
[
Unit
],
Closable
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
ThriftServer
TwitterServer
Warmup
Ports
TwitterServer
Stats
Lifecycle
Admin
AdminHttpServer
Hooks
LogFormat
EventSink
Logging
Linters
App
Logging
Logging
App
CloseAwaitably
CloseAwaitably0
Awaitable
Closable
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Abstract Value Members
abstract
def
configureThrift
(
router:
ThriftRouter
)
:
Unit
Attributes
protected
Concrete Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
val
MinGrace
:
Duration
Definition Classes
App
def
addAdminRoute
(
route:
Route
)
:
Unit
Definition Classes
AdminHttpServer
def
addAdminRoutes
(
newRoutes:
Seq
[
Route
]
)
:
Unit
Definition Classes
AdminHttpServer
def
addFrameworkModule
(
module:
Module
)
:
Unit
Attributes
protected
Definition Classes
App
def
addFrameworkModules
(
modules:
Module
*
)
:
Unit
Attributes
protected
Definition Classes
App
def
addFrameworkOverrideModules
(
modules:
Module
*
)
:
Unit
Attributes
protected[
com.twitter.inject
]
Definition Classes
App
var
adminHttpServer
:
ListeningServer
Attributes
protected
Definition Classes
AdminHttpServer
val
adminPort
:
Flag
[
InetSocketAddress
]
Definition Classes
AdminHttpServer
def
afterPostWarmup
()
:
Unit
Attributes
protected
Definition Classes
TwitterServer → App
def
allowUndefinedFlags
:
Boolean
Attributes
protected
Definition Classes
App
def
appMain
()
:
Unit
Definition Classes
App
val
appendFlag
:
Flag
[
Boolean
]
Attributes
protected[this]
Definition Classes
Logging
def
args
:
Array
[
String
]
Definition Classes
App
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
beforePostWarmup
()
:
Unit
Attributes
protected
Definition Classes
TwitterServer → App
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
close
(
deadline:
Time
)
:
Future
[
Unit
]
Definition Classes
App → Closable
def
close
(
after:
Duration
)
:
Future
[
Unit
]
Definition Classes
Closable
final
def
close
()
:
Future
[
Unit
]
Definition Classes
Closable
def
closeAwaitably
(
f: ⇒
Future
[
Unit
]
)
:
Future
[
Unit
]
Attributes
protected
Definition Classes
CloseAwaitably0
final
def
closeOnExit
(
closable:
Closable
)
:
Unit
Attributes
protected
Definition Classes
App
def
debug
(
msg: ⇒
Any
,
t: ⇒
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
debug
(
msg: ⇒
Any
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
debugFutureResult
[
T
]
(
msg:
String
)
(
func: ⇒
Future
[
T
]
)
:
Future
[
T
]
Attributes
protected
Definition Classes
Logging
def
debugResult
[
T
]
(
msg:
String
)
(
func: ⇒
T
)
:
T
Attributes
protected
Definition Classes
Logging
def
defaultAppend
:
Boolean
Definition Classes
Logging
def
defaultCloseGracePeriod
:
Duration
Definition Classes
App
def
defaultFormatter
:
Formatter
Definition Classes
Logging
def
defaultHttpPort
:
Int
Definition Classes
AdminHttpServer
def
defaultLogLevel
:
Level
Definition Classes
Logging
def
defaultOutput
:
String
Definition Classes
Logging
def
defaultRollPolicy
:
Policy
Definition Classes
Logging
def
defaultRotateCount
:
Int
Definition Classes
Logging
final
def
eq
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
def
equals
(
arg0:
Any
)
:
Boolean
Definition Classes
AnyRef → Any
def
error
(
msg: ⇒
Any
,
t: ⇒
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
error
(
msg: ⇒
Any
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
errorResult
[
T
]
(
msg:
String
)
(
func: ⇒
T
)
:
T
Attributes
protected
Definition Classes
Logging
def
exitOnError
(
reason:
String
)
:
Unit
Attributes
protected
Definition Classes
App
def
failfastOnFlagsNotParsed
:
Boolean
Attributes
protected
Definition Classes
App
def
finalize
()
:
Unit
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
classOf[java.lang.Throwable]
)
val
flag
:
Flags
Definition Classes
App
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
handlers
:
List
[() ⇒
Handler
]
Definition Classes
Logging
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
def
httpExternalPort
:
Option
[
Int
]
Definition Classes
Ports
def
httpsExternalPort
:
Option
[
Int
]
Definition Classes
Ports
val
inferClassNamesFlag
:
Flag
[
Boolean
]
Attributes
protected[this]
Definition Classes
Logging
def
info
(
msg: ⇒
Any
,
t: ⇒
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
info
(
msg: ⇒
Any
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
infoResult
[
T
]
(
msg:
String
)
(
func: ⇒
T
)
:
T
Attributes
protected
Definition Classes
Logging
final
def
init
(
f: ⇒
Unit
)
:
Unit
Attributes
protected
Definition Classes
App
def
injector
:
Injector
Definition Classes
App
def
isDebugEnabled
:
Boolean
Attributes
protected
Definition Classes
Logging
def
isErrorEnabled
:
Boolean
Attributes
protected
Definition Classes
Logging
def
isInfoEnabled
:
Boolean
Attributes
protected
Definition Classes
Logging
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isReady
(
implicit
permit:
CanAwait
)
:
Boolean
Definition Classes
CloseAwaitably0 → Awaitable
def
isTraceEnabled
:
Boolean
Attributes
protected
Definition Classes
Logging
def
isWarnEnabled
:
Boolean
Attributes
protected
Definition Classes
Logging
def
javaModules
:
Collection
[
Module
]
Attributes
protected
Definition Classes
App
def
javaOverrideModules
:
Collection
[
Module
]
Attributes
protected
Definition Classes
App
val
levelFlag
:
Flag
[
Level
]
Attributes
protected[this]
Definition Classes
Logging
def
loadModules
()
:
InstalledModules
Attributes
protected[
com.twitter.inject
]
Definition Classes
App
lazy val
log
:
Logger
Definition Classes
Logging
def
logger
:
Logger
Attributes
protected
Definition Classes
Logging → Logging
def
loggerFactories
:
List
[
LoggerFactory
]
Definition Classes
Logging
def
loggerName
:
String
Attributes
protected
Definition Classes
Logging
final
def
main
()
:
Unit
Definition Classes
TwitterServer → App
final
def
main
(
args:
Array
[
String
]
)
:
Unit
Definition Classes
App
def
modules
:
Seq
[
Module
]
Attributes
protected
Definition Classes
App
val
name
:
String
Definition Classes
App
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
nonExitingMain
(
args:
Array
[
String
]
)
:
Unit
Definition Classes
App
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
final
def
onExit
(
f: ⇒
Unit
)
:
Unit
Attributes
protected
Definition Classes
App
val
outputFlag
:
Flag
[
String
]
Attributes
protected[this]
Definition Classes
Logging
def
overrideModules
:
Seq
[
Module
]
Attributes
protected
Definition Classes
App
def
postStartup
()
:
Unit
Attributes
protected
Definition Classes
TwitterServer → App
def
postWarmup
()
:
Unit
Definition Classes
ThriftServer
→ App
final
def
postmain
(
f: ⇒
Unit
)
:
Unit
Attributes
protected
Definition Classes
App
final
def
premain
(
f: ⇒
Unit
)
:
Unit
Attributes
protected
Definition Classes
App
def
ready
(
timeout:
Duration
)
(
implicit
permit:
CanAwait
)
:
ThriftServer
.this.type
Definition Classes
CloseAwaitably0 → Awaitable
def
resolveFinagleClientsOnStartup
:
Boolean
Attributes
protected
Definition Classes
TwitterServer
def
result
(
timeout:
Duration
)
(
implicit
permit:
CanAwait
)
:
Unit
Definition Classes
CloseAwaitably0 → Awaitable
val
rollPolicyFlag
:
Flag
[
Policy
]
Attributes
protected[this]
Definition Classes
Logging
val
rotateCountFlag
:
Flag
[
Int
]
Attributes
protected[this]
Definition Classes
Logging
def
routes
:
Seq
[
Route
]
Attributes
protected
Definition Classes
Admin
def
setAppStarted
(
value:
Boolean
)
:
Unit
Attributes
protected[
com.twitter.inject
]
Definition Classes
App
def
statsModule
:
Module
Attributes
protected
Definition Classes
TwitterServer
val
statsReceiver
:
StatsReceiver
Definition Classes
Stats
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
thriftPort
:
Option
[
Int
]
Definition Classes
ThriftServer
→ Ports
def
time
[
T
]
(
formatStr:
String
)
(
func: ⇒
T
)
:
T
Attributes
protected
Definition Classes
Logging
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
trace
(
msg: ⇒
Any
,
t: ⇒
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
trace
(
msg: ⇒
Any
)
:
Unit
Attributes
protected
Definition Classes
Logging
final
def
wait
()
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
,
arg1:
Int
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
final
def
wait
(
arg0:
Long
)
:
Unit
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
waitForServer
()
:
Unit
Attributes
protected
Definition Classes
TwitterServer
def
warmup
()
:
Unit
Attributes
protected
Definition Classes
App
def
warmupComplete
()
:
Unit
Definition Classes
Warmup
def
warn
(
msg: ⇒
Any
,
t: ⇒
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
warn
(
msg: ⇒
Any
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
warnResult
[
T
]
(
msg:
String
)
(
func: ⇒
T
)
:
T
Attributes
protected
Definition Classes
Logging
Inherited from
TwitterServer
Inherited from
Warmup
Inherited from
Ports
Inherited from
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
Inherited from
Linters
Inherited from
App
Inherited from
Logging
Inherited from
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