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. |
Decrement |
Decrement the value of Distributed Counter by the amount specified. |
Increment() | Increment the value of Distributed Counter by one. |
Increment |
Increment the value of Distributed Counter by the amount specified. |
Set |
Sets the given value of the Counter. |