- Spring 5.0 Microservices(Second Edition)
- Rajesh R V
- 55字
- 2021-07-02 19:45:04
Subscription
A Subscription is shared by exactly one Publisher and one Subscriber for the purpose of mediating data exchange between this pair. Data exchange happens when the subscriber calls request. cancel is used basically to stop the subscription as seen in this example:
public interface Subscription {
public void request(long n);
public void cancel();
}
推薦閱讀
- Mastering NetBeans
- 程序設計與實踐(VB.NET)
- 認識編程:以Python語言講透編程的本質
- Software Testing using Visual Studio 2012
- Practical DevOps
- Java設計模式及實踐
- C++程序設計基礎教程
- Mastering Linux Network Administration
- Terraform:多云、混合云環境下實現基礎設施即代碼(第2版)
- Hands-On Full Stack Development with Spring Boot 2.0 and React
- Java Web從入門到精通(第3版)
- Magento 2 Beginners Guide
- UI動效設計從入門到精通
- Java語言程序設計實用教程(第2版)
- LabVIEW入門與實戰開發100例(第4版)