Click or drag to resize

IPNCounterGetAndIncrement Method

Increments by one the current value.

Namespace:  Hazelcast.Core
Assembly:  Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.12.3
Syntax
long GetAndIncrement()

Return Value

Type: Int64
the previous value
Exceptions
ExceptionCondition
NoDataMemberInClusterExceptionif the cluster does not contain any data members
NotSupportedExceptionif the cluster version is less than 3.10
ConsistencyLostExceptionif the session guarantees have been lost
See Also