java.lang.Object
jakarta.mail.Quota
This class represents a set of quotas for a given quota root.
Each quota root has a set of resources, represented by the
Quota.Resource
class. Each resource has a name
(for example, "STORAGE"), a current usage, and a usage limit.
See RFC 2087.- Since:
- JavaMail 1.4
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
An individual resource in a quota root. -
Field Summary
FieldsModifier and TypeFieldDescriptionThe name of the quota root.The set of resources associated with this quota root. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setResourceLimit
(String name, long limit) Set a resource limit for this quota root.