# Interface IQuotaServiceFactory (5.0.3)

    public interface IQuotaServiceFactory

The factory by which users acquire a handle to the QuotaService.

## Methods

### getQuotaService()

    public abstract QuotaService getQuotaService()

Gets a handle to the quota service. Note that the quota service
always exists, regardless of how many of its features are supported
by a particular app server. If a particular feature (like
[QuotaService#getApiTimeInMegaCycles()](https://docs.cloud.google.com/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.quota.QuotaService#com_google_appengine_api_quota_QuotaService_getApiTimeInMegaCycles__)) is not accessible, the
the instance will not be able to provide that feature and throw an
appropriate exception.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/appengine/docs/standard/java-gen2/reference/services/bundled/latest/com.google.appengine.api.quota.QuotaService` | a `QuotaService` instance. |