Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
12c (12.2.1.4.0)
E90869-02

The ThreadGateSlim type exposes the following members.

Methods

  NameDescription
Public methodClose
Tries to acquire the exclusive lock, the attempt is willing to wait up the specified millis or -1 to wait infinite.
Public methodEnter
Tries to acquire the non-exclusive lock, the attempt is willing to wait up the specified millis or -1 to wait infinite.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodExit
Releases the non-exclusive lock. If the non-exclusive lock has no more matching Enter(millis) from any thread the exclusive lock is released so that threads wanting to Close the Gate can proceed.
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOpen
Releases the exclusive lock. If the exclusive lock has no more matching Close(millis) the exclusive lock is released. Any Threads waiting to Enter(millis) or Close(millis) will continue executing. If the thread currently is also holding the non-exclusive lock, the thread will immediately Enter the lock. The thread will have to match all calls to Enter(millis) with the corresponding count of Exit().
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also