Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
Tries to acquire the non-exclusive 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: 12.2.1.4014 (12.2.1.4014)

Syntax

C#
bool Enter(
	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 immediate attempt is made. If -1 wait an infinite time for the lock to be acquired.

Return Value

true if the lock has been acquired.

See Also