org.jclouds.collect.internal
Class Arg0ToPagedIterable<T,I extends Arg0ToPagedIterable<T,I>>

java.lang.Object
  extended by org.jclouds.collect.internal.ArgsToPagedIterable<T,I>
      extended by org.jclouds.collect.internal.Arg0ToPagedIterable<T,I>
All Implemented Interfaces:
com.google.common.base.Function<IterableWithMarker<T>,PagedIterable<T>>, InvocationContext<I>
Direct Known Subclasses:
Arg0ToPagedIterable.FromCaller

@Beta
public abstract class Arg0ToPagedIterable<T,I extends Arg0ToPagedIterable<T,I>>
extends ArgsToPagedIterable<T,I>

Used to propagate arg0 during an advance in a PagedIterable. For example, in the call api.getUserApi().listPathPrefix("/users"), the arg0 is the value "/users".


Nested Class Summary
static class Arg0ToPagedIterable.FromCaller<T,I extends Arg0ToPagedIterable.FromCaller<T,I>>
          Used to propagate caller arg0 to a callee during an advance in a PagedIterable.
 
Field Summary
 
Fields inherited from class org.jclouds.collect.internal.ArgsToPagedIterable
request
 
Constructor Summary
Arg0ToPagedIterable()
           
 
Method Summary
protected abstract  com.google.common.base.Function<Object,IterableWithMarker<T>> markerToNextForArg0(com.google.common.base.Optional<Object> arg0)
           
protected  com.google.common.base.Function<Object,IterableWithMarker<T>> markerToNextForArgs(List<Object> args)
           
 
Methods inherited from class org.jclouds.collect.internal.ArgsToPagedIterable
apply, getArgs, 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
 

Constructor Detail

Arg0ToPagedIterable

public Arg0ToPagedIterable()
Method Detail

markerToNextForArgs

protected com.google.common.base.Function<Object,IterableWithMarker<T>> markerToNextForArgs(List<Object> args)
Specified by:
markerToNextForArgs in class ArgsToPagedIterable<T,I extends Arg0ToPagedIterable<T,I>>

markerToNextForArg0

protected abstract com.google.common.base.Function<Object,IterableWithMarker<T>> markerToNextForArg0(com.google.common.base.Optional<Object> arg0)
Parameters:
arg0 - present when there was an arg0


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.