IConcurrentCacheLock Method (Object) |
.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
Attempt to lock the specified item and return immediately.
Namespace:
Tangosol.Net.Cache
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
SyntaxParameters
- key
- Type: SystemObject
Key being locked.
Return Value
Type:
Booleantrue if the item was successfully locked;
false
otherwise.
Remarks
This method behaves exactly as if it simply performs the call
Lock(key, 0).
See Also