Properties of application objects can be profiled, used in visibility rules, or used as a value to match against in a selection rule.
应用程序对象的属性可以进行配置,可以在可见性规则中使用,或在选择规则中用作需要进行匹配的值。
You can create a queue by specifying a name for the queue, along with an optional visibility timeout value.
可以通过指定队列名称和可选的可见性超时值创建队列。
However, you can use volatile to ensure the visibility of the current value when reading, so you use locking for all mutative operations and volatile for read-only operations.
然而,您可以在读操作中使用volatile确保当前值的可见性,因此可以使用锁进行所有变化的操作,使用volatile进行只读操作。
应用推荐