public interface MemoryMonitor extends ResourceMonitor<Long>
ResourceMonitor
for the
ResourceMonitoringService.RES_TYPE_MEMORY
resource type. A
MemoryMonitor instance monitors and limits the memory used by a
ResourceContext
instance.Modifier and Type | Method and Description |
---|---|
long |
getMemoryUsage()
Returns the size of the java heap used by the bundles in this resource
context.
|
delete, disable, enable, equals, getContext, getMonitoredPeriod, getResourceType, getSamplingPeriod, getUsage, hashCode, isDeleted, isEnabled
long getMemoryUsage()
The ResourceMonitor.getUsage()
method returns the same value, wrapped in a long.
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0