Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03
E22844-03
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.
| |
Determines whether the specified (Inherited from | ||
| Exit |
Exit the gate.
| |
Allows an (Inherited from | ||
Serves as a hash function for a particular type.
(Inherited from | ||
| GetThreadLocalCount |
Obtain the long value stored in the LocalDataStoreSlot.
| |
Gets the (Inherited from | ||
| IncrementThreadLocalCount |
Increment the long value from the LocalDataStoreSlot for
the current thread by one.
| |
Creates a shallow copy of the current (Inherited from | ||
| 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 | |
| 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.
| |
| IsClosedByCurrentThread |
Determines if the current thread have Closed the gate but not yet
Opened the Gate.
| |
| IsClosingThread |
Determine if the current thread has closed and not opened the
the thread gate.
| |
| IsEnteredByCurrentThread |
Determine if the current thread has entered and not exited the
thread gate.
| |
| Status |
The current thread gate status.
| |
| Version |
The total number of times the gate has been fully opened.
|