Annotation and reflection

Annotation and reflection annotation What is annotation Annotation is a new technology introduced in jdk1.5.Function of Annotation: Not the procedure itself, the procedure can be explained;It can be read by other programs, such as compilers. Format of Annotation "@ annotation name" can also take parameters, for example: @Supp ...

Posted by rosieraz on Wed, 10 Nov 2021 17:49:37 -0800

Centralized way of parent-child relationship processing in RBAC

RBAC (Role-Based Access Control) means that users are associated with permissions through roles. In short, a user has several roles, and each role has several permissions. In this way, the authorization model of "user role permission" is constructed. In this model, the relationship between users and roles and between roles and permiss ...

Posted by robin on Wed, 10 Nov 2021 17:43:06 -0800

[JDK source code] concurrent atomic class AtomicStampedReference

brief introduction AtomicStampedReference is an atomic class provided under the java concurrency package. It can solve ABA problems that cannot be solved by other atomic classes, such as AtomicInteger ABA problem ABA The ABA problem occurs in a multithreaded environment. When a thread reads the same memory address twice in a row and gets ...

Posted by timvw on Wed, 10 Nov 2021 16:24:02 -0800

Principle analysis of Apache Flink CDC batch stream fusion technology

This article is reproduced from the official account of "good future technology". The use of Flink CDC 2 is introduced in the case of Flink SQL, and the core design of CDC is interpreted. The main contents are as follows:caseCore designCode explanationGitHub address https://github.com/apache/flinkWelcome to like Flink and send star~In ...

Posted by murdocsvan on Wed, 10 Nov 2021 15:35:58 -0800

The principle of SpringBootStarter and customizing simple starter steps

1. Starter introduction Compared with spring, spring boot is much simpler in configuration. Its core lies in spring boot starter. When using spring boot to build a project, you only need to introduce the officially provided starter, which can be used directly without various configurations. Starter simply introduces some dependencies and initi ...

Posted by jbbadaz on Wed, 10 Nov 2021 15:08:10 -0800

An article to understand Timer

preface This article belongs to the column "100 problems to solve Java concurrency". This column is original by the author. Please indicate the source of quotation. Please help point out the deficiencies and errors in the comment area. Thank you! Please refer to table of contents and references for this column 100 problems to sol ...

Posted by Sassci on Wed, 10 Nov 2021 14:50:37 -0800

JAVA8 Stream series of operations -- java

Java cultivation program -- the 60th day of learning clock in Java introduction to mastery (60th day of punch in) Java 8 stream operation follow-up Time flies. I've been learning java for 2 months. In the first half of the month, I've delayed a lot of progress because of the review. I still have energy to spend on Algorithms and ...

Posted by kevin99 on Wed, 10 Nov 2021 13:56:58 -0800

The beautiful world of Java design pattern Monads

[note] this article is translated from: [Beautiful World of Monads - DEV Community](https://dev.to/siy/beautiful-...)Let me start with the disclaimer. From the perspective of functional programming, the following explanation is by no means accurate or absolutely accurate. On the contrary, I will focus on the clarity and simplicity of the explan ...

Posted by CrowderSoup on Wed, 10 Nov 2021 13:37:45 -0800

BAT factory technology leader will take you to understand android Binder mechanism in 3 minutes. You must see it!!!

1, IntroductionRecently, due to work, I came into contact with the framework a little more. It is inevitable to deal with Binder and sort out some relevant knowledge, but I was still a little flustered when preparing to write this article. Moreover, the complexity of the whole Binder mechanism can not be described clearly in a few words. I'm al ...

Posted by demetri007 on Wed, 10 Nov 2021 13:20:35 -0800

Thoroughly explain the details of the simple factory that you haven't paid attention to

This article is excerpted from "design patterns should be learned this way" 1 encapsulate product creation details using simple factory mode Next, let's look at the code and take the creation of an online course as an example. Assuming that there are courses such as Java architecture, big data and artificial intelligence, an ecosyste ...

Posted by caster001 on Wed, 10 Nov 2021 13:02:47 -0800