Revision created by MOE tool push_codebase.
[gae.git] / java / src / main / com / google / appengine / api / quota / IQuotaServiceFactory.java
blob7fa44d9dae52cae0208dd870885b9423b1950e21
1 // Copyright 2012 Google Inc. All rights reserved.
3 package com.google.appengine.api.quota;
5 /**
6 * The factory by which users acquire a handle to the QuotaService.
8 */
9 public interface IQuotaServiceFactory {
11 /**
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();