Spring Boot integrates Quartz

To configure pom Spring Boot uses 2.1.6.RELEASE <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-quartz</artifactId> </dependency> application.properties #Using database to solidify scheduling information spring.quartz.job-store ...

Posted on Wed, 11 Dec 2019 09:23:07 -0500 by e1seix

Detailed explanation of Java Dom and Sax parsing XML

In JAVA, there are three ways to parse: Dom parsing (supports modification, deletion and memory consumption) Sax parsing (does not support modification and deletion, does not consume memory) Pull parsing (a recommended way to parse XML in Android, learn in the next chapter)   1. Development package supporting Dom and Sax parsing There are tw ...

Posted on Wed, 11 Dec 2019 08:40:38 -0500 by mars_rahul

CAS doesn't understand. What do you think of J.U.C

Preface When it comes to CAS (compare and swap), we have to say pessimistic lock and optimistic lock first, because CAS is an implementation of optimistic lock. Pessimistic lock: it's always pessimistic that every time you get data, there will be other threads executing concurrently, so you will lock each time, and then release the lock after ...

Posted on Wed, 11 Dec 2019 05:43:22 -0500 by George W. Bush

Introduction to Tablestore table management

Table Management Interface Overview API describe createTable Create table deleteTable Delete table listTable List all tables under the instance updateTable Update table (after the table is created, dynamically change the configuration or reserved throughput of the table) describeTable Get table details The above API operations a ...

Posted on Wed, 11 Dec 2019 05:35:42 -0500 by redmonkey

Remember some practical commands of Arthas to solve online problems

Centos installation installation and startup of Arthas curl -L https://arthas.gitee.io/install.sh | sh Before starting as, you need to configure Java home JAVA_HOME=/usr/java/jdk1.8.0_131 export JAVA_HOME Find the installation directory of as to execute #Target IP is the IP that specifies the binding. If you do not specify IP,arthas onl ...

Posted on Wed, 11 Dec 2019 04:58:10 -0500 by hd_webdev

[original] 003 | get on the real combat vehicle based on SpringBoot business idea

Preface If this is the second time you see the teacher, you are coveting my beauty! Like + pay attention again, form habit It doesn't mean anything else. It just needs your camera screen^_^ Special vehicle introduction This special train is for the actual combat based on the Spring Boot transaction idea. In the previous article, we took the Sp ...

Posted on Wed, 11 Dec 2019 04:02:35 -0500 by Pig

JGit ---- embed Git into your app

If you want to use Git in a java program, there is a full-featured Git library, which is JGit. JGit is a relatively sound implementation of Git written in Java, which is widely used in the Java community. The JGit project is maintained by Eclipse, Its home page. Dependency adding There are many ways to add JGit dependencies to your project and ...

Posted on Wed, 11 Dec 2019 03:53:35 -0500 by heropage

Spring cloud Alibaba microservice practice 5 - current limiting and fusing

Introduction: as the fifth part of the spring cloud Alibaba microservice practice series, the main content of this article is to use Sentinel to add the upper limit flow fuse function to the microservice to prevent the application service from being dragged down by abnormal conditions. Series of articles, welcome to continue to pay attention. ...

Posted on Wed, 11 Dec 2019 01:58:35 -0500 by dape2009

What is the principle of atomicity in atomic classes beginning with Atomic in JDK?

Classes that begin with JDK Atomic solve atomic problems in concurrent situations using CAS principles. CAS contains three parameters, CAS(V, E, N).V represents the variable that needs to be updated, E represents the current expected value of the variable, and N represents the updated value.The value of variable V is updated to N only if the ...

Posted on Wed, 11 Dec 2019 01:30:05 -0500 by Alecdude

Chart design under SSM framework

1. Because the user-defined result set is used in the automatically generated Mapper.xml file (that is, the statistical function only takes a few of the fields, but other fields will still have fields after they are converted to json data, but the value is null, which makes it difficult to select the data.) The effect is not ideal. So define a ...

Posted on Wed, 11 Dec 2019 00:52:53 -0500 by lszanto