Click or drag to resize
IRiakBatchClientGetCounter Method
Returns the value of a counter.

Namespace:  RiakClient
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
RiakCounterResult GetCounter(
	string bucket,
	string counter,
	RiakCounterGetOptions options = null
)

Parameters

bucket
Type: SystemString
The bucket.
counter
Type: SystemString
The counter.
options (Optional)
Type: RiakClient.ModelsRiakCounterGetOptions
RiakCounterGetOptions describing how to read the counter.

Return Value

Type: RiakCounterResult
RiakCounterResult.
Remarks
Only available in Riak 1.4+.
See Also