- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
同步异步知识(Synchronous asynchronous knowledge)
同步异步知识(Synchronous asynchronous knowledge)
Dirty read called invalid data read, refers to the database access, T1 will modify the value of a transaction, then the transaction T2 read the value, then T1 for some reason to withdraw the value changes, which led to the T2 of the read data is invalid. Dirty read refers to when a transaction is accessing data, and the data were modified, and this modification is not submitted to the database, then another transaction can access the data, and then use this data. Because this data is not yet submitted, then the data read by another transaction is dirty data, and the operation based on the dirty data may be incorrect
AVA synchronous and asynchronous is very classic
For example: ordinary B/S mode (synchronous) AJAX Technology (asynchronous)
Synchronization: submit the request - wait for the server processing GT processed during the return to the client browser can not do anything
Asynchronous request processing server through event trigger (- this is a browser can still do other things) - processed
The synchronization is when you ask me to eat, I hear you go to dinner with you, if not heard, you will not stop calling, until I tell you to hear, and then go to dinner together.
Asynchronous is you call me, and then go to eat, I may go immediately after the news, may also wait until after work to eat.
So, if you want me to treat you to a meal, you can use a synchronous method and ask me to have a meal with an asynchronous method so that you can save money.
Information as an example
Synchronization: Send a request, wait for return, and then send the next request
Asynchronous: Send a request without waiting for return, ready to send the next request at any time
Concurrency: sending multiple requests at once
Java synchronous and asynchronous knowledge points
Key words: Java synchronous and asynchronous related knowledge points
First, the key word:
Thread (thread), thread-safe (thread safety), intercurrent (concurrent)
Synchronize
您可能关注的文档
- 剪辑手段(Editing means).doc
- 办公室网络布线(Office network cabling).doc
- 办公室副主任竞职演讲稿(Deputy director of the office of your speech.).doc
- 功夫古籍续(Kung Fu classics).doc
- 功夫熊猫台词三(Kung Fu Panda line three).doc
- 功夫熊猫诞生记~ 3d动画电影是这样降生的~(The birth of Kung Fu Panda 3D animated film is born this way!).doc
- 功能测试的要点(Key points of functional test).doc
- 加入给我三天光明(Join me for three days, bright!).doc
- 加入wto后我国税收的应对之策(Countermeasures of tax revenue in China after entering WTO).doc
- 加工中心对刀(Machining center tool setting).doc
最近下载
- 自然辩证法-2018版课后思考题答案.pdf VIP
- 2024-2025学年山东省聊城市茌平区八年级(上)期末数学试卷(含部分答案).pdf VIP
- 钢结构采光顶专项施工方案.doc VIP
- 深度解析(2026)《YST 1571-2022高频高速印制线路板用压延铜箔》.pptx VIP
- JTGG10-2016_公路工程施工监理规范.pdf
- 华测智能RTK使用说明书.pdf
- 国内外电机设计制造新工艺新技术与检修及质量检测技术标准应用手册.doc VIP
- 植物的受精与胚胎发育.pptx VIP
- Panasonic松下LUMIX G97 相机拍摄更为优质的照片和视频产品说明书用户手册.pdf
- 2023-2024学年高中信息技术必修一沪科版(2019)第三单元项目五《 描述洗衣机的洗衣流程——了解算法及其基本控制结构》说课稿.docx VIP
原创力文档


文档评论(0)