@InterfaceAudience.Public @InterfaceStability.Evolving public final class QuotaRetriever extends Object implements Closeable, Iterable<QuotaSettings>
| Modifier and Type | Method and Description | 
|---|---|
void | 
close()  | 
Iterator<QuotaSettings> | 
iterator()  | 
QuotaSettings | 
next()  | 
static QuotaRetriever | 
open(Configuration conf)
Open a QuotaRetriever with no filter, all the quota settings will be returned. 
 | 
static QuotaRetriever | 
open(Configuration conf,
    QuotaFilter filter)
Open a QuotaRetriever with the specified filter. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic void close()
           throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic QuotaSettings next() throws IOException
IOExceptionpublic Iterator<QuotaSettings> iterator()
iterator in interface Iterable<QuotaSettings>public static QuotaRetriever open(Configuration conf) throws IOException
conf - Configuration object to use.IOException - if a remote or network exception occurspublic static QuotaRetriever open(Configuration conf, QuotaFilter filter) throws IOException
conf - Configuration object to use.filter - the QuotaFilterIOException - if a remote or network exception occurs