Java reflection mechanism and Application

Java reflection mechanism and Application 1. Java reflection In the running state, for any class, you can get all the properties and methods of the class, and for any object, you can call any of its methods and properties (including private methods and properties). This dynamically obtained information and the function of dynamically calling ...

Added by linusx007 on Fri, 11 Feb 2022 17:04:04 +0200

The seventh network front end training (JS)

1. Built in object Argument: only defined inside the function, with function arguments reserved Array: array object Date: Date object Math: Math objects String: a string object that provides a series of operations on strings 1.1,String charAt (index): returns the character at the specified position indexOf (chr): returns the specified s ...

Added by Rocu on Fri, 11 Feb 2022 16:47:06 +0200

The code solves the problems of cache penetration and cache avalanche

preface When we use redis to combine golang, we see a lot of problems about cache penetration and cache avalanche on the Internet, but there are few really combined codes. In fact, we can refer to other people's codes to write our own templatesHowever, for a complete set of systems like this, it's best to use ready-made ones (laughter) What a ...

Added by benphelps on Fri, 11 Feb 2022 16:37:06 +0200

C language string function summary

<string. h> There are many commonly used string functions in the library. Mengxin blogger has made some summary here catalogue 1.strlen 2.strcpy  3.strcat 4.strcmp 5.strncpy 6.strncat 7.strncmp 8.strstr  9.strtok 10.strerror  11.memcpy 12.memmove 13.memcmp 1.strlen Function prototype: size_t strlen ( const char * str ); ...

Added by enemeth on Fri, 11 Feb 2022 16:31:31 +0200

Android MVVM framework usage (function development) Notepad

preface    there are some problems in the construction of some conventional MVVM frameworks, so the development of some small functions also needs to be explained. Pay attention to practice, and this paper will practice it. A function may not be able to write an article. Before writing, let's take a look at the finished renderin ...

Added by CodeBuddy on Fri, 11 Feb 2022 16:28:50 +0200

Interviewer: is it thread safe for Context to carry data?

Original link: Interviewer: is it thread safe for Context to carry data?prefaceHello, everyone. I'm asong. Recently, I saw an interesting eight part essay in a group. The question is: is the value carried in context thread safe? In fact, this question is to investigate the interviewer's understanding of the implementation principle of context. ...

Added by rsasalm on Fri, 11 Feb 2022 16:15:58 +0200

SpringBoot+flowable to quickly implement workflow

Overview Use the flowable UI that comes with flowable to make the flow chart Use the interface used by the springboot development process to complete the business functions of the process 1, Deployment and operation of flowable UI flowable-6.6.0 run the official demo Reference documents: https://flowable.com/open-source/docs/bpmn/ch14 ...

Added by dserf on Fri, 11 Feb 2022 16:11:38 +0200

Microservices have everything from code to k8s deployment (III. authentication)

We will use a series to explain the complete practice of microservices from requirements to online, from code to k8s deployment, from logging to monitoring. The whole project uses the micro services developed by go zero, which basically includes go zero and some middleware developed by relevant go zero authors. The technology stack used is basi ...

Added by ambo on Fri, 11 Feb 2022 16:07:27 +0200

To understand the asynchronous components in Vue3, read this article

Hello, I'm A bowl week , a front end that doesn't want to be drunk. If you are lucky enough to get your favor, I am very lucky~ Asynchronous component Write in front When our project reaches a certain scale, for some components, we don't want to load them all at the beginning, but when necessary; The purpose of this can improve the user ex ...

Added by rgpayne on Fri, 11 Feb 2022 16:04:47 +0200

Design and implementation of general interface open platform -- (32) business message processing flow of message service

The message service adopts the publishing subscriber mode. The message producer sends the message to the message service center, and the message service center copies and forwards the message to the message consumer. From the perspective of process, it can be regarded as two stages of interaction, one is from producer to message center, and the ...

Added by eziitiss on Fri, 11 Feb 2022 15:52:20 +0200