包含标签:Java 的文章
-
Spring boot (XII) unit test JUnit
1、 Introduction JUnit is an excellent open source Java unit testing framework, and it is also the most popular testin…… -
Six tough moves of current limiting, with detailed code and evaluation results
For the convenience of work, last year I rented out my house in the northern suburbs and moved to the southern suburbs…… -
Six methods of file writing, this method has the best performance
There are only two ways to operate files in Java: character stream and byte stream, and there are many implementation …… -
How to prove that sleep does not release the lock, but wait releases the lock?
Wait locking example public class WaitDemo { private static Object locker = new Object(); public static void …… -
99% of programmers are using Lombok. Is the principle so simple? I got one too| Recommended collection!!!
I believe most people are familiar with Lombok, but little is known about its implementation principle and disadvantag…… -
Rabbitmq series (IV) rabbitmq transaction and confirm sender message confirmation – in depth interpretation
Rabbitmq transaction and confirm sender message acknowledgement - in depth interpretation Rabbitmq series introduction…… -
Several ways to improve string performance by 10 times! (source code + principle analysis)
String type is one of the most frequently used data types. So improving the running efficiency of string is undoubtedl…… -
Rabbitmq series (VI) complete solution of rabbitmq cluster architecture you don’t know
preface This paper will systematically introduce the characteristics, exception handling, construction and use of rabb…… -
Key value expiration in redis
1. Expiration setting There are four ways to set the expiration time in redis: Let's take a look at the specific imple…… -
MySQL “passive” performance optimization summary!
When you are young, you don't know the pain of optimization. When you meet a pit, you know the difficulty of optimizat…… -
There are 7 ways to create thread pool. It is strongly recommended that you use it
According to Moore's law, the number of transistors that can be accommodated on the integrated circuit doubles every 1…… -
Station B true question: how to judge whether brackets are valid?
Today's question is not only the real question of BiliBili's written test this year, but also a classic interview ques…… -
Redis transaction in-depth analysis and use
1. Preface Transaction refers to providing a mechanism to package multiple commands and execute them sequentially at o…… -
Spring boot (x) logback and log4j2 integration and log development history
1、 Introduction There are many well-known logs in Java, such as Jul, log4j, JCL, slf4j, logback and log4j2. What is t…… -
Dynamic diagram demonstration: two implementation methods of hand rolling stack!
Before we start, let's talk with friends about our plans for the later stage. In the following articles, we plan to wr…… -
This thread termination will lead to service downtime?
Before we start, let's look at what's wrong with the following code? public class ThreadStopExample { public stati…… -
Detailed explanation of 505 interview questions in “full analysis of Java interview”
"Full analysis of Java interview" is an e-book I released in gitchat. The book has a total of 150000 words and 505 Jav…… -
Well, these four methods for querying the maximum value of sliding window are good
This is a relatively basic algorithm problem. The data structure involved is also what we talked about before. I'll bu…… -
Please, stop waiting and notify!
Condition is a thread communication method provided in JDK 1.5 to replace wait and notify. Then someone will ask: why …… -
Java improvement class (I) thread explanation
1、 Overview Before learning thread, let's first understand the relationship between threads and processes: From the a…… -
Several ways of redis persistence — in-depth analysis of RDB
1. Several ways of persistence Redis persistence has the following three methods: Because each persistence scheme has …… -
Blood spitting finishing: 13 military regulations for redis performance optimization! The most complete in history
In this article, we will use the following methods to improve the running speed of redis: 1. Shorten the storage lengt…… -
Spring boot (VI) integrates mybatis to operate MySQL 8
1、 Introduction 1.1 introduction to mybatis Mybatis is an excellent persistence layer framework, which supports custo…… -
The official version of redis 6.0 has finally been released! What’s new besides multithreading?
Redis 6.0. 1 was officially released on May 2, 2020. As andrez, the author of redis, said, this is the most "enterpris…… -
Don’t ask me how many objects are created by the new string! Let me prove it to you!
I think all Java programmers have been troubled by this new string question. This is a high-frequency Java interview q…… -
Spring boot (11) redis integration is installed from docker to distributed session sharing
1、 Introduction Redis is an open-source log type key value database written in ANSI C language, supporting network, m…… -
Spring boot (I) quick start
1、 About spring boot Before we begin to understand spring boot, we need to understand spring first, because the birth…… -
Ubuntu 18.04. 1 build Java environment and HelloWorld
1、 Build Java environment System environment 1. Download JDK Official website address: http://www.oracle.com/technetw…… -
Xiaobai learning algorithm: the best time to buy and sell stocks!
Today, the ant group (Alipay) is officially listed. There is no doubt that this initiative has created a large number …… -
Rabbitmq series (V) deploying rabbitmq clusters using docker
summary This article focuses on the use of docker, how to deploy rabbitmq cluster and the most basic docker installati…… -
Rabbitmq series (III) introduction and practice of rabbitmq exchange
Introduction and practice of rabbitmq exchange switch Rabbitmq series Reading guide After we have the basic knowledge …… -
Interview raids | how does redis query a key from massive data? Attached video
1. Review knowledge points The knowledge points investigated in this topic are as follows: 2 solution ideas 3 keys usa……