The function of transient keyword and the solution of several questions

[TOC] 1. From Serilizable to transient We know that if an object needs to be serialized, it needs to implement the serializable interface, and all non static attributes of this class will be serialized. Note: the above mentioned non static attributes, because static attributes belong to classes, not class objects, and serialization is an operat ...

Posted by creativeimpact on Thu, 05 May 2022 07:48:11 +0300

Analysis of XXL job source code

I Introduction to XXL job XXL-JOB is a distributed task scheduling platform. Its core design goal is rapid development, simple learning, lightweight and easy expansion. The source code has been opened and connected to the online product lines of many companies, which can be used out of the boxDocument address: https://www.xuxueli.com/xxl-job/g ...

Posted by ca87 on Tue, 26 Apr 2022 19:40:31 +0300

android9.0Service start process (start mode)

The source code sorting of Service start stream is based on android 9.0. In the sorting process, I tested the advanced secrets of android. Later, I will keep updating my new understanding of this piece Apply process to AMS startService starts the first cross process communication, using the process from starting the process to requesting AMS ...

Posted by kslagdive on Sun, 24 Apr 2022 23:20:32 +0300

[MQ] java implements message queuing from scratch mq-02- how can producers call consumers?

Prospect reviewIn the last section, we learned how to start the customer service and server based on netty.[MQ] starting from scratch to realize mq-01-start of producers and consumers[how to implement mq consumer message queue from zero]?So how does the client call the server?Let's implement it together in this section.Consumer realizationAdjus ...

Posted by promovi on Sat, 23 Apr 2022 07:23:37 +0300

Realization of the core function of react router

preface Routing is extremely important for both the front end and the back end. Although they are both called routing, their concepts and functions are not the same. Front end routing refers to rendering the corresponding components when the user access path matches the routing configuration path; Back end routing refers to the execution o ...

Posted by Nik on Mon, 18 Apr 2022 01:44:53 +0300

[CSDN Software Engineer competency certification learning selection] teach you to read the source code of Cpython

CSDN Software Engineer competency certification (hereinafter referred to as c-series certification) is a competency certification standard formulated and launched by CSDN. C series certification has gone through nearly a year of actual offline research, investigation, iteration and testing, and sorted out various technical skills required in th ...

Posted by travelerBT on Fri, 15 Apr 2022 23:07:03 +0300

Understand the execution process of vue from the perspective of source code

As a vuer, he finally began to work on the vue source code. With an excited heart and trembling hands, it's better to roll up the line of code. The source code is based on the latest v2 The description of version 6.12 may lead to misunderstanding and discrepancy. Please correct it. In addition, only sort out the process without in-depth explana ...

Posted by thesimon on Wed, 13 Apr 2022 17:04:57 +0300

Exploration on relevant mechanisms of DefaultListableBeanFactory

Exploration on relevant mechanisms of DefaultListableBeanFactory The object of this article is defaultbeablefactory. Spring beans relies on version 5.0.9 RELEASE. Class diagram Key attributes DefaultSingletonBeanRegistry Private final map < string, Object > singletonobjects: stores beans that are fully instantiated and whose a ...

Posted by kazil on Tue, 05 Apr 2022 23:09:47 +0300

Android: how to develop vest bag gracefully?

1, What is a vest bag Vest bag is a method to take advantage of loopholes in major market rules and put the same product on the shelves for many times through technical means. Except for the name of the main application package, it cannot be completely consistent with other basic functions of the main application package.     2, Why do you ...

Posted by examancer on Tue, 05 Apr 2022 19:55:48 +0300

AtomicInteger source code analysis (based on JDK 1.8)

1 Introduction AtomicInteger is an atomic class. Addition and deletion are atomic. It avoids the direct use of Unsafe to implement atomic operations. The principle of realizing atomicity is CAS, which can be seen in my previous articles. Introduction to unsafe (II) and CAS The member variable value is volatile to ensure visibility. Intro ...

Posted by jimdavidson on Mon, 04 Apr 2022 20:41:58 +0300