1 // Copyright 2012 Google Inc. All rights reserved.
3 package com
.google
.appengine
.api
.quota
;
6 * The factory by which users acquire a handle to the QuotaService.
9 public interface IQuotaServiceFactory
{
12 * Gets a handle to the quota service. Note that the quota service
13 * always exists, regardless of how many of its features are supported
14 * by a particular app server. If a particular feature (like
15 * {@link QuotaService#getApiTimeInMegaCycles()}) is not accessible, the
16 * the instance will not be able to provide that feature and throw an
17 * appropriate exception.
19 * @return a {@code QuotaService} instance.
21 QuotaService
getQuotaService();