Interface StorageQuotaEnforcer.QuotaExceededCallback

  • Enclosing interface:
    StorageQuotaEnforcer

    public static interface StorageQuotaEnforcer.QuotaExceededCallback
    Interface of callback method when the quota of certain account and container's quota is exceeded.
    • Method Detail

      • onQuotaExceeded

        void onQuotaExceeded​(QuotaMode quotaMode,
                             short accountId,
                             short containerId,
                             QuotaOperation op,
                             long quota,
                             long existingUsage,
                             long opSize)
        Method to call when the storage quota is exceeded.
        Parameters:
        quotaMode - The current QuotaMode of Enforcer.
        accountId - The account id that exceeds the quota.
        containerId - The container id that exceeds the quota.
        op - The particular QuotaOperation that exceeds the quota.
        quota - The storage quota.
        existingUsage - The existing usage before the operation.
        opSize - The storage size of the operation.