Package | Description |
---|---|
org.osgi.service.resourcemonitoring |
Resource Monitoring Package Version 1.0.
|
Modifier and Type | Method and Description |
---|---|
ResourceContext |
ResourceMonitoringService.createContext(String name,
ResourceContext template)
Creates a new
ResourceContext . |
ResourceContext |
ResourceEvent.getContext()
Returns the resource context that caused the event.
|
ResourceContext |
ResourceMonitor.getContext()
Returns the resource context that this monitor belongs to
|
ResourceContext |
ResourceContextEvent.getContext()
Retrieves the Resource Context associated to this event
|
ResourceContext |
ResourceMonitoringService.getContext(long bundleId)
Returns the
ResourceContext associated to the provided bundle id. |
ResourceContext |
ResourceMonitoringService.getContext(String name)
Returns the context with the specified resource context name.
|
ResourceContext[] |
ResourceMonitoringService.listContext()
Lists all available
resource contexts . |
Modifier and Type | Method and Description |
---|---|
ResourceContext |
ResourceMonitoringService.createContext(String name,
ResourceContext template)
Creates a new
ResourceContext . |
ResourceMonitor<T> |
ResourceMonitorFactory.createResourceMonitor(ResourceContext resourceContext)
Creates a new ResourceMonitor instance.
|
void |
ResourceContext.removeBundle(long bundleId,
ResourceContext destination)
Removes the bundle from this resource context.
|
void |
ResourceContext.removeContext(ResourceContext destination)
Removes a resource context.
|
Constructor and Description |
---|
ResourceContextEvent(int pType,
ResourceContext pResourceContext)
Create a new ResourceContextEvent.
|
ResourceContextEvent(int pType,
ResourceContext pResourceContext,
long pBundleId)
Create a new ResourceContextEvent.
|
ResourceEvent(int pType,
ResourceContext pContext,
boolean pIsUpperThreshold,
Comparable<T> pValue)
Creates a new ResourceEvent.
|
Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0