Class AddressApi.AddressPages
java.lang.Object
org.jclouds.googlecloud.internal.BaseCallerArg0ToIteratorOfListPage<Address,ListOptions,AddressApi.AddressPages>
org.jclouds.googlecomputeengine.internal.BaseCallerArg0ToIteratorOfListPage<Address,AddressApi.AddressPages>
org.jclouds.googlecomputeengine.features.AddressApi.AddressPages
- All Implemented Interfaces:
com.google.common.base.Function<ListPage<Address>,
,Iterator<ListPage<Address>>> Function<ListPage<Address>,
,Iterator<ListPage<Address>>> InvocationContext<AddressApi.AddressPages>
- Enclosing interface:
AddressApi
public static final class AddressApi.AddressPages
extends BaseCallerArg0ToIteratorOfListPage<Address,AddressApi.AddressPages>
-
Method Summary
Modifier and TypeMethodDescriptionfetchNextPage
(String regionName, ListOptions options) This is used when you need to close over the argument that created the api.Methods inherited from class org.jclouds.googlecloud.internal.BaseCallerArg0ToIteratorOfListPage
apply, setContext
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.common.base.Function
equals
-
Method Details
-
fetchNextPage
protected com.google.common.base.Function<String,ListPage<Address>> fetchNextPage(String regionName, ListOptions options) Description copied from class:BaseCallerArg0ToIteratorOfListPage
This is used when you need to close over the argument that created the api. For example,callerArg0
will become "myzone", which you can use to ensure the next page goes to the same zone:api.instancesInZone("myzone").list()
- Specified by:
fetchNextPage
in classBaseCallerArg0ToIteratorOfListPage<Address,
ListOptions, AddressApi.AddressPages>
-