Package | Description |
---|---|
org.osgi.service.resourcemonitoring |
Resource Monitoring Package Version 1.0.
|
org.osgi.service.resourcemonitoring.monitor |
Resource Monitoring Monitor Package Version 1.0.
|
Modifier and Type | Method and Description |
---|---|
ResourceMonitor |
ResourceMonitorFactory.createResourceMonitor(ResourceContext resourceContext)
Creates a new ResourceMonitor instance.
|
ResourceMonitor |
ResourceContext.getMonitor(String resourceType)
Returns a ResourceMonitor instance for the specified resource type.
|
ResourceMonitor[] |
ResourceContext.getMonitors()
Retrieves all the existing ResourceMonitor belonging to this context.
|
Modifier and Type | Method and Description |
---|---|
void |
ResourceContext.addResourceMonitor(ResourceMonitor resourceMonitor)
Adds a new ResourceMonitor instance monitoring resource for this resource
context.
|
void |
ResourceContext.removeResourceMonitor(ResourceMonitor resourceMonitor)
Removes a ResourceMonitor instance from the context.
|
Modifier and Type | Interface and Description |
---|---|
interface |
CPUMonitor
A
ResourceMonitor for the
ResourceMonitoringService.RES_TYPE_CPU resource type. |
interface |
DiskStorageMonitor
A
ResourceMonitor for the
ResourceMonitoringService.RES_TYPE_DISK_STORAGE resource type. |
interface |
MemoryMonitor
A
ResourceMonitor for the
ResourceMonitoringService.RES_TYPE_MEMORY resource type. |
interface |
SocketMonitor
A
ResourceMonitor for the
ResourceMonitoringService.RES_TYPE_SOCKET resource type. |
interface |
ThreadMonitor
A
ResourceMonitor for the
ResourceMonitoringService.RES_TYPE_THREADS resource type. |
Copyright © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0