Zabbix4.0 monitors multi-instance java runs through JMX
(1) Introduction1. Introduction to JMXThe full name of JMX is Java Management Extensions (Java Management Extensions), which is a framework for implanting management functions for applications, devices, systems, etc. JMX can flexibly develop seamlessly integrated systems, networks and service management across a range of heterogeneous operatin ...
Added by buzz on Tue, 21 May 2019 19:11:39 +0300
clone() of Object in Java and Analysis of Shallow and Deep Copies
First, look at the source code:
public class Object {
protected native Object clone() throws CloneNotSupportedException;
}
From the source code we will find that:
First: clone() method of Object class is a native method, and the efficiency of native method is generally much higher than that of non-native method in Java. This also ...
Added by vtbruinsfan on Tue, 21 May 2019 00:07:43 +0300
Java Learning Notes: Chapter 7 Arrays
Java Learning Notes: Chapter 7 Arrays
Overview and characteristics of arrays
Definition of arrays
7.2.1 Array Declaration
7.2.2 Initialization
Traversal of 7.3.1 Array
7.3.2 for-each cycle
Copies of 7.3.3 arrays
7.3.4 java.util.Array class
7.4 Multidimensional Array
7.5 Array Storage Table Data
7.6.1 Foundation Algorithms for ...
Added by wizardry on Sat, 18 May 2019 17:24:33 +0300
java reflection base
The original text is reproduced from http://blog.csdn.net/sinat_38259539/article/details/71799078.
!!!!
Reflection is the soul of frame design
(Prerequisite for use: you must first get the Class of the bytecode represented, which is used to represent the. class file (bytecode))
I. Overview of Reflection
JAVA refle ...
Added by trulyafrican on Sat, 18 May 2019 03:20:16 +0300
Solution of Single Case Model in Concurrent
The most memory-intensive object creation process must be constrained. As a Singleton, it always maintains that there is only one instance in the application, which can significantly improve the performance of the program.
The following four implementations of singleton are discussed.
The stability of Singleton under single thread is excellent ...
Added by jshowe on Fri, 17 May 2019 16:22:44 +0300
Introduction to Construction Method, Encapsulation, Keyword (this, static) and Code Block
1. Construction Method
1.1 Difference between Constructing Method and Membership Method
The structural methods are divided into parametric and parametric structures, in which the parametric and parametric methods are the overload relations of the methods.
The constructor is called when initializing the object of a class. It has no return value. ...
Added by twmcmahan on Fri, 17 May 2019 12:11:28 +0300
JAVA--Concurrent Thread Security Processing (1) --Thread Security
Knowledge about multithreaded concurrency and thread security is organized as follows:
How Threads Ensure Security
How to publish objects securely
What are the means of thread security
Explanation of JUC components
How to improve thread scheduling
1. How do threads ensure security?
What is Thread Security
This class is thread safe when mult ...
Added by maya28 on Thu, 16 May 2019 03:18:15 +0300
Queue Synchronizer AQS in Java
I. AQS Concept
1. Queue synchronizer is the basic framework for building locks or other synchronization components. It uses an int variable to represent the synchronization state, and completes the queuing of threads through built-in queues.
2. Following is the introduction of AQS in JDK8 document.
public abstract class AbstractQueuedS ...
Added by drkstr on Tue, 14 May 2019 19:43:27 +0300
Type type in Java
In Java, generics and reflection are two important concepts that we can almost always use. And when it comes to Type, if anyone is unfamiliar with it, we should all understand that it is a direct implementation class, Class. Type is the common parent interface of all types in the Java language. This article is mainly about t ...
Added by drath on Tue, 14 May 2019 19:10:44 +0300