Click or drag to resize

WrapperNamedCacheLock Method (Object)

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Attempt to lock the specified item and return immediately.

Namespace:  Tangosol.Net.Cache
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public virtual bool Lock(
	Object key
)

Parameters

key
Type: SystemObject
Key being locked.

Return Value

Type: Boolean
true if the item was successfully locked; false otherwise.

Implements

IConcurrentCacheLock(Object)
Remarks
This method behaves exactly as if it simply performs the call Lock(key, 0).
See Also