Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Tries to acquire the exlusive lock, the attempt is willing to wait up the specified millis or -1 to wait infinite.

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

Syntax

C#
public bool Close(
	long millis
)

Parameters

millis
Type: System..::.Int64
If the value is positive the caller will block for this long until either the lock has been acquired. If 0 an imediate attempt is made. If -1 wait an infinite time for the lock to be acquired.

Return Value

true if the lock has been aquired.

Implements

Gate..::.Close(Int64)

See Also