ThreadLocal function, scene and principle

Dark horse programmer Java basic tutorial from simple to deep, comprehensive analysis of threadlocal_ Beep beep beep_ bilibili ThreadLocal data structure Memory leak - threadLocalMap key is a strong reference Memory leak - threadLocalMap key is a weak reference   Manually remove entry  ThreadLocal function, scene and principle ...

Posted by ven.ganeva on Mon, 07 Feb 2022 13:20:50 +0100

M's C memo - branch and loop statements

catalogue 1. What is a statement? 2. Branch statement (select structure) 2.1 if statement 2.2. switch statement 2.2.1 break in switch statement 2.2.2ddefault clause 3. Circular statement 3.1. while cycle 3.1.1 break and continue in while 3.2 for cycle 3.2.1 grammar 3.2.2. break and continue in the for loop 3.2.3 loop control vari ...

Posted by phence on Mon, 07 Feb 2022 12:15:38 +0100

Understanding in Python. What are they? Why use them?

As the most representative language_ Pythonic_ One of the grammar, I believe everyone has heard of or has used the list understanding method. But do you know that there are three types of understanding in this language? In this article, I will discuss what is_ Python_ And why they are used. I'll also discuss when using intelligible expression ...

Posted by chings on Mon, 07 Feb 2022 04:49:47 +0100

Embedded servlet container of SpringBoot

1. SpringBoot is the default servlet container The default servlet container of SpringBoot is tomcat, as shown in the following figure: 2. Embedded servlet configuration modification 2.1. Modify through global configuration file 1. You can use server XXX for web service configuration. If there is no server name, it is a genera ...

Posted by schlag on Mon, 07 Feb 2022 04:25:57 +0100

C # actual case analysis (the sixth bomb)

Experiment 6 Title Requirements Based on ASP Net core carries out web page programming, reads students' reading data from the database and displays it on the web page. It is required to display the list first, and then click the specific item to display. Certain data summary can be carried out. Environment settings Operating system ...

Posted by guzman-el-bueno on Mon, 07 Feb 2022 04:19:56 +0100

Hot deployment and logging of SpringBoot

1. Hot deployment of devtools in SpringBoot 1.1. What is hot deployment Hot deployment means that every time we modify some codes and related configurations during development, we don't need to restart the whole system. We just need to wait a few seconds to automatically load the modified things successfully. 1.2. How to enable Spri ...

Posted by jimmyhumbled on Mon, 07 Feb 2022 04:03:53 +0100

Principle and application of java process and thread

preface Processes and threads are the basic objects of the operating system. Understanding them helps to better write reliable and efficient code. process After a program is executed in the operating system, the unit running is the process. A program can be executed many times and run multiple processes. For example, google browser opens a p ...

Posted by Nick Zaccardi on Sun, 06 Feb 2022 20:25:19 +0100

Java Design Patterns - Three Factory Patterns

1. Simple Factory Mode 1.1. Basic Introduction Simple factory mode is a creation mode and one of the factory modes. Simple factory mode is a simple factory object that decides which instance of a product class to create. Simple factory mode is the simplest mode to use in the factory mode family.Simple Factory Mode: Defines a class that cr ...

Posted by dudejma on Sun, 06 Feb 2022 19:26:40 +0100

Summary of High Frequency Knowledge Points - 01

Summary of High Frequency Knowledge Points - 01 1. About i++ and ++ I Analysis of 1.1 pairs of byte codes i = i+ =) first takes I out of the operand stack, and then makes I increase in the local variable table. After adding, I in the operand stack is assigned to i, so in general, I is increased, but I in the operand stack is unchanged, and w ...

Posted by mp04 on Sun, 06 Feb 2022 18:36:12 +0100

Spring Cloud Sleuth and Zipkin distributed tracking guide

Distributed tracking allows you to track requests in a distributed system. This article does this by understanding how to use Spring Cloud Sleuth and Zipkin.   For a large application that does everything (we usually call it a monolithic application), it's easy to track incoming requests within the application. We can track the log and ...

Posted by andynightingale on Sun, 06 Feb 2022 09:34:06 +0100