From 6aa044b16ee484ad98ce67c9d12c63d51d5ff6f8 Mon Sep 17 00:00:00 2001 From: Bunny <1319900154@qq.com> Date: Wed, 22 Jan 2025 14:08:42 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=9B=E5=BB=BAMVC=E9=A1=B9=E7=9B=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/encodings.xml | 1 + .idea/misc.xml | 1 + .../thead/pool/FixedThreadPoolExample01.java | 27 ++++++++ ...hed.java => ThreadPoolNewCached01Use.java} | 6 +- .../ThreadPoolNewCached02ReuseExample.java | 47 ++++++++++++++ ...PoolNewCached03CustomCachedThreadPool.java | 46 +++++++++++++ mvc/pom.xml | 64 +++++++++++++++++++ .../java/cn/bunny/mvc/MvcApplication.java | 13 ++++ mvc/src/main/resources/application.yaml | 3 + .../cn/bunny/mvc/MvcApplicationTests.java | 13 ++++ pom.xml | 2 +- 11 files changed, 219 insertions(+), 4 deletions(-) create mode 100644 multithreading/src/main/java/thead/pool/FixedThreadPoolExample01.java rename multithreading/src/main/java/thead/pool/{ThreadPoolNewCached.java => ThreadPoolNewCached01Use.java} (84%) create mode 100644 multithreading/src/main/java/thead/pool/ThreadPoolNewCached02ReuseExample.java create mode 100644 multithreading/src/main/java/thead/pool/ThreadPoolNewCached03CustomCachedThreadPool.java create mode 100644 mvc/pom.xml create mode 100644 mvc/src/main/java/cn/bunny/mvc/MvcApplication.java create mode 100644 mvc/src/main/resources/application.yaml create mode 100644 mvc/src/test/java/cn/bunny/mvc/MvcApplicationTests.java diff --git a/.idea/encodings.xml b/.idea/encodings.xml index f17d6f2..4b223af 100644 --- a/.idea/encodings.xml +++ b/.idea/encodings.xml @@ -8,6 +8,7 @@ + diff --git a/.idea/misc.xml b/.idea/misc.xml index 2a0d8ae..dce4172 100644 --- a/.idea/misc.xml +++ b/.idea/misc.xml @@ -5,6 +5,7 @@