Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
12c (12.2.1.4.0)
E90869-02
            Attempt to lock the specified item and return immediately.
            
Namespace: Tangosol.Net.Cache
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)
 Syntax
Syntax
| C# | 
|---|
| bool Lock( Object key ) | 
Parameters
- key
- Type: System..::..Object
 Key being locked.
Return Value
true if the item was successfully locked; false otherwise. Remarks
Remarks
            This method behaves exactly as if it simply performs the call
            Lock(key, 0).
            






