public interface ResourceMeter
SimpleMeter
,
NotifyingMeter
,
BoundedMeter
,
ThrottledMeter
Modifier and Type | Method and Description |
---|---|
long |
getAllocated()
Returns the cumulative total of allocations from the ResourceMeter.
|
ResourceType |
getType()
Returns the
ResourceType . |
long |
getValue()
Returns the current net value of the ResourceMeter.
|
long getValue()
long getAllocated()
ResourceType getType()
ResourceType
.
Copyright © 2014, 2016, Oracle and/or its affiliates. All rights reserved.