会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
菜鸟需勤奋
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
···
47
下一页
2023年6月18日
ref属性
摘要: <!-- ref属性 1.被用来给元素或子组件注册引用信息(id的替代者) 2.应用在html标签上获取的是真实的DOM元素,应用在组件标签上是组件实例对象 --> <template> <div id="app"> <h2 v-text="msg" ref="title" hh="哈哈"></h2
阅读全文
posted @ 2023-06-18 20:16 iTao0128
阅读(59)
评论(0)
推荐(0)
2023年6月11日
文件操作工具类
摘要: import org.springframework.web.multipart.MultipartFile; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; i
阅读全文
posted @ 2023-06-11 16:06 iTao0128
阅读(14)
评论(0)
推荐(0)
阻塞队列LinkedBlockingQueue
摘要: 入队方法:put 和 offer put方法共做了以下情况的考虑:(1)队列已满,阻塞等待;(2)队列未满,创建一个node节点放入队列中,如果放完以后队列还有剩余空间,继续唤醒下一个添加线程进行添加。如果放之前队列中没有元素,放完以后要唤醒消费线程进行消费。 offer方法仅仅对put方法一点改动
阅读全文
posted @ 2023-06-11 15:11 iTao0128
阅读(29)
评论(0)
推荐(0)
2023年6月7日
正则表达式
摘要: 参考 https://blog.csdn.net/m0_57026595/article/details/123804578
阅读全文
posted @ 2023-06-07 22:20 iTao0128
阅读(7)
评论(0)
推荐(0)
spring-boot-starter-validation数据校验
摘要: 依赖 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-validation</artifactId> </dependency> bean import boot.ann
阅读全文
posted @ 2023-06-07 22:08 iTao0128
阅读(267)
评论(0)
推荐(0)
2023年6月5日
okhttp的使用
摘要: 依赖 <dependency> <groupId>com.squareup.okhttp3</groupId> <artifactId>okhttp</artifactId> <version>3.6.0</version> </dependency> <dependency> <groupId>c
阅读全文
posted @ 2023-06-05 22:33 iTao0128
阅读(93)
评论(0)
推荐(0)
2023年6月4日
自定义异步注解
摘要: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-aop</artifactId> </dependency> @RestController @Slf4j public
阅读全文
posted @ 2023-06-04 17:22 iTao0128
阅读(36)
评论(0)
推荐(0)
aop操作-环绕通知获取数据的案例
摘要: 添加ResourcesService,ResourcesServiceImpl,ResourcesDao和ResourcesDaoImpl类 public interface ResourcesDao { boolean readResources(String url, String passwo
阅读全文
posted @ 2023-06-04 16:37 iTao0128
阅读(49)
评论(0)
推荐(0)
Async异步注解
摘要: @RestController @Slf4j public class Thread04 { @Autowired private OrderManage orderManage; @GetMapping("addOrder") public String addOrder(){ log.info(
阅读全文
posted @ 2023-06-04 12:04 iTao0128
阅读(18)
评论(0)
推荐(0)
使用线程池方式创建子线程
摘要: public static void main(String[] args) { ExecutorService executorService = Executors.newCachedThreadPool(); executorService.execute(new Runnable() { @
阅读全文
posted @ 2023-06-04 09:25 iTao0128
阅读(53)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
47
下一页
公告