Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Decrement the long value of the LocalDataStoreSlot for the current thread by one.

Namespace:  Tangosol.Util
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

Syntax

C#
protected virtual long DecrementThreadLocalCount(
	LocalDataStoreSlot slot
)

Parameters

slot
Type: System..::.LocalDataStoreSlot
LocalDataStoreSlot object which provides managed thread local storage with dynamic data slots that are unique to a thread and application-domain combination.

Return Value

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