zl程序教程

您现在的位置是:首页 >  其他

当前栏目

SAP Netweaver gateway cache table logic

SAPgateway Table cache Logic Netweaver
2023-09-14 09:02:52 时间

Created by Jerry Wang, last modified on Jun 19, 2015

gateway系统首先会检查自己的 cache table看里面是否有cached的model数据:

接下来gateway会把这个从frontend端cache table里读出来的model的change timestamp和后台的timestamp做比较:

就是frontend这张表里的数据: /IWFND/I_MED_CTC. application第一次运行时,frontend的cache table必定是空的,第一次metadata请求完之后,从后台返回的model数据就存在这张表里。

Backend class:

如果后台MPC_EXT的lv_last_modified和frontend传进来的cached model的last change timestamp一致,就认为model是最新的,不用发送。

否则认为cache应该发送:

如果cache_timestamp 为空,证明frontend系统没有enable cache,这种情况下不需要发送cache model到frontend。

要获取更多Jerry的原创文章,请关注公众号"汪子熙":