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