SAP Netweaver gateway cache table logic
Created by Jerry Wang, last modified on Jun 19, 2015
gateway系統(tǒng)首先會檢查自己的 cache table看里面是否有cached的model數(shù)據(jù):
接下來gateway會把這個(gè)從frontend端cache table里讀出來的model的change timestamp和后臺的timestamp做比較:
就是frontend這張表里的數(shù)據(jù): /IWFND/I_MED_CTC. application第一次運(yùn)行時(shí),frontend的cache table必定是空的,第一次metadata請求完之后,從后臺返回的model數(shù)據(jù)就存在這張表里。
Backend class:
如果后臺MPC_EXT的lv_last_modified和frontend傳進(jìn)來的cached model的last change timestamp一致,就認(rèn)為model是最新的,不用發(fā)送。
否則認(rèn)為cache應(yīng)該發(fā)送:
如果cache_timestamp 為空,證明frontend系統(tǒng)沒有enable cache,這種情況下不需要發(fā)送cache model到frontend。
要獲取更多Jerry的原創(chuàng)文章,請關(guān)注公眾號"汪子熙":
總結(jié)
以上是生活随笔為你收集整理的SAP Netweaver gateway cache table logic的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Mac 安装python 3.*新版本的
- 下一篇: AMD FSR 超分辨率技术已支持 25