public class

ThrottledScmRequestFactory

extends Object
java.lang.Object
   ↳ com.atlassian.stash.scm.throttle.ThrottledScmRequestFactory

Class Overview

Helper for SCM implementation providers to decorate HttpScmRequest and SshScmRequest instances with ThrottleService throttling. Throttling will only be applied to valid SCM requests.

Summary

Public Constructors
ThrottledScmRequestFactory(ThrottleService throttleService, I18nService i18nService, HelpPathService helpPathService)
Public Methods
@Nullable HttpScmRequest throttled(HttpScmRequest request)
@Nullable SshScmRequest throttled(SshScmRequest request)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ThrottledScmRequestFactory (ThrottleService throttleService, I18nService i18nService, HelpPathService helpPathService)

Public Methods

@Nullable public HttpScmRequest throttled (HttpScmRequest request)

@Nullable public SshScmRequest throttled (SshScmRequest request)