See: Description
Interface | Description |
---|---|
ResourceContext |
Logical entity for resource accounting.
|
ResourceContextListener |
A
ResourceContextListener is notified whenever:
a ResourceContext is created or deleted.
a bundle is added or removed from a ResourceContext .
|
ResourceListener<T> |
A ResourceListener is an OSGi service which is notified when a Resource
Context violates one of the threshold defined by the listener.
|
ResourceMonitor<T> |
Representation of the state of a resource for a resource context.
|
ResourceMonitorFactory<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.
|
ResourceMonitoringService |
It manages the Resource Context instances.
|
Class | Description |
---|---|
ResourceContextEvent |
A Resource Context Event instance is an event sent to Resource Context
Listener instances through a call to
ResourceContextListener.notify(ResourceContextEvent) method. |
ResourceEvent<T> |
An event is sent to a
ResourceListener when resource usage violates
one of their thresholds. |
Exception | Description |
---|---|
ResourceContextException |
Resource Context Exception.
|
ResourceMonitorException |
Resource Monitor Exception reports an invalid usage of a monitor.
|
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)"
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0