Synchronized keyword and ReetrantLock synchronization lock learning notes
1, Synchronized 1. Concept
synchronized ens...
Angular Routing From Dig to Dig-Router Starter North
1. Overview
The fifth note in Angular's pit e...
Nacos+Spring Cloud Gateway Dynamic Routing Configuration
Preface
Nacos has recently been working on p...
About why the Onsubmit method returns a false form and is still submitted
Today, when I was working on a project, I came across a strange phenomenon. The following HTML code looks normal and has...
JS directly downloads pictures and videos instead of opening previews
The attachment list in a project usually needs to provide the function of downloading and deleting. The function itself ...
Installing elasticsearch in docker
1. Change docker image warehouse # There are a lot of them on the Internet. I also found them on the Internet, or I went...
scala and java mixed development package
How to package the mixed development of scala and java?
F...
jQuery simple implementation of get() and eq() methods
#jQuery select element -get() gets a specified element from the jQuery object and returns the native dom object. Therefo...
Using Grafana and Arthas to automatically grab the thread stack of abnormal Java process
Preface
Recently, it is found that the timeou...
Android Service Basic Usage, AIDL, Binder Connection Pool Details
This article describes the communication between Service and Activity. It contains the following:
...
Java fun sharing: try & finally
Consider the following four test methods, and what do they output? public class Test { public static void main(String\[\...
Don't understand asynchronous requests and calls in spring boot? Just read this one
1, The use of asynchronous requests in Spring Boot
...
Load balancing algorithms commonly used in Distributed Systems
For the students who are doing the development, the load balancing algorithm is no stranger. Today, let's check the load...
jacoco generates single test coverage report
1, About jacoco
jacoco is an open source cove...
Using JavaScript to complete the provincial and municipal linkage effect
Provincial and municipal linkage effect
...
Use JavaScript to complete all or none of the check boxes
Select all or none of the check boxes
...
Use JavaScript to complete the control drop-down list and select left and right
Use JS to control the left and right selection of the drop-down list
...
Functions in ES6 (function parameters, default values, arrow functions)
1, Deconstruction and assignment of function parameters function foo([a,b]) { console.log(a+b); // 3 } foo([1,2]); funct...
Exploration of ConcurrentHashMap Principle for Java Concurrent Programming Notes
In a multithreaded environment, data loss occurs when HashMap is used for put operations. To avoid the potential for thi...
Design Mode (Java Language) - Prototype Mode
Prototype Pattern, also known as Clone Pattern, is a creative design pattern used to create duplicate objects, providing...
WeChat official account development (1) WeChat verifies the developer server interface
Wechat verification developer server interface Wechat verification developer server interface As shown in the figure, ...
Simple implementation of JDK dynamic agent and cglib agent mode in aop
1. JDK proxy example
JDK dynamic agent can only generate ...
Source code analysis of start and stop of Spring Boot Dubbo application
Author: Zhang Huxing source: Dubbo official blog
...