我是靠谱客的博主 洁净画笔,这篇文章主要介绍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内容请搜索靠谱客的其他文章。

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

评论列表共有 0 条评论

立即
投稿
返回
顶部