Click or drag to resize
IRiakAsyncClientListBuckets Method
Lists all buckets in the Default Bucket Type.

Namespace:  RiakClient
Assembly:  RiakClient (in RiakClient.dll) Version: f9bb17a3f8ff6940b88010a52f202e3d55fe25c5
Syntax
Task<RiakResult<IEnumerable<string>>> ListBuckets()

Return Value

Type: TaskRiakResultIEnumerableString
A TaskTResult, that will contain an IEnumerableT of String bucket names.
Remarks
Buckets provide a logical namespace for keys. Listing buckets requires folding over all keys in a cluster and reading a list of buckets from disk. This operation, while non-blocking in Riak 1.0 and newer, still produces considerable physical I/O and can take a long time.
See Also