Public Configuration application.yml
👉 Official Full Configuration for SpringBoot
Tomcat related configuration
context-path: project access path
max-threads:tomcat thread pool size setting
min-spare-threads: number of to ...
Posted on Mon, 12 Aug 2019 09:13:30 -0700 by mjs87
Python Learning Notes
1.1. Introduction to tuples
A tuple is an immutable sequence. (The method of operation is basically similar to that of lists, but it is not feasible to call the method of lists to change objects in order to assign values to indexes and slices.)Generally, tuples are used if ...
Posted on Mon, 12 Aug 2019 07:11:23 -0700 by Tux-e-do
Today's learning content is
1) Common Tool Classes in java
2) CSS and HTML
3.1 Common tool classes in the java.util package
Ctrl+Shift+o can quickly import corresponding packages
Class Date represents a specific instant, accurate to milliseconds
Posted on Mon, 12 Aug 2019 02:06:27 -0700 by danieloberg
Reference to this article ReentrantReadWriteLock Source Parsing of java Synchronization Series
Read-write lock is a special kind of lock. It divides access to shared resources into read access and write access. Multiple threads can read and access shared resources at the same time, ...
Posted on Mon, 12 Aug 2019 01:00:17 -0700 by marklarah
HashMap uses a key/value storage structure, where each key corresponds to a unique value, and queries and modifications are fast enough to achieve the average time complexity of O(1).It is non-thread safe and does not guarantee the order in which elements are stored;
HashMap implements Cloneable and can be ...
Posted on Sun, 11 Aug 2019 11:06:04 -0700 by ricta
Unsafe is a class located under the sun.misc package. It mainly provides some methods to perform low-level, unsafe operations, such as direct access to system memory resources, self-management of memory resources, and so on. These methods have played a significant role in improving Java efficiency and enhancing the operation capabilities of Jav ...
Posted on Sat, 10 Aug 2019 23:44:40 -0700 by Simmo
Introduction to MySQL Binlog
What is binlog?
A binary log that records SQL statements that make or potentially change to data and is saved on disk as a result.
What is the role of binlog?
There are three main uses:
Data replication (master-slave synchronization)
Mysql's Master-Slave protocol enables Slave to achieve data consistency by listeni ...
Posted on Sat, 10 Aug 2019 22:39:15 -0700 by frikus
[Previous Summary] A recent project was built with the springboot+jsp structure, but when publishing a production environment, it was necessary to use maven as a jar package, but the default configuration at the beginning was not successful.The following article is the specific solution process.
1. Project structure
Base, abnormal phenomenon ...
Posted on Sat, 10 Aug 2019 21:34:54 -0700 by eddjc
1. Title description:
* Given n n n positive integers, it is required to find the smallest absolute value of the difference between two adjacent digits. If the absolute value of the difference is the same, the first logarithm will be output.
* 2 < n <= 100, positive integers in the range of 1 ...
Posted on Sat, 10 Aug 2019 07:03:28 -0700 by gaogier
Locking is usually considered to ensure thread safety in multi-threaded high concurrency scenarios in JAVA. But in special scenarios, we can also use thread-safe objects provided by the java.util.concurrent package to avoid locking and achieve high efficiency.
However, these thread-safe objects only ...
Posted on Sat, 10 Aug 2019 04:34:48 -0700 by ThinkGeekness