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
Base class for a paginated collection in OpenStack.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLinks()
links that relate to this collectioncom.google.common.base.Optional
<Integer> iterator()
com.google.common.base.Optional
<Object> If there is a next marker, then the set is incomplete and you should issue another command to retrieve the rest, setting the optionmarker
to this valueMethods inherited from class com.google.common.collect.FluentIterable
allMatch, anyMatch, append, append, concat, concat, concat, concat, concat, contains, copyInto, cycle, filter, filter, first, firstMatch, from, from, from, get, index, isEmpty, join, last, limit, of, of, size, skip, stream, toArray, toList, toMap, toMultiset, toSet, toSortedList, toSortedSet, toString, transform, transformAndConcat, uniqueIndex
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
PaginatedCollection
-
PaginatedCollection
-
-
Method Details
-
iterator
-
getLinks
links that relate to this collection -
getTotalEntries
- Returns:
- The total number of entries in this collection, if that information is present.
-
nextPaginationOptions
-
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 optionmarker
to this value- Specified by:
nextMarker
in classIterableWithMarker<T>
- Returns:
- next marker, or absent if list is complete
-