com.twitter.finagle

service

package service

Visibility
  1. Public
  2. All

Type Members

  1. class ConstantService[Req, Rep] extends Service[Req, Rep]

    A com.twitter.finagle.Service that returns a constant result.

  2. class DelayedFactory[Req, Rep] extends ServiceFactory[Req, Rep]

    A factory that won't satisfy the service future until an underlying service factory is ready.

  3. abstract class ExpiringService[Req, Rep] extends ServiceProxy[Req, Rep]

    A service wrapper that expires the self service after a certain amount of idle time.

  4. class FailedService extends ConstantService[Any, Nothing]

    A com.twitter.finagle.Service that fails with a constant Throwable.

  5. class FailingFactory[Req, Rep] extends ServiceFactory[Req, Rep]

    A com.twitter.finagle.ServiceFactory that fails to construct services.

  6. class FailureAccrualFactory[Req, Rep] extends ServiceFactory[Req, Rep]

    A com.twitter.finagle.ServiceFactory that accrues failures, marking itself unavailable when deemed unhealthy according to its parameterization.

  7. case class KetamaShardingServiceBuilder[Req, Rep](_nodes: Option[Seq[KetamaNode[Service[Req, Rep]]]] = scala.None, _hash: Option[(Req) ⇒ Option[Long]] = scala.None, _numReps: Int = 160) extends Product with Serializable

  8. class LocalRateLimitingStrategy[Req] extends (Req) ⇒ Future[Boolean]

    Strategy responsible for tracking requests and computing rate per client.

  9. class OptionallyServableFilter[Req, Rep] extends SimpleFilter[Req, Rep]

    A com.twitter.finagle.Filter that uses an argument function to predicate whether or not to apply the subsequent com.twitter.finagle.Service.

  10. class ProxyService[Req, Rep] extends Service[Req, Rep]

    A com.twitter.finagle.Service that proxies requests to an underlying service yielded through a Future.

  11. class RateLimitingFilter[Req, Rep] extends SimpleFilter[Req, Rep]

    A com.twitter.finagle.Filter that accepts or refuses requests based on a rate limiting strategy.

  12. abstract class RetryPolicy[-A] extends (A) ⇒ Option[(Duration, RetryPolicy[A])]

    A function defining retry behavior for a given value type A.

  13. class RetryingFilter[Req, Rep] extends SimpleFilter[Req, Rep]

    A com.twitter.finagle.Filter that coordinatess retries of subsequent Services.

  14. class ShardingService[Req, Rep] extends Service[Req, Rep]

    ShardingService takes a Distributor where the handle is a service.

  15. abstract class SimpleRetryPolicy[A] extends RetryPolicy[A] with (A) ⇒ Option[(Duration, RetryPolicy[A])]

    A retry policy abstract class.

  16. class SingletonFactory[Req, Rep] extends ServiceFactory[Req, Rep]

    A com.twitter.finagle.ServiceFactory that produces Services identical to the argument service.

  17. class StatsFilter[Req, Rep] extends SimpleFilter[Req, Rep]

    StatsFilter reports request statistics to the given receiver.

  18. class StatsServiceFactory[Req, Rep] extends ServiceFactoryProxy[Req, Rep]

  19. class TimeoutFilter[Req, Rep] extends SimpleFilter[Req, Rep]

    A com.twitter.finagle.Filter that applies a global timeout to requests.

Value Members

  1. object Backoff

    Implements various backoff strategies.

  2. object NilService extends FailedService

    A static com.twitter.finagle.FailedService object.

  3. object RetryPolicy extends JavaSingleton

  4. object RetryingFilter

  5. object RetryingService

  6. object TimeoutFilter

Ungrouped