public static final class ForwardingRuleApi.ForwardingRulePages extends BaseCallerArg0ToIteratorOfListPage<ForwardingRule,ForwardingRuleApi.ForwardingRulePages>
Modifier and Type | Method and Description |
---|---|
protected com.google.common.base.Function<String,ListPage<ForwardingRule>> |
fetchNextPage(String regionName,
ListOptions options)
This is used when you need to close over the argument that created the api.
|
apply, setContext
protected com.google.common.base.Function<String,ListPage<ForwardingRule>> fetchNextPage(String regionName, ListOptions options)
BaseCallerArg0ToIteratorOfListPage
callerArg0
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<ForwardingRule,ListOptions,ForwardingRuleApi.ForwardingRulePages>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.