Click or drag to resize
RiakClientStreamListBuckets Method
Lists all buckets available on the Riak cluster. This uses an IEnumerableT of String to lazy initialize the collection of bucket names.

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

Return Value

Type: RiakResultIEnumerableString
An IEnumerableT of String bucket names.

Implements

IRiakBatchClientStreamListBuckets
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. Callers should fully enumerate the collection or else close the connection when finished.
See Also