Constructor and Description |
---|
KeySource(BucketResponse bucketResponse)
Create a Key Source from an http.
BucketResponse in response to
RiakClient.streamBucket(String) request. |
public KeySource(BucketResponse bucketResponse)
BucketResponse
in response to
RiakClient.streamBucket(String)
request. The bucket response
contains a stream which this key source will close when this key source
becomes weakly reachable. When you have finished iterating over the keys
do not retain the key source.bucketResponse
- the BucketResponse
with a List of keys.public void remove()
remove
in interface Iterator<String>
Iterator.remove()
Copyright © 2012. All Rights Reserved.