Design and implementation of general interface open platform -- (37) optimization of heartbeat mechanism of message service
In the first part, we optimized the sending time of heartbeat. The client sends heartbeat after successful handshake. It is adjusted to start heartbeat sending after successful login, so as to ensure that the heartbeat mechanism can truly establish and maintain the effectiveness of the logical business message channel between the client and the ...
Posted by [/Darthus] on Sat, 12 Feb 2022 02:49:48 +0100
[interface development practice] background development of college information management module based on Django
This project is based on Django. Due to the interface related development, the front-end development is not involved for the time being. MySQL is used at the back end for data storage, addition, deletion, modification and query.
1) What is Django?
Django is a free and open source Web framework developed in python. It provides many mod ...
Posted by il_cenobita on Wed, 02 Feb 2022 17:59:55 +0100
Overview and characteristics of Java interface
After we understand inheritance, we all know the characteristics of inheritance.
1: Single inheritance (a son can only have one father)
2: Multi level inheritance (son inherits father, father inherits grandfather)
Therefore, the disadvantages of inheritance are obvious. The inheritance of Java language is single inheritance!!
Therefore, in ...
Posted by JSHINER on Wed, 02 Feb 2022 02:35:26 +0100
CountDownLatch, the three powerful tools of Java high concurrency programming foundation
introduction
In the previous article, we introduced the Semaphore of AQS , and it should be countdown latch , next.
What is CountDownLatch
CountDownLatch is implemented through a counter. The initial value of the counter is the number of threads. Every time a thread is executed, the value of the counter will be reduced by 1. When the value ...
Posted by ocpaul20 on Sun, 23 Jan 2022 00:45:22 +0100
How useful is the pharapi open source interface framework? The most complete back-end PHP development strategy
Pharapi open source interface framework
Pronunciation: Pai framework, official website: https://www.phalapi.net/
PhalApi is a lightweight open source interface framework for PHP, which is committed to the rapid development of interface services. It supports protocols such as HTTP/SOAP/RPC and can be used to build interfaces / micro services ...
Posted by literom on Tue, 18 Jan 2022 14:01:12 +0100
Java learning notes -- interfaces and packages
In the process of self-study Java, I sorted out some knowledge of interfaces and packages
Interface
Definition and basic usage
interface definition: an abstract class without fields
interface person{
void hello();
String getName();
}
/*An interface is essentially an abstract class
abstract class person{
public abstract void fun();
...
Posted by mw-dnb on Mon, 17 Jan 2022 18:07:15 +0100
Object oriented design of java Foundation
static keyword
Features of static keyword:
1) Loads as the class loads
2) Priority object exists:
It cannot coexist with this (this: represents the address value reference of the current class object)
When the object does not have new, the member currently modified by static has memory
3) Statically modified
Can be shared by multiple obj ...
Posted by prawn_86 on Sat, 15 Jan 2022 18:25:57 +0100
abstract classes and interfaces
abstract class
Significance of abstract classes: Abstract them to improve development efficiency
Abstract: Constraints
You can't use the abstract class new, you can only rely on subclasses to implement it: constraints!Ordinary methods can be written in abstract classesAbstract methods must be in abstract classes
package com.Demo05;
//A ...
Posted by iRock on Mon, 03 Jan 2022 21:59:39 +0100
TestNG + wirelock to mock the external system interface
1. Introduction to wiremock
WireMock Is based on HTTP of API Simulator.
2. Use in java interface testing framework
Wirelock supports multiple filtering conditions such as request mode / path / input parameter / header /, filtering interface and returning response. The response can be a file or any returned content defined by itself. Offici ...
Posted by sqlmc on Mon, 03 Jan 2022 16:11:57 +0100
In depth study of java object-oriented polymorphism and internal classes
I polymorphic
1. Class polymorphism
Requirements:
Demand: teachers go to work by bike
Analysis: teachers, bicycles
Demand upgrade / iteration: Bicycle - > car
Steps:
1. Create a Car class and write start and stop
2. Write open and close based on the original Teacher class
Note: violation of OCP principles
OCP - opening an ...
Posted by Dang on Mon, 03 Jan 2022 05:31:00 +0100