public interface DiskStorageMonitor extends ResourceMonitor<Long>
ResourceMonitor for the
ResourceMonitoringService.RES_TYPE_DISK_STORAGE resource type. A
DiskStorageMonitor instance monitors and limits the persistent storage of the
bundle belonging to the ResourceContext| Modifier and Type | Method and Description |
|---|---|
long |
getUsedDiskStorage()
Returns the sum of the size of the persistent storage areas of the
bundles in this resource context.
|
delete, disable, enable, equals, getContext, getMonitoredPeriod, getResourceType, getSamplingPeriod, getUsage, hashCode, isDeleted, isEnabledlong getUsedDiskStorage()
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