Click or drag to resize
RiakDtCounter Class

Note: This API is now obsolete.

Represents a Riak Counter data type.
Inheritance Hierarchy
SystemObject
  RiakClient.Models.RiakDtRiakDtCounter

Namespace:  RiakClient.Models.RiakDt
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
[ObsoleteAttribute("RiakDt is deprecated. Please use Commands/CRDT namespace.")]
public class RiakDtCounter : IRiakDtType<CounterOperation>, 
	IDtOp, IChangeTracking

The RiakDtCounter type exposes the following members.

Constructors
  NameDescription
Public methodRiakDtCounter
Initializes a new instance of the RiakDtCounter class.
Public methodRiakDtCounter(String, String, String, DtFetchResp)
Initializes a new instance of the RiakDtCounter class.
Top
Properties
  NameDescription
Public propertyBucket
The bucket name of the data type object.
Public propertyBucketType
The bucket type of the data type object.
Public propertyIsChanged
Flag to see if there have been any local changes to the value of this counter.
Public propertyKey
The key of the data type object.
Public propertyOperations
A collection of operations for the data type object.
Public propertyValue
The current local value of this RiakDtCounter.
Top
Methods
  NameDescription
Public methodAcceptChanges
Resets the object’s state to unchanged by accepting the modifications.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIncrement
Increment the counter.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToCounterOp
Convert this object to a CounterOp.
Public methodToDtOp
Convert the current instance to a DtOp.
Public methodToMapEntry
Convert this object to a new MapEntry.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Operators
  NameDescription
Public operatorStatic memberIncrement
Increment the counter by 1.
Top
See Also