Java
234 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- Spring Boot Cache Auto-Configuration Principlehistorical
How the cache manager and cache classes are generated, how cache proxy classes are generated, and the overall execution flow.
- Off-Heap Memoryhistorical
1. What off-heap memory is 2. NIO off-heap memory 3. Netty off-heap memory 4. References
- 2.53 Usagehistorical
Create a project, configure pom.xml, and use Spring transactions with DbConfig, TestService, and TestDao.
- Circular Dependencieshistorical
1. What a circular dependency is 2. What problems it causes 3. How to solve it 4. References
- 2.56 1. Create NioEventLoopGrouphistorical
NioEventLoopGroup class hierarchy, constructor chain, initialization of selector/select strategy/rejection policy, EventLoop count, executor, child EventLoops, and chooser.
- 2. Bootstrap Creationhistorical
1. Code to analyze 2. Create ServerBootstrap 3. Set ServerBootstrap properties 4. ReflectiveChannelFactory