Bundles wishing to use this package must list the package in the Import-Package header of the bundle's manifest. This package has two types of users: the consumers that use the API in this package and the providers that implement the API in this package.
Example import for consumers using the API in this package:
Import-Package: org.osgi.service.resourcemonitoring; version="[1.0,2.0)"
Example import for providers implementing the API in this package:
Import-Package: org.osgi.service.resourcemonitoring; version="[1.0,1.1)"
| Modifier and Type | Interface and Description |
|---|---|
| public interface | ResourceContext
Logical entity for resource accounting. |
| public interface | ResourceContextListener
A
|
| public interface | ResourceListener<
The type for the Resource. T>A ResourceListener is an OSGi service which is notified when a Resource Context violates one of the threshold defined by the listener. |
| public interface | ResourceMonitor<
The type for the Resource. T>Representation of the state of a resource for a resource context. |
| public interface | ResourceMonitorFactory<
The type for the Resource. T>A Resource Monitor Factory is a service that provides Resource Monitor instances of a specific resource type (for example, CPUMonitor, MemoryMonitor...) for every Resource Context. |
| public interface | ResourceMonitoringService
It manages the Resource Context instances. |
| Modifier and Type | Class and Description |
|---|---|
| public class | ResourceContextEvent
A Resource Context Event instance is an event sent to Resource Context
Listener instances through a call to
|
| public class | ResourceContextException
Resource Context Exception. |
| public class | ResourceEvent<
The type for the Resource. T>
An event is sent to a |
| public class | ResourceMonitorException
Resource Monitor Exception reports an invalid usage of a monitor. |