Multithreading -- deadlock
What is deadlock?
Multiple threads occupy some shared resources and wait for the resources occupied by other threads to run. As a result, two or more threads are waiting for each other to release resources and stop execution When a synchronization block has "locks of more than two objects" at the same time, the phenomenon of "de ...
Posted by Wade on Sat, 19 Feb 2022 23:28:32 +0100
Paging3 make complaints about Tucao.
This article is also published in my WeChat official account. It can scan the two-dimensional code at the bottom of the article or search for Guo Lin in WeChat.
Good morning, guys.
With the official release of Android 11, the Jetpack family has also introduced many new members. I promised before that I would write an article to introduce th ...
Posted by mrgrinch12 on Sat, 19 Feb 2022 23:10:31 +0100
Spring core knowledge - Ioc brief introduction (concept and use)
The two core contents of spring are ioc and aop. This chapter introduces the concept, function and usage of ioc.
ioc brief introduction:
Concept: inversion of control, the creation of objects and the calling process between objects are handed over to Spring for management The purpose is to reduce coupling Underlying principles: xml parsing, f ...
Posted by bravo81 on Sat, 19 Feb 2022 22:47:47 +0100
Java classes and objects
object-oriented
encapsulation
One of the core ideas of object-oriented programming is to encapsulate data and operations on data. Through abstraction, common properties are extracted from concrete examples to form general concepts, such as the concept of classes.
People often talk about the motor vehicle class is a concept formed by ex ...
Posted by geebo on Sat, 19 Feb 2022 22:23:26 +0100
VII. Java object oriented
Object oriented concept
Process oriented & object oriented
Process oriented thought
The steps are clear and simple. What to do in the first step and what to do in the second stepFacing the process, it is suitable to deal with some relatively simple problems Object oriented thought
Birds of a feather flock together in a classif ...
Posted by dschreck on Sat, 19 Feb 2022 22:04:30 +0100
JAVA distributed -- SpringbootSpringboot quick start, core configuration file interpretation, directory interpretation, custom configuration items, @ Value annotation @ configurationproperties
1, springboot Basics
1.1 general
Spring Boot can easily and quickly create applications based on the spring framework, which enables coding, configuration, deployment and monitoring. Spring Boot has attracted much attention in the industry because it simplifies the complexity and makes the development extremely simple and fast.
1.2 character ...
Posted by trg on Sat, 19 Feb 2022 21:55:01 +0100
[daily question] day13_02 parameter analysis
Learning objectives:
Objective: to skillfully use the knowledge of Java
Learning content:
Content of this article: using java to solve parameter parsing
Title Description
Enter the following command on the command line:
xcopy /s c:\ d:\,
The parameters are as follows:
Parameter 1: command word xcopy
Parameter 2: string / s ...
Posted by grandman on Sat, 19 Feb 2022 21:42:05 +0100
IO stream (byte stream & character stream)
IO: refers to the flow of data transfer between devices Classification by flow direction: Input stream Output stream Classification by data type: Byte stream A: byte input stream InputStream FileInputStream: FileInputStream fis = new FileInputStream("file name of read data"); Byte buffered input stream: BufferedInputStream ...
Posted by wazo00 on Sat, 19 Feb 2022 21:26:18 +0100
Teach your wife by hand: RocketMQ cluster mode - RocketMQ Master-Slave - Multi Master and multi Slave mode
Technical work should be rewarded
follow+Click three times (like, comment, collect) and watch again to form a good habit
RocketMQ tutorial related series directory
catalogue
Section I: server preparation
Section 2: installing RocketMQ
Create rocketmq storage directory
Modify runbroker sh
Modify runserver sh
Section III: Configuration ...
Posted by dudejma on Sat, 19 Feb 2022 21:16:26 +0100
Replacement and decomposition of character sequences in Java
1, Using the String class
The String object calls the public String replaceAll(String regex,String replacement) method to return a new String object. The character sequence of the returned String object is the character sequence obtained by replacing all sub character sequences matching the parameter regex in the character sequence of the curr ...
Posted by sobbayi on Sat, 19 Feb 2022 20:49:06 +0100