The given name of the service
A prefix for finagle.version
and dtab.local
.
Annotation keys.
An com.twitter.finagle.tracing.Annotation to be recorded before the service is called
An com.twitter.finagle.tracing.Annotation to be recorded after the service's com.twitter.util.Future is satisfied, regardless of success.
Function from String to com.twitter.finagle.tracing.Annotation to be recorded if the service's com.twitter.util.Future fails.
A thunk that returns the version of finagle. Useful for testing.
Convert the Filter.TypeAgnostic filter to a Filter and chain it with
andThen
.
Convert the Filter.TypeAgnostic filter to a Filter and chain it with
andThen
.
Terminates a filter chain in a ServiceFactory.
Terminates a filter chain in a ServiceFactory. For example,
myFilter.andThen(myServiceFactory)
a service factory that takes the output request type and the input response type.
Terminates a filter chain in a Service.
Chains a series of filters together:
Chains a series of filters together:
myModularService = handleExceptions.andThen(thrift2Pojo.andThen(parseString))
another filter to follow after this one
synchronously thrown exceptions in the underlying service are automatically lifted into Future.exception.
Conditionally propagates requests down the filter chain.
Conditionally propagates requests down the filter chain. This may useful if you are statically wiring together filter chains based on a configuration file, for instance.
a tuple of boolean and filter.
This is the method to override/implement to create your own Filter.
This is the method to override/implement to create your own Filter.
the input request type
a service that takes the output request type and the input response type
A generic filter that can be used for annotating the Server and Client side of a trace. Finagle-specific trace information should live here.