Java. Page 21

Synchronized keyword and ReetrantLock synchronization lock learning notes

1, Synchronized 1. Concept synchronized ens...
0:22 11 May 2020

Angular Routing From Dig to Dig-Router Starter North

1. Overview The fifth note in Angular's pit e...
22:19 10 May 2020

Observer model of behavior model

1 General Observer pattern, also known as pub...
8:55 10 May 2020

Nacos+Spring Cloud Gateway Dynamic Routing Configuration

Preface Nacos has recently been working on p...
4:07 10 May 2020

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...
12:50 9 May 2020

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 ...
11:47 9 May 2020

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...
11:22 9 May 2020

scala and java mixed development package

How to package the mixed development of scala and java? F...
10:19 9 May 2020

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...
1:20 9 May 2020

Using Grafana and Arthas to automatically grab the thread stack of abnormal Java process

Preface Recently, it is found that the timeou...
22:36 8 May 2020

Android Service Basic Usage, AIDL, Binder Connection Pool Details

This article describes the communication between Service and Activity. It contains the following: ...
12:43 8 May 2020

Java fun sharing: try & finally

Consider the following four test methods, and what do they output? public class Test { public static void main(String\[\...
10:31 8 May 2020

Don't understand asynchronous requests and calls in spring boot? Just read this one

1, The use of asynchronous requests in Spring Boot ...
0:06 8 May 2020

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...
22:18 7 May 2020

Internal class internal interface in java

brief introduction Generally speaking, we cre...
19:44 7 May 2020

ThreadLocal Core Source Resolution

1 Preface This class provides thread local va...
14:13 7 May 2020

Basic use of Jedis connection pool

jedis direct Each operation will create a jed...
13:30 7 May 2020

Use of Maven (dependency conflict)

1.1Maven coordinate Coordinates: each jar pa...
8:10 7 May 2020

jacoco generates single test coverage report

1, About jacoco jacoco is an open source cove...
4:40 7 May 2020

Using JavaScript to complete the provincial and municipal linkage effect

Provincial and municipal linkage effect ...
12:35 6 May 2020

Basic use of JdbcTemplate

brief introduction JdbcTemplate is Spring's e...
11:15 6 May 2020

Use JavaScript to complete all or none of the check boxes

Select all or none of the check boxes ...
11:07 6 May 2020

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 ...
11:07 6 May 2020

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...
4:07 6 May 2020

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...
23:06 5 May 2020

Flume study notes

Official documents ...
23:01 5 May 2020

Design Mode (Java Language) - Prototype Mode

Prototype Pattern, also known as Clone Pattern, is a creative design pattern used to create duplicate objects, providing...
19:31 5 May 2020

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, ...
18:56 5 May 2020

Simple implementation of JDK dynamic agent and cglib agent mode in aop

1. JDK proxy example JDK dynamic agent can only generate ...
18:46 5 May 2020

Source code analysis of start and stop of Spring Boot Dubbo application

Author: Zhang Huxing source: Dubbo official blog ...
15:16 5 May 2020