QuotaServiceFactory (Google App Engine API for Java)


Class QuotaServiceFactory

  • java.lang.Object
    • com.google.appengine.api.quota.QuotaServiceFactory

  • public class QuotaServiceFactory
    extends java.lang.Object
    The factory by which users acquire a handle to the QuotaService.
    • Constructor Detail

      • QuotaServiceFactory

        public QuotaServiceFactory()
    • 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 (like QuotaService.getApiTimeInMegaCycles()) is not accessible, the instance will not be able to provide that feature and throw an appropriate exception.
        a QuotaService instance.