java.lang.Object
jakarta.mail.Quota.Resource
-
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
-