Class QuotaServiceFactory (2.0.0)

public class QuotaServiceFactory

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

Inheritance

java.lang.Object > QuotaServiceFactory

Static Methods

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.

Returns
Type Description
QuotaService

a QuotaService instance.

Constructors

QuotaServiceFactory()

public QuotaServiceFactory()