Package com.google.gerrit.server.quota
Interface QuotaBackend.WithUser
-
- All Superinterfaces:
QuotaBackend.WithResource
- Enclosing interface:
- QuotaBackend
public static interface QuotaBackend.WithUser extends QuotaBackend.WithResource
An interface capable of issuing quota requests. Scope can be futher reduced by providing a top-level entity.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description QuotaBackend.WithResource
account(Account.Id account)
Scope the request down to an account.QuotaBackend.WithResource
change(Change.Id change, Project.NameKey project)
Scope the request down to a change.QuotaBackend.WithResource
project(Project.NameKey project)
Scope the request down to a project.-
Methods inherited from interface com.google.gerrit.server.quota.QuotaBackend.WithResource
availableTokens, dryRun, requestToken, requestTokens
-
-
-
-
Method Detail
-
account
QuotaBackend.WithResource account(Account.Id account)
Scope the request down to an account.
-
project
QuotaBackend.WithResource project(Project.NameKey project)
Scope the request down to a project.
-
change
QuotaBackend.WithResource change(Change.Id change, Project.NameKey project)
Scope the request down to a change.
-
-