| Modifier and Type | Field and Description |
|---|---|
long |
limit
The usage limit for the resource.
|
String |
name
The name of the resource.
|
long |
usage
The current usage of the resource.
|
| Constructor and Description |
|---|
Quota.Resource(String name,
long usage,
long limit)
Construct a Resource object with the given name,
usage, and limit.
|
public String name
public long usage
public long limit
public Quota.Resource(String name, long usage, long limit)
name - the resource nameusage - the current usage of the resourcelimit - the usage limit for the resourceCopyright © 2013. All Rights Reserved.