Collection framework and generics
Collection framework
A collection of interfaces and classesIn Java Util package
Set framework system
Collection interface:
Stores a non unique, unordered set of objects
List interface:
Store objects with = = not unique (value repeatable), ordered (insertion order) = =
Set interface:
Store a set of unique (values cannot be repeat ...
Added by skeener on Mon, 07 Mar 2022 22:07:54 +0200
Apollo docker deployment record
Reading guide
This paper records the process of deploying Apollo according to the official Apollo documents. The place worthy of reference is the pit.
Assuming you have a certain understanding of Apollo, you won't introduce Apollo itself too much. For documents, please refer to: https://ctripcorp.github.io/apollo/#/zh/README
The deploye ...
Added by xterra on Mon, 07 Mar 2022 22:04:46 +0200
ConcurrentBag I of HikariCP source code analysis
Welcome to my blog to sync updates: Fengshan hospital
Source code version 2.4.5-SNAPSHOT
Hello, today, let's analyze the core ConcurrentBag of HikariCP, which is the most important core class for managing connection pools. You can see from its name that it is a concurrency management class with very good performance, which is the secret ...
Added by glueater on Mon, 07 Mar 2022 21:58:36 +0200
Advanced chapter of Lesson 8_ Indexes
Advanced chapter of Lesson 8_ Indexes
I MySQL Linux Installation
1. Prepare Linux server
CentOS 7.0
Final shell connection server
2. Download MySQL installation package for Linux
www.mysql.com
Download Community Edition (free)
3. Upload MySQL installation package
4. Create a directory and unzip it
mkdir mysql
tar -xvf mysql-8.0.rpm-bu ...
Added by jake2891 on Mon, 07 Mar 2022 21:54:31 +0200
Reinforcement learning algorithm: PPO2 creates a bitcoin trading robot that won't lose money
Creating a bitcoin trading robot will not lose money
In this article, we will create a deep reinforcement learning agent to learn to make money through bitcoin trading. In this tutorial, we will use the PPO agent in OpenAIgym and the stable baselines Library (a branch of OpenAI's baselines Library). The purpose of this series of articles is to ...
Added by decessus on Mon, 07 Mar 2022 21:53:14 +0200
Learn Docker from madness (essence)
Container data volume
What is a container data volume
Review of docker's concept
Package the application and environment into an image!
data If the data is in the container, we will delete the container and lose the data! Requirement: data can be persistent
Mysql, the container is deleted, delete the database and run! Requirement: MySQL da ...
Added by ragedigital on Mon, 07 Mar 2022 21:48:03 +0200
One article is done
1, Why use JSP
The difference between HTML and JSP is like I have a huge wall, and then paste the advertising cloth on it in the traditional way. Today, Zhang San pays 10000 yuan to display his adult products advertisement, and tomorrow, Li Si pays 20000 yuan to display his advertisement for treating kidney deficiency... I have to change the a ...
Added by Heero on Mon, 07 Mar 2022 21:40:52 +0200
[source code analysis] multi process architecture and model of parallel distributed task queue Celery
[source code analysis] multi process architecture and model of parallel distributed task queue Celery
0x00 summary
Celery is a simple, flexible and reliable distributed system that processes a large number of messages. It focuses on asynchronous task queue for real-time processing, and also supports task scheduling. Because celery improve ...
Added by new2phpcode on Mon, 07 Mar 2022 21:27:03 +0200
Analysis of Java interview questions
1. volatile
Memory visibility: variables in the main memory will be copied to the thread's private memory when used in a multithreaded environment. Variables modified by volatile keyword can ensure the consistency of the same variables in the main memory and the thread's private memory.No guarantee of atomicity: variables modified by volatile ...
Added by jassikundi on Mon, 07 Mar 2022 21:25:09 +0200
Spring boot automatic assembly principle
What does springboot automatically configure for us? What can we change?
Three core:
spring. Factories (various automatic configuration classes)XXAutoConfiguration (autoconfiguration class)Xxproperties (property injection modification)
1. Principle of automatic assembly (most important)
pom. Since the import of XML configuration, the core l ...
Added by markspec87 on Mon, 07 Mar 2022 21:22:31 +0200