|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.mail.Quota
public class Quota
A set of quotas for a given quota root.
2087
Nested Class Summary | |
---|---|
static class |
Quota.Resource
An individual quota resource. |
Field Summary | |
---|---|
String |
quotaRoot
The quota root. |
Quota.Resource[] |
resources
The resources associated with this quota. |
Constructor Summary | |
---|---|
Quota(String quotaRoot)
Constructor. |
Method Summary | |
---|---|
void |
setResourceLimit(String name,
long limit)
Sets a resource limit. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public String quotaRoot
public Quota.Resource[] resources
Constructor Detail |
---|
public Quota(String quotaRoot)
quotaRoot
- the quota rootMethod Detail |
---|
public void setResourceLimit(String name, long limit)
name
- the resource namelimit
- the usage limit
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |