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.
|
public String name
public long usage
public long limit
public Resource(String name, long usage, long limit)
name
- the resource nameusage
- the current usage of the resourcelimit
- the usage limit for the resourceCopyright © 1996-2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.