Thread pool (focus)
Thread pool: three methods, seven parameters, four rejection strategies
Pooling technology: 01: The operation of the program, essence: occupy system resources!Optimize the use of resources!=>Pooling Technology 02: Thread pool, connection pool, memory pool, object pool //... created, destroyed.Very wasteful of resour ...
Posted by rami on Thu, 25 Jun 2020 17:45:01 -0700
UseJava.netThe URL class below implements that the URL is a reference to a uniform resource identifier, a URL instance represents a reference to a url, and then the openStream() method in the URL is used.
[java] view plain copy
public class U ...
Posted by THW on Thu, 25 Jun 2020 09:18:39 -0700
Previously read articles about RabbitMQ core messaging patterns are based on Java API s, and recently read the official documentation and found that these core messaging patterns can be implemented through Spring AMQP.This paper summarizes the practical techniques of RabbitMQ, including its installation on Windows and Linux, and the Spring A ...
Posted by shamuntoha on Thu, 25 Jun 2020 09:15:41 -0700
How to use Jdbc and Servlet to operate Mysql database and write Android login server?
1. Download and install Tomcat server
2. Open eclipse and choose Java EE mode
3. Configure Servers
1. Click on the blue word in the bottom configuration box
(2) Select the corresponding versions of Apache and Tomcat in the server type
Posted by itsgood on Thu, 25 Jun 2020 09:13:51 -0700
The pattern is separated from the language, and the singleton pattern in the design pattern is very important in the concurrency. We should not indulge in the language and architecture, but think about the problem from the design point of view. Technology is the easiest to be replaced. Only by formin ...
Posted by justinjkiss on Thu, 25 Jun 2020 04:15:57 -0700
Hugegraphserver (hereinafter referred to as HGserver) REST-API It provides a variety of resource access methods, including five common ones: (it is recommended to test in postman)
Graph: query vertices and edges (e.g.: IP: 8080 / graphs / hugegraph / graph / vertices)
Schema: query ve ...
Posted by darkknightgaury on Thu, 25 Jun 2020 03:58:32 -0700
What is AOP
AOP (aspect oriented programming): aspect oriented programming is a complement to traditional object-oriented programming.
What do you mean?
For example, in the above figure, there are many identical function codes in different methods. Then we can extract these identical function codes an ...
Posted by poring on Thu, 25 Jun 2020 03:36:00 -0700
In "deep understanding of Java virtual machine: advanced features and best practices of JVM (version 2)", the working process of CMS collector is introduced as follows:
CMS collector is based on the "mark clear" algorithm. Its operation process is more complex than the previous coll ...
Posted by Muncey on Thu, 25 Jun 2020 03:21:57 -0700
Java implementation of recursion and classic cases
This paper briefly introduces the concept of recursion and points for attention when using recursion, and shares the cases of factorial case (two ways), immortal rabbit case (three ways) and deleting a file with content by recursion;
Article cata ...
Posted by jestaji on Thu, 25 Jun 2020 00:19:46 -0700
Above (design mode visitor mode): https://blog.csdn.net/qq_16498553/article/details/106934637
What is the business representative model?
What can the business representative model do?
Business representative model class diagram
Source code ...
Posted by rifts on Wed, 24 Jun 2020 19:37:48 -0700