Detailed configuration of spring-boot-plus

Public Configuration application.yml 👉 Official Full Configuration for SpringBoot Tomcat related configuration server: servlet: context-path: /api tomcat: max-threads: 1000 min-spare-threads: 30 uri-encoding: UTF-8 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

Sequence-tuple and dictionary

Python Learning Notes tuple 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

Da03.1-java.util

12 August 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 1.Date class java.util.Date Class Date represents a specific instant, accurate to milliseconds calender ...

Posted on Mon, 12 Aug 2019 02:06:27 -0700 by danieloberg

ReentrantReadWriteLock Source Parsing of the java Synchronization Series

Reference to this article ReentrantReadWriteLock Source Parsing of java Synchronization Series brief introduction 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

[Learning Notes-Java Collection-4] HashMap Source Analysis

brief introduction 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; Inheritance System HashMap implements Cloneable and can be ...

Posted on Sun, 11 Aug 2019 11:06:04 -0700 by ricta

Magic in Java - Unsafe

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

[Spring cloud step by step advertising system] 15. Binlog incremental preparation

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

springboot-jsp jar problem

[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

Written Test Programming Question for Shell Recruitment (2019.08.10)

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

ReentrantLock for JAVA Multithreading and High Concurrency Explanation lock/unlock/tryLock Method

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