Interface ICounter
This interface contains methods and parameters for Distributed Counter.
Inherited Members
Namespace:
Assembly: Alachisoft.NCache.Client.dll
Syntax
public interface ICounter : IComparable<long>, IEquatable<long>, IComparable<ICounter>, IEquatable<ICounter>, IDistributedDataTypes, ILockable, INotifiable
Properties
Name | Description |
---|---|
Value | Gets the value of counter. |
Methods
Name | Description |
---|---|
Decrement() | Decrement the value of distributed counter by one. |
DecrementBy(Int64) | Decrement the value of distributed counter by the amount specified. |
Increment() | Increment the value of distributed counter by one. |
IncrementBy(Int64) | Increment the value of distributed counter by the amount specified. |
SetValue(Int64) | Sets the given value of the counter. |