IPNCounter Methods |
The IPNCounter type exposes the following members.
Name | Description | |
---|---|---|
AddAndGet |
Adds the given value to the current value
| |
DecrementAndGet |
Decrements by one the current value.
| |
Destroy | Destroys this object cluster-wide. (Inherited from IDistributedObject.) | |
Get |
Returns the current value of the counter.
| |
GetAndAdd |
Adds the given value to the current value.
| |
GetAndDecrement |
Decrements by one the current value.
| |
GetAndIncrement |
Increments by one the current value.
| |
GetAndSubtract |
Subtracts the given value from the current value.
| |
GetName | Returns the unique name for this IDistributedObject. (Inherited from IDistributedObject.) | |
GetPartitionKey | Returns the key of partition this IDistributedObject is assigned to. (Inherited from IDistributedObject.) | |
GetServiceName | Returns the service name for this object. (Inherited from IDistributedObject.) | |
IncrementAndGet |
Increments by one the current value.
| |
Reset |
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.
| |
SubtractAndGet |
Subtracts the given value from the current value.
|