Sampler is a tool for shell command execution, visualization and alerting. Its configuration uses a simple YAML file.
1. Why do I need it?
You can sample any dynamic process directly from the terminal - watch for changes in the database, monitor MQ in-flight messages, trigger deployment scripts and get notified when it's done.
If there is a wa ...
Posted by jarriola on Thu, 12 May 2022 10:38:39 +0300
Hutool is a small and comprehensive Java tool class library, which helps us simplify every line of code and avoid repeated wheel building. If you need to use some tools, you might as well look in hutool. This paper summarizes 16 commonly used tool classes, hoping to help you!
SpringBoot e-commerce project mall (40k+star) address: https://github ...
Posted by arjay_comsci on Wed, 11 May 2022 19:17:28 +0300
Surprise concurrent programming JUC series demonstration code address:https://github.com/mtcarpenter/JavaTutorial
Locksupport
LockSupport in rt.jar package in JDK is a tool class. When a thread needs to be blocked or awakened, you can use LockSupport tool class to complete the corresponding work. LockSupport defines a set of public static metho ...
Posted by thinsoldier on Wed, 11 May 2022 11:56:19 +0300
1. Overview
In this article, we will see what Java enums are, what problems they solve and how to implement some design patterns using Java enums in practice.
The enum keyword was introduced in java5, indicating a special type of class, which always inherits the java.lang.Enum class. For more information, you can view its own official documen ...
Posted by Celauran on Mon, 09 May 2022 23:00:40 +0300
BaseServlet - servlet optimizationservlet role Generally speaking, servlet is specially used to receive the client's request, specifically to receive the client's request data, and then call the underlying service to process the data and generate the resultThe traditional way of writing servlet s As you can see from the picture, we only have ...
The SS command is used to display the socket status It can display PACKET sockets, TCP sockets, UDP sockets, DCCP sockets, RAW sockets, Unix domain sockets and other statistics It displays more tcp and state information than other tools It is a very practical, fast and effective new tool to track IP connections and sockets SS command The follo ...
Posted by mackevin on Sun, 08 May 2022 06:57:12 +0300
preface
Recursion is a very important algorithm idea. You need to master it whether you are front-end development or back-end development. In daily work, recursive algorithms are needed to count the size of folders, parse xml files and so on. It's too basic and important, which is why interviewers often ask us to write recursive algorithms. In ...
Posted by NoMansLand on Sun, 08 May 2022 06:34:17 +0300
1, Foreword
This blog mainly introduces the following aspects:
Use Validator to check parameters conveniently and quickly;
Specification of completing exception operation through global exception handling;
Complete the specification of response data through unified data response;
Through user-defined annotation, filter whether the returned r ...
Posted by elementaluk on Sat, 07 May 2022 23:46:54 +0300
1. Preliminary preparation:
Download centeos 7.5: https://mirrors.aliyun.com/centos-vault/7.5.1804/isos/x86_64/
Download floppy disk pass, the registration code is Baidu.
download putty, winscp
2. Operation steps:
u disk production:
Open UltraISO tool File -> Open Select your ISO file.
Startup item Select to write the hard disk image ...
Posted by AliceG on Sat, 07 May 2022 16:36:06 +0300
Earlier we talked about a distributed task scheduling framework PowerJob, which can perform task scheduling in a visual way. But sometimes we just need a lightweight task scheduling function, and it is a bit heavy for PowerJob to build a scheduling center. At this time, Quartz, the task scheduling framework officially supported by SpringBoot, c ...
Posted by dpiland on Sat, 07 May 2022 07:51:28 +0300