Interface ICounter
This interface contains methods and parameters for Distributed Counter.
Inherited Members
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. |