java List Entity Sorting
There are three ways to sort Java entity collections. The first is through a natively supported Comparator, the second is through a Lambda expression in java8, and the third is by using the apache-common toolkit.Tested to achieve the desired results, the third code is more readable and usable, and the third is recommended.
The third sort ...
Posted by john_zakaria on Mon, 11 May 2020 18:36:19 +0200
Summary and solution of various errors reported by Flink
Table is not an append-only table. Use the toRetractStream() in order to handle add and retract messages.
This is because the dynamic table is not in the append only mode. It needs to be processed with to retrieve stream
tableEnv.toRetractStreamPerson.print()
Today, when you start the Flink task, an error was reported as "Caused by: jav ...
Posted by CaseyC1 on Thu, 07 May 2020 10:54:41 +0200
Teach you how to deploy spring boot project to Alibaba cloud tutorial and install java web development environment jdk and Tomcat
Previous articlesSpring boot project deployed to Alibaba cloud tutorial (1) successfully connected to remote ECs and configured Alibaba cloud security group
We have been able to visit our Cloud server Now, install the application in it.Tutorial jdk, tomcat, mysql download address Link: https://pan.baidu.com/s/1FS1yYNqvnRJODklRnm9wog Extraction ...
Posted by aaadee on Wed, 06 May 2020 09:16:03 +0200
PHP-7.1.6 source compilation and installation
Explain
php5 and php7 can be installed in an apache server at the same time, but only one of them can run. The other needs to comment out the corresponding LoadModule in the apache configuration file
1. Download and install
[root@dl-001 src]# wget http://cn2.php.net/distributions/php-7.1.6.tar.gz
[root@dl-001 s ...
Posted by cdinca on Tue, 05 May 2020 20:06:12 +0200
Detailed explanation of RowFilter of HBase Filter
**This paper introduces the use of the Java & shell API of HBase RowFilter in detail, and posts the relevant sample code for reference. RowFilter filters based on row keys. When it comes to data filtering through HBase Rowkey, you can consider using it. For details and principle of comparator, please refer to the previous revision: Comparat ...
Posted by jonners on Tue, 05 May 2020 08:00:28 +0200
docx document to pdf file
Note: only docx file can be converted here. doc is not allowed. The source code is at the end of the article.
It can be run on windows and linux, with the function of content replacement added, because some document contents need to be generated dynamically by code.
The following are the specific operation steps:
ma ...
Posted by AJW on Sun, 03 May 2020 23:41:37 +0200
Installation and configuration of Tomcat server (tar.gz)
1, Installation
Install JDK before installing Tomcat. See JDK installation (bin)
1. Download and unzip Tomcat
[root@bogon src]# wget https://mirrors.tuna.tsinghua.edu.cn/apache/tomcat/tomcat-9/v9.0.0.M22/bin/apache-tomcat-9.0.0.M22.tar.gz
[root@bogon src]# tar xvf apache-tomcat-9.0.0.M22.tar.gz
2. Consider the ...
Posted by simonrs on Sat, 02 May 2020 05:36:44 +0200
Akka writes RPC communication framework to simulate a small case of Worker connecting to Master
Guiding ideology:
1. Using RPC communication framework (AKKA)2. Define 2 classes Master and Worker
-------------------------------------------------------------------------------------------------------------------------------Start Master first, then all workers1. After the Worker is started, establish a connection with the Master in the PreSta ...
Posted by kettle_drum on Thu, 30 Apr 2020 17:12:55 +0200
JMeter Parameter Signature - Groovy Tool Class Form
How do I sign parameters in JMeter?
Last Period JMeter Parameter Signature - Groovy Script Form Using Groovy scripting, this issue continues Groovy's use of parameter signatures in JMeter -- parameter signatures are done using Groovy tool classes.
This is a common situation in interface testing where one parameter of the interface is determined ...
Posted by miasma on Fri, 24 Apr 2020 04:30:03 +0200
Nginx practice course nginx Solving session consistency
session viscosity
Each request is allocated according to the hash result of the access ip, so that each visitor accesses a back-end server, which can solve the session problem.
upstream backserver {
ip_hash;
server 192.168.0.14:88;
server 192.168.0.15:80;
}
But there are disadvantages. There is a single risk. If I have logged in on port 192.1 ...
Posted by Rayne on Sun, 19 Apr 2020 15:02:31 +0200