ThreadGateIncrementThreadLocalCount Method |
.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
Increment the long value from the LocalDataStoreSlot for
the current thread by one.
Namespace:
Tangosol.Util
Assembly:
Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
Syntaxprotected virtual long IncrementThreadLocalCount(
LocalDataStoreSlot slot
)
Parameters
- slot
- Type: SystemLocalDataStoreSlot
LocalDataStoreSlot object which provides managed thread
local storage with dynamic data slots that are unique to a thread
and application-domain combination.
Return Value
Type:
Int64
The new long value for the current thread or 1 if previous value
was
null.
Remarks
If the value in the LocalDataStoreSlot is null, 1
is returned.
See Also