Multithreading review-01

I haven't been able to tweet for a long time. Because of the epidemic, Xiaobian also failed to go to school. She has been staying at home for a long time and has been trying to write down tweets, but she doesn't know what. After looking at the previous section, I plan to improve the bricklaying series f ...

Added by MentalMonkey on Tue, 23 Jun 2020 06:59:07 +0300

Java fork/join -- parallel execution of split tasks

concept Starting from JDK 1.7, Java provides the ForkJoin framework for parallel task execution. Its idea is to divide a large task into several small tasks, and finally summarize the results of each small task to get the results of this large task. As a concurrency framework, it was added to our Java and issued in jdk7 java.util.concurrent And ...

Added by goldenei on Mon, 22 Jun 2020 08:13:24 +0300

Alternative to Swagger

Today, I will give you an interface document generator, JApiDocs. swagger must have been used by everyone. It's very convenient and powerful. If you want to say what's wrong with swaager, it must be that annotations are more cumbersome to write. If I say that there is a tool that can generate documents without comments, are you excited? He is o ...

Added by wildmalc on Mon, 22 Jun 2020 05:08:54 +0300

dubbo of springboot series

dubbo of springboot series Introduction to dubbo Apache Dubbo`Is a high performance Java RPC framework.(1) High performance RPC calls for interface proxyProvides high-performance proxy-based remote invocation capabilities. Services are interface-granular and shield developers from the underlying details of remote invocations.(2) Intelligent Loa ...

Added by cleromancer on Sun, 21 Jun 2020 19:12:57 +0300

[case demonstration] strong reference, soft reference, weak reference and virtual reference of JVM

1. background To understand when objects are recycled, we need to understand the concept of object reference, so we have the following 2. Reference object structure chart in Java 3. Introduction 3.1. What is strong quotation a. When there is not enough memory, the JVM starts to garbage collect. For a strongly referenced object, even if there i ...

Added by chris_2001 on Sun, 21 Jun 2020 08:56:41 +0300

Java shangsilicon Valley data structure and algorithm learning record

Stack implementation synthesis calculator (infix expression) Thought analysis: We need two stacks: number stack and symbol stack to define an index index index index to traverse the expression Traverse to a number, then enter the number stack Traverse to a symbol. If the symbol stack is empty, it wil ...

Added by cags on Sun, 21 Jun 2020 08:37:34 +0300

Details of Spring Boot configuration file

Details of Spring Boot configuration file Spring Boot provides two commonly used configuration files, properties file and yml file. Their role is to modify the default value of Spring Boot auto configuration. Compared with the properties file, the yml file is younger and has many pits. yml determines the hierarchical relationship through space ...

Added by The_Black_Knight on Sun, 21 Jun 2020 08:20:11 +0300

The first experience of flink streaming sql

Article catalog background Example explanation Construct the StreamTableEnvironment object Register table Using Tuple Using Row Pojo class using java Use external storage background sql,Structured Query Language: as a general and popular query language, Structured Query Language is becomin ...

Added by TodManPlaa on Sun, 21 Jun 2020 07:16:31 +0300

[1] Sparse arrays and queues

1, Linear structure and nonlinear structure 1. Linear structure 2. Nonlinear structure 2, Sparse arrays and queues 1. Sparse array (1) First look at a real demand (2) . basic introduction (3) . application examples 2. Queue (input element head pointer front unchanged, tail pointer rear+1; out ...

Added by ThEMakeR on Sat, 20 Jun 2020 06:51:02 +0300

Mock test using Moco framework

Moco framework: an open source project above github, which can simulate http, https and other protocols. github website: moco source code 1. Start the simulation server Download Moco_ URL of jar package: Moco jar package download Command to start the impersonation server: java -jar ./moco-runner-0.11. ...

Added by kavisiegel on Fri, 19 Jun 2020 07:39:04 +0300