Class DiskApi.DiskPages
java.lang.Object
org.jclouds.googlecloud.internal.BaseCallerArg0ToIteratorOfListPage<Disk,ListOptions,DiskApi.DiskPages>
org.jclouds.googlecomputeengine.internal.BaseCallerArg0ToIteratorOfListPage<Disk,DiskApi.DiskPages>
org.jclouds.googlecomputeengine.features.DiskApi.DiskPages
- All Implemented Interfaces:
com.google.common.base.Function<ListPage<Disk>,
,Iterator<ListPage<Disk>>> Function<ListPage<Disk>,
,Iterator<ListPage<Disk>>> InvocationContext<DiskApi.DiskPages>
- Enclosing interface:
DiskApi
public static final class DiskApi.DiskPages
extends BaseCallerArg0ToIteratorOfListPage<Disk,DiskApi.DiskPages>
-
Method Summary
Modifier and TypeMethodDescriptionfetchNextPage
(String zoneName, 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<Disk>> fetchNextPage(String zoneName, 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<Disk,
ListOptions, DiskApi.DiskPages>
-