Recent Posts
-
Understand the implementation principle of @ scheduled in spring through the source code and realize the dynamic loading of scheduling tasks
premise Recent new projects are related to data synchronization, and there is a need for regular scheduling. Previousl…… -
Implementing delayed tasks using redis (I)
premise Recently, I happened to encounter the scene of delayed tasks in the production environment. I investigated the…… -
Analysis on the source code of serviceloader in JDK
premise Immediately after the previous article "analysis of resource loading in JDK through source code", serviceloade…… -
Deep understanding of garbage collection in Java
premise Recently, due to the large volume of system business, from the production GC log (combined with pinpoint), it …… -
Java thread life cycle and state switching
premise I've been a little lazy recently. I don't have any deep output. I just want to re read the source code impleme…… -
Java Concurrent Programming – extend callable future
premise I've been watching the JUC thread pool java util. concurrent. ThreadPoolExecutor source code implementation, w…… -
Path switching of FTP upload changeworkingdirectory() method
During uploading, the ftpclient provides the upload method. For the second parameter path of upload (file, path), the …… -
Log in to the server with the secret key and execute the shell script
When doing automation, sometimes it is inevitable to interact with the server. It happens that a project needs to exec…… -
Reading and writing windows shared folders in Java programs
Use java to read and write shared folders through jcifs framework, use SMB protocol, and support domain authentication…… -
When Java sends a message, the header and sender are garbled
Recently, I encountered a problem. When Java sends mail, check the mailbox results. The sender and the mail header bod…… -
In return, python rub goddess heat to help send the circle of friends. The avatar is divided into nine palaces in Java, and then the puzzle avatar is generated
preface: In the evening, I brush a circle of friends. It's interesting to see such a circle of friends, as follows: So…… -
java. io. IOException: Zip bomb detected! The file would exceed the max.
terms of settlement: Just add a line of code reference resources: -
Solve the problem of fake death of Java FTP uploaded files
Before uploading files using FTP, the code was very stable. It has been used for nearly three years. Because of data m…… -
Java deletes redis according to the key specified by the keyword (fuzzy deletion is supported)
POM dependency: @ h_ 419_ 1@ @H_ 419_ 1@ Code directly available: @ h_ 419_ 1@ @H_ 419_ 1@ -
Check whether the remote host can be connected with Java
有人推荐使用java的Runtime.exec()方法来直接调用系统的Ping命令。也有人完成了纯Java实现Ping的程序,使用的是Java的NIO包(na…… -
Solve the problem that the file uploaded by ftpclient is empty and 0 bytes are displayed
Java is always empty when uploading files using ftpclient, but not when using FileZilla client. Later, after checking …… -
Java traverses the folder under the specified directory and finds the file containing the specified keyword
Enter the specified keyword, find the file containing the keyword in the specified directory, and return the file path…… -
Recursively traverse all XML nodes and child nodes
Reference article: https://blog.csdn.net/sidihuo/article/details/47318723 -
Java map key value pairs sort by key and by value
I Theoretical preparation Map is the collection interface of key value pairs. Its implementation classes mainly includ…… -
Java upload file FTP server code
1. In practical applications, files are usually uploaded through programs. 2. Upload files from Java to FTP server 3. …… -
How to dynamically modify the host file under Windows
Event Background: in order to verify whether the test data is successfully added at multiple test nodes in another env…… -
Record the troubleshooting, analysis process and solution of a memory overflow problem
cause This test tool has been developed for some time. Due to the large amount of data and slow writing of data, the e…… -
-
[turn] Android ADB command
ADB is very powerful. Remembering some ADB commands helps to improve work efficiency. -
Summary of mobile terminal app test points
All the following tests must be completed on the real machine. 1. Installation and uninstall tests 2. Start app test 3…… -
Android test point sorting
Function test point of Android Install / uninstall app specific function point Networking (what is the default network…… -
How to improve the throughput of web applications
Who restricted throughput? When we stress test a traditional project, we find that the throughput of the system is lim…… -
SSO single sign on idea
SSO (Single Sign On) What is single sign on: In large Internet companies, there will be multiple systems and projects.…… -
Manually simulate JDK dynamic agent
For which methods? To implement your own dynamic proxy, you should first pay attention to which methods the proxy obje…… -
java8-Stream
Flow programming model Generally, the flow is used to operate the collection, and the operation on the collection is r…… -
-
Java reflection mechanism and dynamic proxy
It is said that Java is a dynamic language. Why is it dynamic? Reflection! Through reflection, we can dynamically obta……