Collapse All Expand All Members: Show All Members: Filtered Members: Filtered Members: Filtered

C#
Include Protected Members
Include Inherited Members

Oracle® Coherence .NET API Reference
ThreadGate Members
ThreadGate Class Constructors Methods Properties See Also

Oracle® Coherence .NET API Reference Release 3.6.1
E18812-01

The ThreadGate type exposes the following members.

# Constructors

| Name | Description
--- | --- | ---
| ThreadGate | Allocates unnamed data slots on threads to store local thread counter values and returns new instance of ThreadGate.

# Methods

| Name | Description
--- | --- | ---
| BarEntry | Bar entry of the thread gate by other threads, but do not wait for the gate to close.
| Close | Close the thread gate.
| DecrementThreadLocalCount | Decrement the long value of the LocalDataStoreSlot for the current thread by one.
| Destroy | Destroy the thread gate.
| DoWait | Wait up to the specified number of milliseconds for notification.
| Enter | Enter the thread gate.
| Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
| Exit | Exit the gate.
| 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.)
| GetThreadLocalCount | Obtain the long value stored in the LocalDataStoreSlot.
| GetType | Gets the Type of the current instance. (Inherited from Object.)
| IncrementThreadLocalCount | Increment the long value from the LocalDataStoreSlot for the current thread by one.
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.)
| Open | After entry into the ThreadGate is restricted by a call to BarEntry() or Close(), it can be re-opened by calling this method.
| SetThreadLocalCount | Set the long value to be stored in the LocalDataStoreSlot.
| ToString | Provide a human-readable representation of this ThreadGate. (Overrides Object..::.ToString()()().)
| UpdateStatus | Update the current thread gate status, without changing the active count.

# Properties

| Name | Description
--- | --- | ---
| ActiveCount | The number of unmatched completed Enter calls.
| CloseCount | The number of unmatched completed Close/BarEntry calls.
| ClosingThread | The thread that is closing the gates.
| IsActiveThread | Determine if the current thread has entered and not exited the thread gate.
| IsClosingThread | Determine if the current thread has closed and not opened the the thread gate.
| Status | The current thread gate status.
| Version | The total number of times the gate has been fully opened.

# See Also

ThreadGate Class
Tangosol.Util Namespace