365热榜

Java version distributed microservice cloud development architecture Spring Cloud+Spring Boot+Mybatis electronic bidding procurement system source code

@源码地址来源:@源码地址来源:@获取源码+ wx: haiwabbc2 / / / /版权副本;2012 2017 a href = ' '洪湖/版权所有。/ /包com.honghu.cloud.controller;进口java.math.BigDecimal;进口java.util.ArrayList;进口java.util.Date;进口java.util.HashMap;进口并不知道;进口java.util.Map;进口java.util.Set;进口javax.servlet.ht...

2022-08-15 | Microservice technology sharing | 947 views

Mybatis sql fuzzy query (sort first and then deduplication) and time range query

模糊查询 模糊查询本身用 like 关键字即可: SELECT DISTINCT field name FROM table name WHERE field name LIKE '%'/ {fieldName,jdbcType=VARCHAR}'%' 这里要注意 '%' 的使用,如果不加的话,mybatis会解析错误 另外, jdbcType=BIGINT 的模糊查询存在问题 一般模糊查询都需要去重,会用到 distinct 关键字,但我们的需求又希望能输出按某个字段排序的前几个,比如:按时间...

2022-08-15 | wyplj_sir | 269 views

The underlying principle of source reduction + the interview scene, alibaba multithreaded JDK source study notes so publicly for the first time

As a Java developer, the interview must have been asked about Java multi-threaded concurrent programming.Many people also responded to lz that this thing is always asked in interviews, but it is rarely used in work.In such an introverted situation in...

2022-08-15 | InfoQ | 426 views

Calculate the binary tree length of the shortest path between any two nodes (Java)

The problem is to calculate the shortest path length between any two nodes in a binary tree. For example: https://img blog.csdnimg.cn/20200512210819987.png In this binary tree, calculate the shortest path length of node 7 and node 3 and output 4 (7—4...

2022-08-15 | wyplj_sir | 526 views

Inside the Java classes

Article directory within class 1. 3 members of the inner class 1 56 (2) the static inner class 2, 136 (3) local inner classes 3 174 4. An anonymous inner class 4 252 last year to see their reprinted an article about the inner class, see a lot of doub...

2022-08-15 | wyplj_sir | 511 views

JVM - Java runtime data area

Article Table of Contents Runtime Data Area 1 1. Program Counter 1 12 2. Java Virtual Machine Stack 2Java 19 Extensions: So how are methods/functions called?31 3. Local method stack 3 41 4. Heap 4 47 5. Method area 5 62 The relationship between metho...

2022-08-15 | wyplj_sir | 769 views

Java NIO comprehensive explanation (see this article will be enough)

Java NIO, a comprehensive look at the article is enough data 62 f9fa154289e67719. PNG?Oss process x = image/watermark, size 14, text QDUxQ1RP5Y2a5a6i, color FFFFFF, t, 30 g se, 10 x, y, 10, 20, shadow type ZmFuZ3poZW5naGVpdGk =, oss process x = image...

2022-08-15 | 51CTO | 945 views

The zookeeper article for elegantly implementing delayed tasks

前言在《 优雅实现延时任务之Redis篇biz=MzAxNjM2MTk0Ng== mid=2247485026 idx=2 sn=589c4465f99364076ee083bdf60bf987 chksm=9bf4b6d7ac833fc16660ff50f18548c129aae390439ffea33fcf4be7afe833a69a8d07de7c52 scene=21 wechat redirect 》一文中提到,实现延时任务的关键点,是要存储The description of the...

2022-08-15 | TimeFriends | 181 views

The article said that through kafka underlying architecture

The underlying architecture explains the underlying architecture of kafka java 62f9f95feda5072.jpg?x oss process=image/watermark,size 14,text QDUxQ1RP5Y2a5a6i,color FFFFFF,t 30,g se,x 10,y 10,shadow 20,type ZmFuZ3poZW5naGVpdGk=,xoss process=image/res...

2022-08-15 | 51CTO | 839 views

JavaScript - Function

Directory function (function) %E5%87%BD%E6%95%B0%EF%BC%88function%EF%BC%89 Function naming convention: %E5%87%BD%E6%95%B0%E5%91%BD%E5%90%8D%E8%A7%84%E8%8C%83%EF%BC%9A function call syntax: %E5%87%BD%E6%95%B0%E7%9A%84%E8%B0%83%E7%94%A8%E8%AF%AD%E6%B3%...

2022-08-15 | cs1330 | 226 views

JavaScript --- Object

Directory Object %E5%AF%B9%E8%B1%A1 Object Declaration %E5%AF%B9%E8%B1%A1%E5%A3%B0%E6%98%8E Object Usage %E5%AF%B9%E8%B1%A1%E7%9A%84%E4%BD%BF%E7%94%A8 Operation object %E6%93%8D%E4%BD%9C%E5%AF%B9%E8%B1%A1 Query%E6%9F%A5%E8%AF%A2 reassign: %E6%94%B9%2...

2022-08-15 | cs1330 | 561 views

java: LinkedBlockingQueue之drainTo

This method is used to transfer elements in LinkedBlockingQueue to a new Collection object package com.example.app; import java.util.LinkedList; import java.util.List; import java.util.concurrent.LinkedBlockingDeque; public class TestDrain { publicst...

2022-08-15 | amadeus_liu2 | 337 views

[Spring annotation must know and must know] Deep analysis of the implementation principle of @Component annotation

Grow up together hand in hand, this is my participation "Denver, new plan on August, more challenges" of the 18th day, click on view the event details must have @ 'overview Component annotation everybody has been in use, as long as the class with it,...

2022-08-15 | JAVA xu Yang | 264 views

Java: Custom thread pool

一、自定义拒绝策略包cn.edu.tju;进口java.util.concurrent.RejectedExecutionHandler;进口java.util.concurrent.ThreadPoolExecutor;公共类MyRejectedExecutionHandler实现RejectedExecutionHandler {@Override公共空rejectedExecution Runnable r, ThreadPoolExecutor执行人{system . out。print...

2022-08-15 | amadeus_liu2 | 460 views

Java SE 9 Multi-Version Compatibility JAR Package Example

It means that the Java 9 version has enhanced the Jar package multi-version bytecode file format support, that is to say, we can include multiple Java version class files in the same Jar package, so that the Jar package can be upgraded to the new Jav...

2022-08-15 | Knock on the code old jia | 683 views

Quick start for spring boot+redis

1. Import pom dependency project depends on spring boot parent 2.2.2.RELASE redis dependency groupId org.springframework.boot /groupId artifactId spring boot starter data redis /artifactId /dependency cache connection pool dependency groupId org.apac...

2022-08-15 | Book side. | 136 views

Build a VPN with Linux

Configuration and Application of VPN Server Experimental Scenario The VPN server is configured in Linux to allow remote computers to access the intranet.My purpose: Now I need to develop a third-party interface, and the third-party interface has the ...

2022-08-15 | 51CTO | 242 views

MySQL-InnoDB storage engine index principle

What is an index An index is a sorted data structure used to help us quickly locate the data we want to query in a large amount of data.It is like a directory of books, which can quickly locate the content we want to find.Indexes in InnoDB Indexes in...

2022-08-15 | programming big coconut | 426 views

java: use of CompletionService

Purpose: You can get the results in the order in which the threads in the thread pool are executed package com.example.app; import java.util.Random; import java.util.concurrent./ ; public class CompletionServiceTest { public static void main String a...

2022-08-15 | amadeus_liu2 | 761 views

The use of the Java: ThreadLocalRandom

包cn.edu.tju;进口java.util.concurrent.ThreadLocalRandom;公开课ThreadLocalRandomTest{主要公共静态空字符串参数{ThreadLocalRandom ThreadLocalRandom = ThreadLocalRandom。当前的;system . out。println threadLocalRandom。nextInt 100;}}

2022-08-15 | amadeus_liu2 | 913 views