Click or drag to resize

BlockingLockLock Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Construct a new BlockingLock for the specified lockObject and wait for the lockObject to be locked while still respecting the calling thread's ThreadTimeout.

Namespace:  Tangosol.Util
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
public static BlockingLock Lock(
	Object lockObject
)

Parameters

lockObject
Type: SystemObject
The object to be locked.

Return Value

Type: BlockingLock
The BlockingLock
Exceptions
ExceptionCondition
ThreadInterruptedException If the thread is interrupted or the timeout is reached.
Remarks
This method will only return when the object is locked.
See Also