Click or drag to resize
IRiakBatchClientDtFetchCounter Method (RiakObjectId, 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(
	RiakObjectId objectId,
	RiakDtFetchOptions options = null
)

Parameters

objectId
Type: RiakClient.ModelsRiakObjectId
The RiakObjectId of the counter to fetch.
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