Click or drag to resize
IRiakBatchClientDtFetchCounter Method (String, String, String, RiakDtFetchOptions)

Note: This API is now obsolete.

Fetch a Counter Data Type object from the provided address.

Namespace:  RiakClient
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
[ObsoleteAttribute("RiakDt is deprecated. Please use Commands/CRDT namespace.")]
RiakCounterResult DtFetchCounter(
	string bucketType,
	string bucket,
	string key,
	RiakDtFetchOptions options = null
)

Parameters

bucketType
Type: SystemString
The name of the bucket type containing the bucket.
bucket
Type: SystemString
The name of the bucket containing the key.
key
Type: SystemString
The key of the data type object.
options (Optional)
Type: RiakClient.ModelsRiakDtFetchOptions
The RiakDtFetchOptions responsible for configuring the semantics of this data type fetch request.

Return Value

Type: RiakCounterResult
A RiakCounterResult detailing the operation result and current counter value.
See Also