Package com.google.appengine.api.quota
Class QuotaServiceFactory
- java.lang.Object
-
- com.google.appengine.api.quota.QuotaServiceFactory
-
public class QuotaServiceFactory extends Object
The factory by which users acquire a handle to the QuotaService.
-
-
Constructor Summary
Constructors Constructor Description QuotaServiceFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QuotaServicegetQuotaService()Gets a handle to the quota service.
-
-
-
Method Detail
-
getQuotaService
public static 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 (likeQuotaService.getApiTimeInMegaCycles()) is not accessible, the instance will not be able to provide that feature and throw an appropriate exception.- Returns:
- a
QuotaServiceinstance.
-
-