上一页 1 2 3 4 5 6 7 8 9 ··· 47 下一页

2023年12月1日

Annotation

摘要: 概述 The common interface extended by all annotation types. Note that an interface that manually extends this one does not define an annotation type. Al 阅读全文

posted @ 2023-12-01 15:57 anpeiyong 阅读(7) 评论(0) 推荐(0) 编辑

2023年11月29日

LogFacade---SLF4J

摘要: 概述 Simple Logging Facade for Java(SLF4J); 用作各种日志框架(eg:java.util.logging,logback,log4j)的简单外观或抽象,允许最终用户在部署 时插入所需的日志记录框架; 不提供完整的日志记录解决方案; 使用SLF4J无法执行配置ap 阅读全文

posted @ 2023-11-29 18:26 anpeiyong 阅读(6) 评论(0) 推荐(0) 编辑

log

摘要: https://www.pdai.tech/md/develop/package/dev-package-x-log.html http://51gjie.com/javaweb/173 阅读全文

posted @ 2023-11-29 11:25 anpeiyong 阅读(2) 评论(0) 推荐(0) 编辑

2023年11月28日

SPI

摘要: 概述 SPI(Service Provider Interface) JDK内置的一种 服务提供发现机制; 用来 启用框架扩展和替换组件; 当服务的提供者提供了一种接口的实现之后,需要在classpath下的META-INF/services/目录里创建一个以服务接口命名的文件,这个文件里的内容就是 阅读全文

posted @ 2023-11-28 16:06 anpeiyong 阅读(3) 评论(0) 推荐(0) 编辑

finalize机制

摘要: 概述 public class Object { protected void finalize() throws Throwable { } } Called by the garbage collector on an object when garbage collection determi 阅读全文

posted @ 2023-11-28 10:40 anpeiyong 阅读(2) 评论(0) 推荐(0) 编辑

2023年11月27日

Guava---Cache

摘要: Cache 概述 A semi-persistent mapping from keys to values. Cache entries are manually added using {@link #get(Object, Callable)} or {@link #put(Object, O 阅读全文

posted @ 2023-11-27 18:47 anpeiyong 阅读(3) 评论(0) 推荐(0) 编辑

2023年11月24日

Map---WeakHashMap

摘要: 概述 Hash table based implementation of the <tt>Map</tt> interface, with <em>weak keys</em>.An entry in a <tt>WeakHashMap</tt> will automatically be rem 阅读全文

posted @ 2023-11-24 19:56 anpeiyong 阅读(2) 评论(0) 推荐(0) 编辑

Reference

摘要: Reference 概述 Abstract base class for reference objects. This class defines the operations common to all reference objects. Because reference objects a 阅读全文

posted @ 2023-11-24 19:55 anpeiyong 阅读(3) 评论(0) 推荐(0) 编辑

2023年11月22日

Druid

摘要: https://github.com/alibaba/druid/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98 阅读全文

posted @ 2023-11-22 15:48 anpeiyong 阅读(4) 评论(0) 推荐(0) 编辑

数据库连接池数量设置多少合适

摘要: 结论 连接池数量 = ((核心数 * 2) + 有效磁盘数) 原因 对于单核CPU的机器,顺序执行A和B 永远比 通过时间片切换 “同时”执行A和B 快; 一旦线程的数量超过 CPU核数,继续增加线程数,会导致线程上下文切换产生额外的开销; 寻找数据库性能瓶颈的3个因素 CPU 磁盘IO 对于IO密 阅读全文

posted @ 2023-11-22 15:46 anpeiyong 阅读(119) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 7 8 9 ··· 47 下一页

导航