Introduction to ThreadPool Executor of java thread pool

1. Advantages of Thread Pool Overall, thread pooling has the following advantages: (1) Reduce resource consumption. Reduce the consumption of thread creation and destruction by reusing created threads. (2) Improving the response speed. When a ...

Posted on Mon, 16 Sep 2019 05:08:06 -0700 by Incessant-Logic

Realization of Mobile Security Guard Based on android

Next, we implement the communication guard function, which is to provide users with a blacklist function. Users add the number they don't want to answer to the blacklist and hang up automatically if the number calls. Because the view is separate ...

Posted on Mon, 16 Sep 2019 04:02:49 -0700 by Acs

Java Calls Third Party Express Logistics Express Single Number Query api Docking

Comparison of Third Party Logistics Interfaces Express inquiry API has two kinds: instant inquiry and subscription inquiry. The instant request is to return data, the subscription is to subscribe to express order number to interface, and the logistics track update is to return data in full. At present, express birds, express 100, aggregate data ...

Posted on Mon, 16 Sep 2019 02:51:02 -0700 by shakuni

[SpringBoot - Web development (using Thymeleaf template engine)]

[Text can only describe fragment information, specific details reference code] https://github.com/HCJ-shadow/SpringBootPlus Introducing POM dependencies <properties> <java.version>1.8</java.version> <thymeleaf.version>3.0.11.RELEASE</thymeleaf.version> <thymeleaf-layout-dialect.version& ...

Posted on Mon, 16 Sep 2019 02:42:04 -0700 by Kurt

Spring Security Resolution-Spring Security Oauth2 Development

Spring Security Resolution (V) - Development of Spring Security Oauth2 When learning Spring Cloud, when encountering the related content of authorized service oauth, he always knows half of it, so he decided to study and collate the content, principle and design of Spring Security, Spring Security Oauth2 and other permissions, authentication-re ...

Posted on Sun, 15 Sep 2019 23:05:39 -0700 by jase35750

Single, Double and Two Design Patterns

#What are single and double assignmentsdispatch refers to the process of binding a corresponding method body to an object according to its actual type. For example, there are class X and its two subclasses X1 and X2, both of which implement the instance method m(). Usually methods of subclasses X1 and X2 should be preceded by @Override, so ther ...

Posted on Sun, 15 Sep 2019 20:33:25 -0700 by del753

Quick guide to building microservices on Openshift using Quarkus

On my blog, you have the opportunity to read many articles about building microservices using frameworks like Spring Boot or Micronaut.Here's another very interesting framework, dedicated to the architecture of micro-services, that's getting more and more attention- Quarkus .It was introduced as the next-generation native Java framework for Kub ...

Posted on Sun, 15 Sep 2019 19:14:05 -0700 by natasha_thomas

Java 13 will be released tomorrow. Interpretation of the latest and newest features

In August 2017, the JCP Executive Committee proposed changing the frequency of Java publishing to every six months, with a new publishing cycle that strictly follows time points and will be released each year in March and September. The latest version of JDK 13 will be released on September 17, 1919. JDK13 is currently in the Release-Candidate ...

Posted on Sun, 15 Sep 2019 18:54:15 -0700 by skorp

Leader Selector for Multiple Copies of RocketMQ DLedger for Source Code Analysis

This article will follow RocketMQ Multi-copy Preface: A Preliminary Study of raft Protocol Learn RocketMQ's main logic by thinking. First, I will review some thoughts about Leader: Node stateThree kinds of node states need to be introduced: Follower (follower) and Candidate (candidate). In this state, the node will make a voting request and Le ...

Posted on Sun, 15 Sep 2019 07:34:08 -0700 by agent_smith_sp

Extend mybatis and general mapper to support geometry type fields of mysql

Because the storage, query and calculation of geographic location information are needed in the project, it is decided to use the geometry type field of mysql (version 5.7) database to save geolocation coordinates and Virtual Generated Column to save geohash value for easy query. You need to understand how geometry is used and its advantages.Si ...

Posted on Sun, 15 Sep 2019 02:48:15 -0700 by therainmaker53