Class PaginatedCollection<T>

java.lang.Object
com.google.common.collect.FluentIterable<T>
org.jclouds.collect.IterableWithMarker<T>
org.jclouds.openstack.v2_0.domain.PaginatedCollection<T>
All Implemented Interfaces:
Iterable<T>
Direct Known Subclasses:
FirewallPolicies, FirewallRules, Firewalls, FloatingIPs, HealthMonitors, Members, Networks, Pools, Ports, Routers, Rules, SecurityGroups, Subnets, VIPs

public class PaginatedCollection<T> extends IterableWithMarker<T>
Base class for a paginated collection in OpenStack.
  • Constructor Details

  • Method Details

    • iterator

      public Iterator<T> iterator()
    • getLinks

      public Iterable<Link> getLinks()
      links that relate to this collection
    • getTotalEntries

      public com.google.common.base.Optional<Integer> getTotalEntries()
      Returns:
      The total number of entries in this collection, if that information is present.
    • nextPaginationOptions

      public PaginationOptions nextPaginationOptions()
    • nextMarker

      public com.google.common.base.Optional<Object> nextMarker()
      Description copied from class: IterableWithMarker
      If there is a next marker, then the set is incomplete and you should issue another command to retrieve the rest, setting the option marker to this value
      Specified by:
      nextMarker in class IterableWithMarker<T>
      Returns:
      next marker, or absent if list is complete