Click or drag to resize

ThreadGateDecrementThreadLocalCount Method

.NET API Reference for Oracle® Coherence Community Edition
(14.1.1.0)
E55634-01
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.1 (14.1.1.1)
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