ThreadGateSlimEnter Method |
Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-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: 14.1.1.14 (14.1.1.14)
Syntaxpublic 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:
Booleantrue if the lock has been acquired.
Implements
GateEnter(Int64)
See Also