T - resource typeR - low level outcome/result typepublic abstract class PageBasedCollection<T,R> extends Object implements Iterable<T>
| Constructor and Description | 
|---|
PageBasedCollection()  | 
| Modifier and Type | Method and Description | 
|---|---|
abstract Page<T,R> | 
firstPage()  | 
R | 
getLastLowLevelResult()
Returns the low-level result last retrieved (for the current page) from
 the server side; or null if there has yet no calls to the server. 
 | 
abstract Integer | 
getMaxResultSize()
Returns the maximum number of resources to be retrieved in this
 collection; or null if there is no limit. 
 | 
IteratorSupport<T,R> | 
iterator()  | 
PageIterable<T,R> | 
pages()  | 
LowLevelResultListener<R> | 
registerLowLevelResultListener(LowLevelResultListener<R> listener)
Used to register a listener for the event of receiving a low-level result
 from the server side. 
 | 
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic PageIterable<T,R> pages()
public abstract Integer getMaxResultSize()
public R getLastLowLevelResult()
public LowLevelResultListener<R> registerLowLevelResultListener(LowLevelResultListener<R> listener)
listener - listener to be registered. If null, a "none" listener will be
            set.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.