public final class ResourceCounter extends Object
| Constructor and Description |
|---|
ResourceCounter() |
| 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.
|
ResourceCounter |
setUsage(long usage)
Set the usage property: The resource usage amount.
|
public long getUsage()
public ResourceCounter setUsage(long usage)
usage - the usage value to set.public Long getQuota()
public ResourceCounter setQuota(Long quota)
quota - the quota value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.