Mybatis cache configuration

Preface Using cache can improve the speed of data acquisition and avoid frequent database interaction, especially in the case of more queries and higher cache hit rate, the role of using cache is more obvious. Generally speaking, when Mybatis cache is mentioned, it refers to the second level cache, which is enabled by default. First level ca ...

Posted on Sat, 14 Mar 2020 04:57:06 -0700 by z1haze

Analysis of the principle of Spring AOP

Spring AOP learning record AOP (face-to-face programming) knowledge is to see forget to see, today free to record AOP knowledge points. It is mainly divided into the following aspects: 1. AOP related terms 2. Basic knowledge and examples 3. Enhanced classification 1. AOP related terms Join point a class has some specific points with boundary pr ...

Posted on Sat, 14 Mar 2020 02:14:08 -0700 by MentalMonkey

Constellation judgment blog

Constellation judgment blog Preface My love for the front end can be extended to my love for life. This is my sixth week in the anti war class. Starting to learn the scripting language JavaScript makes my front-end development more likely. I think programming learning should not be limited to the cl ...

Posted on Fri, 13 Mar 2020 21:57:27 -0700 by vidyashankara

Detailed explanation of template method pattern (template method design pattern)

Reference address AQS defines abstract methods, which are useful in subclass implementation to template method design patterns Preface In the process of object-oriented programming, programmers often encounter this situation: when designing a system, they know the key steps required by the algorithm, ...

Posted on Fri, 13 Mar 2020 03:35:46 -0700 by mbariou

Redis sentinel mechanism

Through the sentinel mechanism of redis, the switch between the master and slave servers of redis can be realized, and the election operation between multiple slave servers can be completed. The disadvantage of Redis master-slave replication: there is no way to conduct dynamic election on the master, and Sentinel mechanism is needed to complet ...

Posted on Thu, 12 Mar 2020 23:17:19 -0700 by rgriffin3838

0312 java interface test rest-assured

background java programmers generally write that back-end services are JavaWeb-type projects, mainly including Http interface and dubbo interface, Http interface generally uses the resting style, so how to quickly test the resting interface on a third-party testing framework? The rest-assured framework is a good tool.Like a soldier's triangula ...

Posted on Thu, 12 Mar 2020 09:53:30 -0700 by sfhc

python foundation - object oriented 2 - encapsulation

Object oriented programming has three characteristics: encapsulation, inheritance and polymorphism python is also an object-oriented language To illustrate with an example: class user(object): def __init__(self, name, age,work): self.name = name self.age = age self.work = wo ...

Posted on Thu, 12 Mar 2020 03:20:01 -0700 by whitchman

C ා [difference between hashtable, HashSet and Dictionary]

[difference between HashTable, HashSet and Dictionary] 1.HashTable hash table A Hashtable represents a collection of key / value pairs. In the * *. NET Framework * *, Hashtable is a container provided by the System.Collections namespace. It is used to process and represent key value pairs similar to key value, where key is usually used for quic ...

Posted on Wed, 11 Mar 2020 04:17:36 -0700 by shenmue232

Architect's internal mental skill, a detailed explanation of bridging mode connecting two spatial dimensions

In real life, the bridge mode can also be seen everywhere, such as connecting two spatial dimensions of the bridge, connecting the virtual network and the real network. Bridge Pattern is also called Bridge Pattern, interface pattern or Handle And Body pattern. It separates the abstract part from its concrete implementation part so that they ca ...

Posted on Wed, 11 Mar 2020 02:29:07 -0700 by belayet

Using Python to develop novel crawler reader based on tkinter

Program name Novel crawling reader Crawling website http://www.bjkgjlu.com Technology used This program is the extension of GUI visual interface learning of regular, file and python Program function description This program is developed for me and my professional collaborators to download and display novels without local files. This prog ...

Posted on Wed, 11 Mar 2020 00:58:01 -0700 by Candrew