Recent Posts
-
JDK1. 8. Reading the source code of concurrenthashmap
1. Read with questions Why is concurrent HashMap thread safe? Or how does concurrent HashMap prevent concurrency? 2. F…… -
Abstractqueuedsynchronizer source code analysis (implementation of reentrantlock lock lock)
1. Preface Abstractqueuedsynchronizer (PS: AQS for short) is used in many places in Java, such as reentrantlock and th…… -
Basic usage of completable future
Asynchronous computing Limitations of future interface The future interface can build asynchronous applications, but i…… -
There will always be a few wrong steps in the long way of optimization (remember an interface optimization)
Recently, I did a search interface optimization, repeated pressure testing for four times, and finally met the require…… -
-
Introduction to reactive
Reactive is ideal for low latency, high throughput workloads. Reactive processing is a paradigm (specification) that e…… -
Upward leadership and downward empowerment
After all these years in the pit, as a Java siege lion and senior code Porter, I have something to say: 1. Raise techn…… -
Concurrent inventory reduction
There are many scenes of second kill, such as rush buying, ticket grabbing, red envelope grabbing, etc. In short, ther…… -
Best memory cache framework caffeine
Caffeine is a high-performance cache library and the best (optimal) cache framework based on Java 8. Cache (CACHE), ba…… -
Sharding JDBC quick start lesson 1
1. General Shardingsphere is an ecosystem composed of a set of open source distributed database middleware solutions. …… -
Java rule engine easy rules
1. Easy rules overview Easy rules is a Java rule engine, inspired by an article entitled "should I use a rules engine?…… -
Java export Excel
preface As we all know, excel is divided into two steps: These two steps are time-consuming. Generally, we check the d…… -
E-commerce promotion background logic
In the final analysis, the so-called marketing of e-commerce is the change of order amount; If we clearly know the cal…… -
-
Redisson basic usage
1. Redisson Redisson is the Java version of redis client officially recommended by redis. It provides many functions a…… -
Distributed transaction
In essence, distributed transaction is to ensure the data consistency of different databases. 1. Distributed theory 1.…… -
ThreadLocal principle
1. What is ThreadLocal ThreadLocal provides thread local variables. The difference between these variables and ordinar…… -
Java export CSV file
In the past, POI was always used to export as Excel file. Later, when I learned about CSV, I found that the speed was …… -
JDK1. Thread pool in 8
The above code has been used all the time. I'm often asked during the interview, but I've never studied it deeply. I d…… -
Android importing other people’s project configuration problem – the project can’t run
How to create a new Android project? https://www.cnblogs.com/xqz0618/p/first_ app.html Import imports other projects. …… -
Learning of Android web service request based on ksoap2
In fact, it is also the first time I have met this need because some ERP related businesses need such a request method…… -
-
JDK installation and environment configuration — the first step of Android Development
JDK, namely java development kit, is used to compile Java programs. In the process of contacting JDK, JRE also learned…… -
Android studio First Android project
Installing haxm Intel's hardware acceleration execution manager is a hardware assisted virtualization engine (hypervis…… -
Android TSC thermal label printer printing
I don't know if you have encountered this situation. Some things want to be sorted out, but you don't know how to sort…… -
Android studio uses real machine debugging – Open Mobile Developer mode
How to open developer mode? ① open mobile phone settings -- > System -- > about mobile phone -- > find the ve…… -
Detailed explanation of Android LinearLayout linear layout
In order to better manage the components in the user interface of Android applications, Android provides a layout mana…… -
Android BuildType obfuscation code
① after Android development is completed, we will package the code into APK file. Select the menu bar build -- build A…… -
Android opens the app again and enters the interface when pressing the home key to exit (thistaskroot)
After the startup mode of the Android settings page is singletask, when you press home to exit, reopen the application…… -
Android avoids memory leaks
That is, the recycled memory is not recycled for various reasons and still resides in the memory. Maybe a small memory…… -
Logging tool class of Android utils
In the process of development, we often perform specific processing on the code, which may be used many times in the c…… -
Android JSON parsing plug-in
Automatically create entity classes based on JSON data. 【JavaBean】 [results] 【MainActivity】 [results] Fastjson is ……