Druid Read XA Connection Initialization

Catalog 1 Initialize DruidXADataSource 2 Initialize Atomikos DataSourceBean 1 Initialize DruidXADataSource Initializing DruidXADataSource is done by the application developer as follows: /** * jdbc.ds1 Get configuration information, initialize druidDataSource1 * @return */ @Bean(name="druidDataSource1") @Configurati ...

Posted by fonecave on Wed, 17 Nov 2021 09:16:04 -0800

Algorithm and data structure - bucket sorting

Bucket sorting: The sorting under the bucket sorting idea is not based on comparison, and the application range is limited. The data status of the sample needs to meet the bucket division. The following describes the two sorting methods under the bucket sorting idea (1) Count sort (2) cardinality sort Time complexity O(N) Count so ...

Posted by Chronos on Wed, 17 Nov 2021 07:34:48 -0800

Upload, download and build maven private server

Basic use, upload and download of private server Why build a private server The network speed is slow, it takes a long time to download jar packages, and the work efficiency is low It is not conducive to the management and maintenance of public construction The jar packages developed in the company can only be shared and managed by the comp ...

Posted by wpt394 on Wed, 17 Nov 2021 07:10:45 -0800

Dubbo consumer cluster, load balancing implementation, routing Router

As we know, there are usually multiple instances on the Dubbo server, and the Dubbo consumer has built-in policies for load balancing scheduling. Let's take a general look. The overall architecture of routing and load balancing officially given is as follows: Before we start, let's talk about a few concepts in Dubbo: Cluster is commonly known ...

Posted by mrobertson on Wed, 17 Nov 2021 06:19:54 -0800

About collections and iterators

About containers (Collection) 1. What is a container       Container is used to hold and manage objects. In life, we will use all kinds of containers. Such as pots and pans, boxes and bags. The "container" in the program also has similar functions to hold and manage data. 2. Structure of container A single instan ...

Posted by Houdini on Wed, 17 Nov 2021 04:55:37 -0800

Getting started with thread safety and locks

Thread safety and lock use When we use multiple threads to access the same resource (which can be the same variable, the same file, the same record, etc.), if multiple threads only have read operations, thread safety problems will not occur, but if multiple threads have read and write operations on resources, thread safety problems are easy to ...

Posted by jayR on Wed, 17 Nov 2021 03:52:01 -0800

Zabbix 3.0 from introduction to mastery (detailed explanation of zabbix use)

Author: a handsome young man  source: http://clsn.io  Chapter 1 zabbix monitoring 1.1 why monitor    When necessary, remind us in advance that there is a problem with the server    When something goes wrong, you can find the root of the problem        Website / server availability 1.1.1 website availabili ...

Posted by reli4nt on Wed, 17 Nov 2021 03:25:33 -0800

Java foundation -- Inheritance and polymorphism

catalogue 1, Package 1. Import classes in package 2. Static import 3. Access control of package 2, Inherit 1. Concept and usage of inheritance 2.protect 3. Summary  4.final 3, Polymorphism 1. Upward transformation 2. Dynamic binding 2.1 rewriting 2.2 difference between rewriting and overloading 3. Downward transformation 4.sup ...

Posted by IThinkMyBrainHurts on Wed, 17 Nov 2021 02:53:54 -0800

Zero base spring boot day 10

brief introduction Today we mainly study data verification. When transferring parameters to a RESTful interface, we can't trust any user input, so we need to verify the data during development. For example, we often have to write to judge whether the field is empty, length limit, etc. these codes are cumbersome, lengthy and error prone. Here, ...

Posted by Shaun on Wed, 17 Nov 2021 02:34:50 -0800

abstract, static, and final modifiers

8. abstract, static and final modifiers 8.1 abstract Class abstract class Abstract classes can only declare references and cannot create objects For subclasses to inherit In life, an abstract class is a parent class abstracted from different subclasses. It does not have its own objects, such as animals and vehicles Method abstract method On ...

Posted by PhilipXVIII18 on Wed, 17 Nov 2021 01:49:12 -0800