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 © 2021 Oracle. All rights reserved.