|
||||||||||
| 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 representation of a Quota item for a given quota root.
| Nested Class Summary | |
|---|---|
static class |
Quota.Resource
A representation of a given resource definition. |
| Field Summary | |
|---|---|
String |
quotaRoot
The name of the quota root. |
Quota.Resource[] |
resources
The resources associated with this quota root. |
| Constructor Summary | |
|---|---|
Quota(String quotaRoot)
Create a Quota with the given name and not resources. |
|
| Method Summary | |
|---|---|
void |
setResourceLimit(String name,
long limit)
Set a limit value for a resource. |
| 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 root name.| Method Detail |
|---|
public void setResourceLimit(String name,
long limit)
name - The target resource name.limit - The new limit value for the resource.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||