Package org.osgi.service.resourcemonitoring
@Version("1.0.1")
package org.osgi.service.resourcemonitoring
Resource Monitoring Package Version 1.0.
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)"
-
ClassDescriptionLogical entity for resource accounting.A Resource Context Event instance is an event sent to Resource Context Listener instances through a call to
ResourceContextListener.notify(ResourceContextEvent)
method.Resource Context Exception.AResourceContextListener
is notified whenever: aResourceContext
is created or deleted. a bundle is added or removed from aResourceContext
.An event is sent to aResourceListener
when resource usage violates one of their thresholds.A ResourceListener is an OSGi service which is notified when a Resource Context violates one of the threshold defined by the listener.Representation of the state of a resource for a resource context.Resource Monitor Exception reports an invalid usage of a monitor.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.It manages the Resource Context instances.