Detailed configuration and usage examples of Spring AOP

What is AOP AOP (Aspect Oriented Programming) means: aspect oriented programming, which realizes the unified maintenance of program functions through precompiled mode and runtime dynamic agent. AOP is a continuation of OOP. It is not only a hot spot in software development, but also an important content in Spring framework. It is a derivative ...

Posted by maheshbaba on Fri, 18 Feb 2022 10:35:34 +0100

Asynchronous orchestration - completable future

1, Completable future asynchronous orchestration 1. Business scenario The logic of querying the product details page is complex, and some data needs to be called remotely, which will inevitably take more time. If each query of the product details page needs the time indicated below to be completed, then the user needs 5.5s to see the content ...

Posted by frans-jan on Fri, 18 Feb 2022 03:34:02 +0100

Linux operation and maintenance -- several commonly used commands for viewing system hardware information

Here we recommend a free and convenient mall project: Source code through train > > > Under Linux, we often need to view the hardware information of the system. Here I list the practical commands for viewing the hardware information of the system, classify them and explain them with examples. Execution environment: ubuntu 16.04 1. c ...

Posted by Digwood on Thu, 17 Feb 2022 21:01:43 +0100

Deep understanding of thread pool Fork Join in concurrent programming

Deep understanding of thread pool Fork Join in concurrent programming 1, What is Fork Join Maybe junior programmers don't know what Fork Join is. Let's take a simple example to illustrate: Suppose we need to send 10W emails in groups, which method may we use? Some people may say that using threads or thread pools, each thread sends ...

Posted by mazman13 on Thu, 17 Feb 2022 20:16:09 +0100

java - API about time

API for time and date before JDK8 1. currntTimeMillis() in System; This method will return a time difference (also known as timestamp) in milliseconds from 0:0:0 in January 1970 to the present >public class DateTimeTest { public static void main(String[] args) { long time = System.currentTimeMillis(); System.out.println( ...

Posted by ranbla on Thu, 17 Feb 2022 18:50:49 +0100

node+express writes the back-end interface, deploys it to the server, and configures nginx+ssl certificate to realize https access

Zero. Preparation before start Windows should be equipped with node, npm and git toolsServer (either Alibaba cloud or Tencent cloud)Domain name (filed) If the above preparations are not ready, please check the Internet by yourself 1, Write the back-end interface locally using node+express Introduction and introduction to express 1. Create ...

Posted by Darklink on Thu, 17 Feb 2022 18:35:59 +0100

Summary of java multithreaded producer consumer model

catalogue Introduction to producer consumer model wait,notify scheme Implementation of ReentrantLock Implementation of blocking queue Semaphore implementation Lockless caching framework: Disruptor Note: This article refers to [Java summary] producer consumer model_ zhujohnle's column - CSDN blog Java implementation of producer consumer ...

Posted by sandingmachine on Thu, 17 Feb 2022 17:14:20 +0100

In depth understanding of String

preface *** reference material: Deep understanding of String in Java 1, Analysis of the underlying source code of String class Let's take a look at the source code of the String class: public final class String implements java.io.Serializable, Comparable<String>, CharSequence { /** The value is used for character storage ...

Posted by firecircle on Thu, 17 Feb 2022 17:12:36 +0100

Java note IO stream

1, Use of File class 1. Use of file class Use of File class① An object of the File class that represents a File or a File directory (commonly known as a folder)② The File class is declared in Java Under IO package ③ The File class involves the creation, deletion, renaming, modification time, File size and other methods of files or Fi ...

Posted by hnxuying on Thu, 17 Feb 2022 16:08:03 +0100

modern_cpp_5-C++ STL container&iterator

C + + container Basic Usage Gets the length of the container Before, we often used sizeof() to obtain the length of the array: int data[17]; size_t data_size = sizeof(data)/sizeof(data[0]); printf("Size of array: %zu",data_size); However, using the size() method of the container can obtain the data length more conveniently: std::arr ...

Posted by Rippie on Thu, 17 Feb 2022 15:20:52 +0100