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

The ThreadGateSlim type exposes the following members.

Constructors

  NameDescription
ThreadGateSlim
Initializes a new instance of the ThreadGateSlim class

Methods

  NameDescription
Close
Tries to acquire the exlusive lock, the attempt is willing to wait up the specified millis or -1 to wait infinite.
Enter
Tries to acquire the non-exlusive lock, the attempt is willing to wait up the specified millis or -1 to wait infinite.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Exit
Releases the non-exlusive lock. If the non-exlusive lock has no more matching Enter(millis) from any Thread the exlusive lock is released so that Threas wanting to Close the Gate can proceed.
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Open
Releases the exlusive lock. If the exlusive lock has no more matching Close(millis) the exlusive lock is released. And Threas waiting to Enter(millis) or Close(millis) will continue executing. If the thread currently is also holding the non-exlusive lock, the Thread will imediatly Enter the lock. The thread will have to match all calls to Enter(millis) with the corresponding count of Exit().
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Properties

  NameDescription
IsClosedByCurrentThread
Determines if the current thread have Closed the gate but not yet Opened the Gate.
IsEnteredByCurrentThread
Determines if the current thread have Entered, but not yet Exited the Gate.

See Also