Adds a Stat, dtab/local/size, that tracks the size of Dtab.local for all requests with a non-empty Dtab.
A com.twitter.finagle.Filter that sources exceptions.
A com.twitter.finagle.Filter that records the elapsed execution times of the underlying com.twitter.finagle.Service.
A com.twitter.finagle.Filter that records the elapsed execution times of the underlying com.twitter.finagle.Service. Durations are recorded in microseconds and emitted as a stat labeled "handletime_us" to the argument com.twitter.finagle.stats.StatsReceiver.
the stat does not include the time that it takes to satisfy
the returned Future
, only how long it takes for the Service
to return the Future
.
A com.twitter.finagle.Filter that logs all requests according to formatter.
A com.twitter.finagle.Filter that prevents cancellations from propagating to any subsequent Services.
A com.twitter.finagle.Filter that prevents cancellations from propagating
to any subsequent Services. i.e. when
Future.raise
is invoked on the result of this filter's apply
method, the
interrupt will not be propagated to the service. This is useful for
lightweight protocols for which finishing a request is preferable to closing
and reesstablishing a connection.
Given a Jvm, create filters to record GCs (and other JVM events in the future).
A com.twitter.finagle.Filter that handles exceptions (incl.
A com.twitter.finagle.Filter that handles exceptions (incl. raw) thrown by the subsequent com.twitter.finagle.Service. Exceptions are handled according to the argument com.twitter.util.Monitor.
A com.twitter.finagle.Filter that restricts request concurrency according to an argument com.twitter.concurrent.AsyncSemaphore.
A com.twitter.finagle.Filter that restricts request concurrency according to an argument com.twitter.concurrent.AsyncSemaphore. The number of concurrently-applied subsequent Services is bounded by the rate of permits doled out by the semaphore.
A com.twitter.finagle.Filter that enforces request serialization, meaning that there is guaranteed to be only one outstanding request being serviced at any given time.
A com.twitter.finagle.Filter that enforces request serialization, meaning that there is guaranteed to be only one outstanding request being serviced at any given time. Request concurrency is restricted by a com.twitter.concurrent.AsyncMutex.
This filter is effectively equivalent to a
com.twitter.finagle.filter.RequestSemaphoreFilter constructed with a
com.twitter.concurrent.AsyncSemaphore no initialPermits
or
maxWaiters
.
A com.twitter.finagle.Filter that sources exceptions. The
serviceName
field of any com.twitter.finagle.SourcedException thrown by the underlying com.twitter.finagle.Service is set to theserviceName
argument of this filter.