ri > Concurrent::JavaAtomicReference

๐Ÿท๏ธ NAME

Concurrent::JavaAtomicReference < Object

๐Ÿš€ Quick Reference

Use Case Command Description
๐Ÿ” Get current value #get Returns the current value of the atomic reference.
โœ๏ธ Set new value #set(value) Sets the atomic reference to the given value.
๐Ÿ”„ Compare and set #compare_and_set(old, new) Atomically sets the value to new if the current value equals old.
๐Ÿงช Get and set #get_and_set(value) Atomically sets the value to value and returns the old value.
๐Ÿ”„ Update with block #update { |old| new } Atomically updates the value using the given block.

๐Ÿ“š Includes

๐Ÿ“ Internal Implementation Note

@!visibility private @!macro internal_implementation_note

Concurrent::JavaAtomicReference
๐Ÿท๏ธ NAME ๐Ÿš€ Quick Reference ๐Ÿ“š Includes ๐Ÿ“ Internal Implementation Note

Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-27 15:22 @216.73.216.194
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Valid XHTML 1.0 Transitional!Valid CSS!
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format