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