Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02
12c (12.2.1.4.0)
E90869-02
Enter the thread gate.
Namespace: Tangosol.Util
Assembly: Coherence (in Coherence.dll) Version: 12.2.1.4014 (12.2.1.4014)
Syntax
C# |
---|
public virtual bool Enter( long millis ) |
Parameters
- millis
- Type: System..::..Int64
Maximum number of milliseconds to wait; pass -1 for forever or 0 for no wait.
Return Value
true iff the calling thread successfully entered the gate.Implements
Gate..::..Enter(Int64)Remarks
A thread uses this method to obtain non-exclusive access to the
resource represented by the thread gate. Each invocation of this
method must ultimately have a corresponding invocation of the
Exit method.