我是靠谱客的博主 洁净画笔,最近开发中收集的这篇文章主要介绍stm java_轻量级的运行时软件事务内存(STM)java,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

Quick Stem provides a simple, fast, and lightweight Software Transactional

Memory (STM) API for Java. Programmers can wrap a value in a Stem,

and then via access to the Stem's get and set methods, ensure that all

access to the value is transactional.

Transactions can be started, and only commited transactions values will be

visible to other transactions. Commit and rollback are constant time

operations.

Quick Stem provides all four ACID transaction isolation levels,

Read-Uncommited, Read-Commited, Repeatable-Read, and Serializable. The

last of which is provided via restartable transactions.

Quick Stem's values are completely non-locking and non-blocking. Concurrent

readers and writers never block.

Finally, Quick Stem provides a set of basic Java collections which are also

transactional. Individual transactions view both different contents and

structure of the collections based on transaction visibility.

最后

以上就是洁净画笔为你收集整理的stm java_轻量级的运行时软件事务内存(STM)java的全部内容,希望文章能够帮你解决stm java_轻量级的运行时软件事务内存(STM)java所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(46)

评论列表共有 0 条评论

立即
投稿
返回
顶部