Click or drag to resize

IPNCounter Methods

The IPNCounter type exposes the following members.

Methods
  NameDescription
Public methodAddAndGet
Adds the given value to the current value
Public methodDecrementAndGet
Decrements by one the current value.
Public methodDestroy
Destroys this object cluster-wide.
(Inherited from IDistributedObject.)
Public methodGet
Returns the current value of the counter.
Public methodGetAndAdd
Adds the given value to the current value.
Public methodGetAndDecrement
Decrements by one the current value.
Public methodGetAndIncrement
Increments by one the current value.
Public methodGetAndSubtract
Subtracts the given value from the current value.
Public methodGetName
Returns the unique name for this IDistributedObject.
(Inherited from IDistributedObject.)
Public methodGetPartitionKey
Returns the key of partition this IDistributedObject is assigned to.
(Inherited from IDistributedObject.)
Public methodGetServiceName
Returns the service name for this object.
(Inherited from IDistributedObject.)
Public methodIncrementAndGet
Increments by one the current value.
Public methodReset
Resets the observed state by this PN counter. This method may be used after a method invocation has thrown a ConsistencyLostException to reset the proxy and to be able to start a new session.
Public methodSubtractAndGet
Subtracts the given value from the current value.
Top
See Also