docs: private Long computeUpdatedAmount(@Nullable Long currentAmount, @Nullable Long newAmount) {
  
          currentAmount = currentAmount == null ? 0L : currentAmount;
          newAmount = newAmount == null ? 0L : newAmount;
  
          if (usage.getUsageType() == UsageType.CAPACITY) {
              return Math.max(currentAmount, newAmount);
          } else /* UsageType.CONSUMABLE */ {
              return currentAmount + newAmount;
          }
      }