Click or drag to resize

ThreadGateDecrementThreadLocalCount Method

Oracle® Fusion Middleware .NET API Reference for Oracle Coherence
14c (14.1.1.0)
F23534-02
Decrement the long value of the LocalDataStoreSlot for the current thread by one.

Namespace:  Tangosol.Util
Assembly:  Coherence (in Coherence.dll) Version: 14.1.1.14 (14.1.1.14)
Syntax
C#
protected virtual long DecrementThreadLocalCount(
	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