Package jakarta.mail
Class Quota.Resource
java.lang.Object
jakarta.mail.Quota.Resource
- Enclosing class:
Quota
An individual resource in a quota root.
- Since:
- JavaMail 1.4
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
name
The name of the resource. -
usage
public long usageThe current usage of the resource. -
limit
public long limitThe usage limit for the resource.
-
-
Constructor Details
-
Resource
Construct a Resource object with the given name, usage, and limit.- Parameters:
name
- the resource nameusage
- the current usage of the resourcelimit
- the usage limit for the resource
-