摘要: package com.example.cor.chain; import com.example.cor.filter.Filter; import javax.servlet.Servlet; import javax.servlet.ServletException; import javax 阅读全文
posted @ 2024-10-13 17:48 yydssc 阅读(10) 评论(0) 推荐(0) 编辑
摘要: package com.example.principle.ocp; public class ApiInfo { private String api; private long requestCount; private long errorCount; private long duratio 阅读全文
posted @ 2024-10-11 21:21 yydssc 阅读(4) 评论(0) 推荐(0) 编辑
摘要: package com.itheima.threadpool; import java.io.*; import java.net.Socket; public class ClientDemo { public static void main(String[] args) throws IOEx 阅读全文
posted @ 2024-07-30 22:03 yydssc 阅读(21) 评论(0) 推荐(0) 编辑
摘要: package com.example.util; import com.alibaba.fastjson.JSON; import com.example.commom.PO; import com.example.commom.VO; import org.springframework.bea 阅读全文
posted @ 2024-04-27 21:56 yydssc 阅读(9) 评论(0) 推荐(0) 编辑
摘要: @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.METHOD, ElementType.TYPE}) @Documented public @interface RequestInitial { Class<?>[] groups() 阅读全文
posted @ 2024-04-21 11:30 yydssc 阅读(23) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-04-08 20:29 yydssc 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-04-08 20:23 yydssc 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 计数器 package com.itheima.limit; import java.util.concurrent.*; public class Counter { public static void main(String[] args) { //计数器,这里用信号量实现 final Sem 阅读全文
posted @ 2024-04-02 21:24 yydssc 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 先来先淘汰(FIFO) package com.itheima.release; import java.util.Iterator; import java.util.LinkedList; public class FIFO { LinkedList<Integer> fifo = new Li 阅读全文
posted @ 2024-04-02 21:21 yydssc 阅读(3) 评论(0) 推荐(0) 编辑
摘要: package com.example.observer.customization.event; import java.util.EventObject; /** * 事件的抽象 */ public abstract class AppEvent extends EventObject { /* 阅读全文
posted @ 2024-04-01 22:59 yydssc 阅读(7) 评论(0) 推荐(0) 编辑
点击右上角即可分享
微信分享提示