T - - The class on which ordering is to be donepublic abstract class OrderSelector<T> extends Object
| Modifier | Constructor and Description | 
|---|---|
| protected  | OrderSelector(boolean shouldBackOff) | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract Iterator<T> | createIterator() | 
| protected List<Integer> | getIndexList() | 
| long | getMaxTimeOut() | 
| List<T> | getObjects()Get the list of objects to be ordered. | 
| void | informFailure(T failedObject)Inform this class of the failure of an object so it can be backed off. | 
| boolean | isShouldBackOff() | 
| void | setMaxTimeOut(long timeout) | 
| void | setObjects(List<T> objects)Set the list of objects which this class should return in order. | 
public void setObjects(List<T> objects)
objects - public List<T> getObjects()
public abstract Iterator<T> createIterator()
public void informFailure(T failedObject)
failedObject - protected List<Integer> getIndexList()
public boolean isShouldBackOff()
public void setMaxTimeOut(long timeout)
public long getMaxTimeOut()
Copyright © 2009-2017 Apache Software Foundation. All Rights Reserved.