rodert single row learning redis advanced [silver 1]

redis silver I To make a digression, recently, the epidemic situation in the capital of China is very serious. We are all in the current of the times. This is not for individuals. I hope you can protect yourself and have fun every day. [toc] preface Statement: refer to the Internet, and leave a message if there is any dispute. Standing on the s ...

Posted by Stanley90 on Thu, 25 Jun 2020 11:19:57 +0200

Java data structure 54: Course Design of depth first traversal and breadth first traversal of graph data structure

54: depth first traversal and breadth first traversal of Graphs Time limit: 20000ms memory limit: 131072kB describe The information of vertex and edge of an undirected graph is given, and the depth first traversal sequence and the breadth first traversal sequence of the undirected graph are output. Starting from a vertex, if there are more t ...

Posted by saidbakr on Thu, 25 Jun 2020 10:49:29 +0200

Sping boot integrated rocketmq multi consumer

1, rocketmq installation Installation media Download Download address: http://rocketmq.apache.org/release_notes/release-notes-4.7.0/Download binary installation package Upload to the server for decompression Start command: cd /usr/local/rocketmq/ # 1. Start mqnamesrv first #Start command nohup sh b ...

Posted by jocknerd on Wed, 24 Jun 2020 04:34:39 +0200

With all due respect, you may not really be able to java Article 6: Stream performance is poor?Don't make a cloud out of a cloud

1. Feedback from fans Q: stream is five times slower than for loops. What is the reason for this? Answer: The Internet is a time when news is flooding. Three people become tigers when something is false and real happens.As a technology developer, you have to do it yourself. Don't let the world go by. Indeed, I've read this article by this fan, ...

Posted by amites on Wed, 24 Jun 2020 02:51:30 +0200

Data collection of provinces in 2020

preface: Reference article: https://www.cnblogs.com/yangzhilong/p/3530700.html https://www.cnblogs.com/liushaofeng89/p/4873086.html Recently, due to the user's feedback that the provincial data form is partially missing, baidu decided to pull it by itself after a circle of duniang. The provincial ...

Posted by Xeon on Tue, 23 Jun 2020 12:58:13 +0200

Enumeration types of Java Foundation

Before the introduction of enumeration types in Java, we often defined global constants in the way of abstract classes, for example: public abstract class UploadStatus { public static final int UPLOAD_IN_PROGRESS = 0; public static final int UPLOAD_FAILED = 1; public static final int UPL ...

Posted by Schlo_50 on Tue, 23 Jun 2020 11:28:19 +0200

Spring boot redis cache sets the effective time and auto refresh cache, and the auto refresh time is set in the annotation

Spring boot redis cache sets the effective time and auto refresh cache, and the auto refresh time is set in the annotation. preface This article mainly supplements the spring redis cache used by small partners. Spring redis cache is a general solution. Although spring redis cache has been very power ...

Posted by theverychap on Tue, 23 Jun 2020 11:00:59 +0200

27 - how many ways to implement a single example? What are their advantages and disadvantages?

Singleton pattern is one of the simplest design patterns in Java. It means that a class always has only one instance during its running. We call it singleton pattern. It is not only used in practical work, but also one of the most frequently tested questions in interview. Through the singleton mode, we ...

Posted by vbracknell on Tue, 23 Jun 2020 10:58:01 +0200

Use TrueLicense in Spring Boot project to generate and verify License (Server License)

Article catalog 1, Introduction 2, Use TrueLicense to generate License 1, in pom.xml Add key dependencies to 2. Verify the user-defined License parameters 3. Add a Controller to generate certificate: 3, Using the keytool tool provided with JDK to generate public private key certificate Library 4, G ...

Posted by parboy on Tue, 23 Jun 2020 09:38:53 +0200

magical! The new objects can also be managed by the Spring container!

It's reasonable to say that the objects from new have nothing to do with containers, but in the Spring Security framework, there are many new objects that can also be managed by containers, so how does it do it? Today, I'd like to talk with you about a little cold topic. What is the use of ObjectPostProcessor in Spring Security? This is the 32n ...

Posted by Dynamis on Tue, 23 Jun 2020 06:35:34 +0200