public final class ResourceCounter extends Object
Constructor and Description |
---|
ResourceCounter(long usage)
Creates an instance of ResourceCounter class.
|
Modifier and Type | Method and Description |
---|---|
Long |
getQuota()
Get the quota property: The resource amount quota.
|
long |
getUsage()
Get the usage property: The resource usage amount.
|
ResourceCounter |
setQuota(Long quota)
Set the quota property: The resource amount quota.
|
public ResourceCounter(long usage)
usage
- the usage value to set.public long getUsage()
public Long getQuota()
public ResourceCounter setQuota(Long quota)
quota
- the quota value to set.Copyright © 2021 Microsoft Corporation. All rights reserved.