SynchronizedDictionarySyncRoot Property |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Get an object that can be used to synchronize access to this
dictionary.
Namespace:
Tangosol.Util.Collections
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntaxpublic virtual Object SyncRoot { get; }
Property Value
Type:
Object
An object that is used to synchronize access to this dictionary.
Implements
ICollectionSyncRoot
Remarks
This property is used internally to synchronize mutating
operations on this dictionary.
You can use it externally to block mutating operations as well,
but keep in mind that simply locking this property will not
prevent concurrent read operations. If you need to block both read
and write operations, use AcquireWriteLock method
instead.
See Also