JVM fault handling tool, Usage Summary
1, Foreword
How to learn if you can't use it?
Without scenes and demands, it seems that there is no need to learn these knowledge points.
In fact, the best way is to summarize, sort out, practice and output. After a set of combination boxing, you will master this series of knowledge.
However, it may not be used at the current stage. The ...
Posted by jreed2132 on Wed, 22 Dec 2021 18:25:02 +0100
Zero foundation, Alibaba technical officer private MySQL notes sharing
set password for 'user name'@'IP address' = Password('New password');
Note: the data related to user permissions are saved in the user table of mysql database, so you can also operate them directly (not recommended)
I'm tired after watching for so long. Take a break for 10 seconds and continue to look down
4, Authority management
mysql h ...
Posted by thedualmind on Wed, 22 Dec 2021 17:30:01 +0100
Java interview fundamentals Part 7 of java basic syntax: abstract classes and interfaces, the latest tutorial of Java Han Shunping
3. Alibaba code specification stipulates that methods and attributes in the interface should not be decorated with any symbols to keep the code concise
Implement multiple interfaces
Sometimes we need to make a class inherit from multiple parent classes at the same time This is achieved in some programming languages through multiple inherita ...
Posted by mtorbin on Wed, 22 Dec 2021 02:06:02 +0100
Spring Security Learning (Xi, spring MVC interview questions often asked 2020)
Spring social introduced in previous blogs encapsulates third-party applications, goes to service providers and obtains user information through OAuth protocol. Here we need to complete the logic development of the service provider, so we need to use spring security OAuth
Using spring security OAuth, we can quickly build the logic of the ser ...
Posted by Johan Beijar on Tue, 21 Dec 2021 22:48:34 +0100
Comprehensive analysis of advanced core knowledge in Java and learning materials for linux
* Static inner class. be used for hash Operation!
*/
public static class SimpleHash {
private int cap;
private int seed;
public SimpleHash(int cap, int seed) {
this.cap = cap;
this.seed = seed;
}
/**
* Calculate hash value
*/
public int hash(Object value) {
int h;
return (value == null) ? 0 : Math.abs(seed * (c ...
Posted by enkidu72 on Tue, 21 Dec 2021 21:56:46 +0100
[Methods of Paging Query for JVM 2,000,000 Data and Its Optimizations
In the Incremental mode l, each collection process is paused twice, and the second time is slightly longer. For the first time, simply query the surviving object from root. The second time it is used to examine the survivors in detail. The whole process is as follows:
* stop all application threads; do the initial mark; resume all application ...
Posted by scraptoft on Tue, 21 Dec 2021 17:52:48 +0100
For Java time complexity and space complexity, Alibaba innovated and released the new high concurrency classic
Time complexity mainly measures the running speed of an algorithm, while space complexity mainly measures the additional space required by an algorithm.
In the early days of computer development, the storage capacity of computer was very small. So I care about the complexity of space.
However, with the rapid development of computer industry, ...
Posted by dreamline on Tue, 21 Dec 2021 07:37:21 +0100
Java8 Stream and lambda usage
Stream
It is used to perform various operations and operations on the data in the collection, such as filtering, sorting, mapping... Finally get the result
The collection focuses on the storage of data, and the Stream stream focuses on the operation and operation of the data stored in the collection
Use steps
Gets the object of a Stream s ...
Posted by dpluth on Tue, 21 Dec 2021 07:08:42 +0100
springboot introductory tutorial, Java written test questions, programming questions
It mainly acts on the DAO interface and can automatically generate the implementation class of the interface.
8: @MapperScan
It is mainly used on the startup class to generate the implementation class of DAO interface. If there are many DAO interfaces, it is recommended to use @ MapperScan annotation, such as @ MapperScan("com.example. ...
Posted by saidbakr on Tue, 21 Dec 2021 06:19:41 +0100
Java parsing or generating xml strings of various methods, a text tells you, java written interview BAT
The following is an example of parsing a string, which you can refer to:
public static void main(String[] args) throws Exception {
//Parses the given String text into an XML document and returns the newly created document
org.dom4j.Document document = DocumentHelper.parseText(xmlString);
//Get the root node, in thi ...
Posted by Kibit on Tue, 21 Dec 2021 01:27:24 +0100