You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Tomaz Muraus (JIRA)" <ji...@apache.org> on 2011/06/26 12:28:47 UTC

[dev] [jira] [Closed] (LIBCLOUD-78) Implement "LazyList" class which implements iterator interface and encapsulates paging

     [ https://issues.apache.org/jira/browse/LIBCLOUD-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomaz Muraus closed LIBCLOUD-78.
--------------------------------


> Implement "LazyList" class which implements iterator interface and encapsulates paging
> --------------------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-78
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-78
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Storage
>            Reporter: Tomaz Muraus
>              Labels: "lazy, iterator, list, paging
>             Fix For: 0.5.2
>
>         Attachments: lazy_list_implementation.patch
>
>
> Develop a generic LazyList class which implements iterator interface and can be used with the CloudFiles and S3 driver.
> CloudFiles and S3 API limits the maximum number of objects which can be returned in a single response which means that on subsequent request you need to provider extra parameters to get the next set of results (marker, prefix, etc.).
> This class should transparently encapsulate this paging process and list_container_objects() in CloudFiles and S3 method should return an instance of this class.
> The class should also be "lazy" which means that new set of results should only be requested when the current result set is exhausted.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira