Click or drag to resize

GateEnter Method

.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
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: 14.1.1.1 (14.1.1.1)
Syntax
C#
bool Enter(
	long millis
)

Parameters

millis
Type: SystemInt64
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

Type: Boolean
true if the lock has been acquired.
See Also