/** * Current Usage. * * @return the current permission usage. */ public long getPermissionUsage() { return this.getCurrentQuotaHeader(Constants.Quota.PERMISSION); }
/** * Current Usage. * * @return the current collection usage. */ public long getCollectionUsage() { return this.getCurrentQuotaHeader(Constants.Quota.COLLECTION); }
/** * Current Usage. * * @return the document usage. */ public long getDocumentUsage() { return this.getCurrentQuotaHeader(Constants.Quota.DOCUMENTS_SIZE); }
/** * Current Usage. * * @return the current database usage. */ public long getDatabaseUsage() { return this.getCurrentQuotaHeader(Constants.Quota.DATABASE); }
/** * Current Usage. * * @return the current stored procedures usage. */ public long getStoredProceduresUsage() { return this.getCurrentQuotaHeader(Constants.Quota.STORED_PROCEDURE); }
/** * Current Usage. * * @return the current triggers usage. */ public long getTriggersUsage() { return this.getCurrentQuotaHeader(Constants.Quota.TRIGGER); }
/** * Current Usage. * * @return the current user defined functions usage. */ public long getUserDefinedFunctionsUsage() { return this.getCurrentQuotaHeader( Constants.Quota.USER_DEFINED_FUNCTION); }
/** * Current Usage. * * @return the current user usage. */ public long getUserUsage() { return this.getCurrentQuotaHeader(Constants.Quota.USER); }
/** * Current Usage. * * @return the collection size usage. */ public long getCollectionSizeUsage() { return this.getCurrentQuotaHeader(Constants.Quota.COLLECTION_SIZE); }
/** * Current document count usage. * * @return the document count usage. */ public long getDocumentCountUsage() { return this.getCurrentQuotaHeader(Constants.Quota.DOCUMENTS_COUNT); }