public static final class TargetInstanceApi.TargetInstancePages extends BaseCallerArg0ToIteratorOfListPage<TargetInstance,TargetInstanceApi.TargetInstancePages>
| Modifier and Type | Method and Description |
|---|---|
protected com.google.common.base.Function<String,ListPage<TargetInstance>> |
fetchNextPage(String zoneName,
ListOptions options)
This is used when you need to close over the argument that created the api.
|
apply, setContextprotected com.google.common.base.Function<String,ListPage<TargetInstance>> fetchNextPage(String zoneName, ListOptions options)
BaseCallerArg0ToIteratorOfListPagecallerArg0 will become "myzone", which you can use to ensure the next page goes to the
same zone: api.instancesInZone("myzone").list()fetchNextPage in class BaseCallerArg0ToIteratorOfListPage<TargetInstance,ListOptions,TargetInstanceApi.TargetInstancePages>Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.