A copy constructor in lieu of defining StackServer as a case class.
A copy constructor in lieu of defining StackServer as a case class.
Defines a dispatcher, a function which binds a transport to a com.twitter.finagle.Service.
Defines a dispatcher, a function which binds a transport to a
com.twitter.finagle.Service. Together with a Listener
, it
forms the foundation of a finagle server. Concrete implementations
are expected to specify this.
Defines a typed com.twitter.finagle.server.Listener for this server.
Defines a typed com.twitter.finagle.server.Listener for this server. Concrete StackServer implementations are expected to specify this.
The current parameter map used in this StackServer
The current parameter map used in this StackServer
The current stack used in this StackServer.
The current stack used in this StackServer.
Creates a new StackServer with parameter psp._1
and Stack Param type psp._2
.
Creates a new StackServer with parameter psp._1
and Stack Param type psp._2
.
Creates a new StackServer with parameter p
.
Creates a new StackServer with parameter p
.
Serve service
at addr
Serve service
at addr
Serve service
at addr
Serve service
at addr
Serve service
at addr
Serve service
at addr
Serve service
at addr
Serve service
at addr
Serve service
at addr
and announce with name
.
Serve service
at addr
and announce with name
. Announcements will be removed
when the service is closed. Omitting the addr
will bind to an ephemeral port.
Serve service
at addr
and announce with name
.
Serve service
at addr
and announce with name
. Announcements will be removed
when the service is closed. Omitting the addr
will bind to an ephemeral port.
Serve service
at addr
and announce with name
.
Serve service
at addr
and announce with name
. Announcements will be removed
when the service is closed. Omitting the addr
will bind to an ephemeral port.
Serve service
at addr
and announce with name
.
Serve service
at addr
and announce with name
. Announcements will be removed
when the service is closed. Omitting the addr
will bind to an ephemeral port.
Serve service
at addr
and announce with name
.
Serve service
at addr
and announce with name
. Announcements will be removed
when the service is closed. Omitting the addr
will bind to an ephemeral port.
Serve service
at addr
and announce with name
.
Serve service
at addr
and announce with name
. Announcements will be removed
when the service is closed. Omitting the addr
will bind to an ephemeral port.
An entry point for configuring the servers' admission control.
An entry point for configuring the servers' admission control.
Configures this server or client with given exception stats handler.
Configures this server or client with given exception stats handler.
Configures this server or client with given label
(default: empty string).
Configures this server or client with given label
(default: empty string).
The label
value is used for stats reporting to scope stats reported
from different clients/servers to a single stats receiver.
Configures this server or client with given util.Monitor (default: com.twitter.finagle.util.DefaultMonitor).
Configures this server or client with given util.Monitor (default: com.twitter.finagle.util.DefaultMonitor).
Creates a new StackServer with params
used to configure this StackServer's stack
.
Creates a new StackServer with params
used to configure this StackServer's stack
.
Configures the request timeout
of this server or client (default: unbounded).
Configures the request timeout
of this server or client (default: unbounded).
The client request timeout is the maximum amount of time given to a single request (if there are retries, they each get a fresh request timeout). The timeout is applied only after a connection has been acquired. That is: it is applied to the interval between the dispatch of the request and the receipt of the response.
The server request timeout is the maximum amount of time, a server is allowed to spend handling the incoming request. Using the Finagle terminology, this is an amount of time after which a non-satisfied future returned from the user-defined service times out.
http://twitter.github.io/finagle/guide/Clients.html#timeouts-expiration
A new StackServer with the provided Stack.
A new StackServer with the provided Stack.
Configures this server or client with given stats.StatsReceiver (default: stats.DefaultStatsReceiver).
Configures this server or client with given stats.StatsReceiver (default: stats.DefaultStatsReceiver).
Configures this server or client with given tracing.Tracer (default: com.twitter.finagle.tracing.DefaultTracer).
Configures this server or client with given tracing.Tracer (default: com.twitter.finagle.tracing.DefaultTracer).
An entry point for configuring servers' com.twitter.finagle.transport.Transport.
An entry point for configuring servers' com.twitter.finagle.transport.Transport.
Transport
is a Finagle abstraction over the network connection (i.e., a TCP connection).
A standard template implementation for com.twitter.finagle.server.StackServer.