Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Get an object that can be used to synchronize access to this dictionary.

Namespace: Tangosol.Util.Collections
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
public virtual Object SyncRoot { get; }

Field Value

An object that is used to synchronize access to this dictionary.

Implements

ICollection..::..SyncRoot

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