Package jakarta.mail
Class Quota.Resource
- java.lang.Object
-
- jakarta.mail.Quota.Resource
-
-
Field Detail
-
name
public String name
The name of the resource.
-
usage
public long usage
The current usage of the resource.
-
limit
public long limit
The usage limit for the resource.
-
-
Constructor Detail
-
Resource
public Resource(String name, long usage, long limit)
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
-
-