the configured com.twitter.finatra.thrift.routing.ThriftRouter
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.
the type of the com.twitter.scrooge.ThriftMethod
the com.twitter.scrooge.ThriftMethod to request
the com.twitter.scrooge.Request to send
the number of times to send the request
a callback called for every response where assertions can be made.
be aware that in the response callback, failed assertions that throw 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 {}.
http://twitter.github.io/finatra/user-guide/thrift/controllers.html
(Since version 2018-03-20) This is now a no-op.
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.
the type of the com.twitter.scrooge.ThriftMethod
thecom.twitter.scrooge.ThriftMethod to request
the com.twitter.scrooge.ThriftMethod.Args to send
the number of times to send the request
a callback called for every response where assertions can be made.
(Since version 2018-12-20) Use Request/Response based functionality
be aware that in the response callback, failed assertions that throw exceptions could prevent a server from starting. 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 {}.
A utility for performing requests to endpoints defined by a configured ThriftRouter for the purpose of warming up the
ThriftServer
.This is only for use with generated Scala code which uses the ThriftRouter.
,This only provides routing to user-defined routes of the configured ThriftRouter.
com.twitter.finatra.thrift.routing.ThriftRouter