Sharing meta model of PHP design pattern

The word "Xiang Yuan" has no special meaning in Chinese, so we should divide it into two parts. "Sharing" means sharing, and "Yuan" is elements. In this way, it seems easy to understand that sharing certain elements. Gof class diagram and its explanation GoF definition: u ...

Posted by ludachris on Tue, 30 Jun 2020 04:12:16 +0200

Late night overtime boring, imitating an EventBus based on reflection

Dry point By reading this blog, you can learn about java's reflection mechanism and how to use custom annotations to solve everyday R&D problems based on the spring lifecycle. Problem Description In daily R&D, it is common to encounter an action triggered by Business A and at the same time trigger the action of Business B. This form of ...

Posted by rross46 on Mon, 29 Jun 2020 18:57:16 +0200

The meaning of hasQueuedPredecessors method and head node of ReentrantLock class

Part of the inspiration comes from the article Java Concurrent Programming -- Lock PART 1 1. If h==t is true, h and T are both null or the same specific node, and there is no successor node. false is returned.2. If h!=t holds, head.next Whether it is null. If it is null, it returns true. When h!=t and h.next==null?? , may appear the first tim ...

Posted by ram4nd on Mon, 29 Jun 2020 09:57:37 +0200

Chapter 13: concurrent deadlock and enterprise solutions (deadlock, livelock, starvation)

1. What is a deadlock? What's the harm? 1.1 what is deadlock? Occurs in concurrency [mutually exclusive]: when two (or more) threads (or processes) hold each other's resources required by each other, but do not actively release them, all of them can't move forward, resulting in endless blocking o ...

Posted by ollmorris on Mon, 29 Jun 2020 08:23:19 +0200

Spring cloud Part 5: fuse monitoring

Hystrix Dashboard is a real-time monitoring tool for hystrix. Through the Hystrix Dashboard, we can directly see the request response time, request success rate and other data of each Hystrix Command. But if you only use the Hystrix Dashboard, you can only see the service information in a single application, which is obviously not enough. We ne ...

Posted by madhu on Mon, 29 Jun 2020 06:47:29 +0200

Analysis of Lucene from entry to normal use

Lucene (Chinese interpretation web search engine; full text search; search technology; vertical search engine;) About Lucene Lucene is a sub project of 4 jakarta project group of Apache Software Foundation, which is an open-source full-text search engine toolkit, but it is not a complete full-text sea ...

Posted by ckjian on Mon, 29 Jun 2020 03:36:01 +0200

WebDay15 EL&&JSTL&&Filter&&Listener

EL&&JSTL&&Filter&&Listener I EL 1.1 general 1.2 use 1.2.1 get (in domain) value 1.2.2 precautions for El expression 1.2.3 perform operation 1.2.4 implicit objects 1.2.5 understanding 2 JavaBean II. JSTL 2.1 general 2.2 use of core label 2.2.1 use requirements 2.2.2 core ...

Posted by Josepheuan on Sun, 28 Jun 2020 08:25:09 +0200

AJAX & search Association & two ways of paging

Getting started with AJAX AJAX introduction AJAX(Asynchronous JavaScript And XML): asynchronous JavaScript and XML. It is not a new technology in itself, but a combination of multiple technologies. Technology for quickly creating dynamic web pages. If you need to update the content of a normal web ...

Posted by rogair on Sun, 28 Jun 2020 07:53:03 +0200

Backtracking algorithm title, do this, seckill!!

This article will explain how to do the problem of leetcode backtracking algorithm. In this period of time, I have brushed the problem of leetcode backtracking algorithm all the time, and found some of the rules. So I want to write an article to summarize it for fear of forgetting later. After finishing the topic of backtracking algorithm, I fo ...

Posted by johnh2009 on Sun, 28 Jun 2020 07:42:12 +0200

08 08Struts 2.x file upload

Article catalog 1 Basic upload 2 further operation of upload 3 upload restrictions If your code is developed with standard MVC, it is highly recommended to use SmartUpload. However, if your project code is developed with framework, such as Struts 1.x, Struts 2.x, and Spring MVC, you can only use F ...

Posted by nonexistence on Sun, 28 Jun 2020 06:52:44 +0200