Modifier and Type | Method and Description |
---|---|
long |
getMax()
Return the maximum value for the
Quota |
long |
getUsed()
Return the currently used for the
Quota |
static Quota |
quota(long max,
long used)
Return a
Quota for the given values |
static Quota |
unlimited()
Return a
Quota which in fact is unlimited |
public long getMax()
Quota
Quota
public long getUsed()
Quota
Quota
public static Quota unlimited()
Quota
which in fact is unlimitedCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.