|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerOSGiMBean
An OSGi MBean to query and manage OSGi service rankings for an entire server instance. This MBean is only registered if the server is running in an OSGi environment, and if the eXtreme Scale server bundle is active.
Method Summary | |
---|---|
boolean |
checkServiceAvailability(String service,
Integer ranking)
Checks if the specified OSGi service and ranking is available or not. |
TabularData |
getAllCurrentlyUsedRankings()
Get currently used rankings for all the OSGi services. |
TabularData |
getAllRankings()
Get all available rankings for all the OSGi services |
TabularData |
retrieveAllCurrentlyUsedRankings(String serviceName)
Gets all currently used rankings for the specified OSGi service. |
TabularData |
retrieveAllRankings(String serviceName)
Gets all available rankings for the specified OSGi service. |
TabularData |
retrieveServiceAvailability(Map<String,Integer> services)
Checks if the specified OSGi service rankings are available or not. |
Method Detail |
---|
TabularData retrieveAllRankings(String serviceName)
Each CompositeData (row in the TabularData) contains the following items:
Item Name | Type | Description |
Ranking | Integer | An available ranking for the specified OSGi service. |
Note: If connected to a server that is not running in an OSGi framework, this method will return an empty TabularData object.
serviceName
- the OSGi service name
TabularData getAllRankings()
This JMX tabular data has a nested inner TabularData.
Each outer CompositeData (row in the outer TabularData) contains the following items:
Item Name | Type | Description |
Service | String | The name of the OSGi service. |
Rankings | TabularData | An inner TabularData containing all available rankings for an OSGi service. |
Each inner CompositeData (row in the inner TabularData) contains the following items:
Item Name | Type | Description |
Ranking | Integer | An available ranking for the OSGi service in the outer row. |
Note: If connected to a server that is not running in an OSGi framework, this method will return an empty TabularData object.
TabularData retrieveAllCurrentlyUsedRankings(String serviceName)
Each CompositeData (row in the TabularData) contains the following items:
Item Name | Type | Description |
ObjectGrid Name | String | The name of the ObjectGrid instance. |
MapSet Name | String | The name of the MapSet instance. |
Ranking | Integer | The currently used OSGi service ranking for that ObjectGrid instance. |
Note: If connected to a server that is not running in an OSGi framework, this method will return an empty TabularData object.
serviceName
- the OSGi service name
TabularData getAllCurrentlyUsedRankings()
This JMX tabular data has a nested inner TabularData.
Each outer CompositeData (row in the outer TabularData) contains the following items:
Item Name | Type | Description |
ObjectGrid Name | String | The name of the ObjectGrid instance. |
MapSet Name | String | The name of the MapSet instance. |
Service Rankings | TabularData | An inner TabularData containing all currently-used rankings for an OSGi service. |
Each inner CompositeData (row in the inner TabularData) contains the following items:
Item Name | Type | Description |
Service | String | The OSGi service name. |
Ranking | Integer | The currently used OSGi service ranking for the ObjectGrid instance in the outer row. |
Note: If connected to a server that is not running in an OSGi framework, this method will return an empty TabularData object.
TabularData retrieveServiceAvailability(Map<String,Integer> services)
This method takes a MapcheckServiceAvailability(String, Integer)
method instead.
Each CompositeData (row in the TabularData) contains the following items:
Item Name | Type | Description |
Service | String | The OSGi service name. |
Unavailable Ranking | Integer | The service ranking that the users wants to check and is not available. |
Note: If connected to a server that is not running in an OSGi framework, this method will return an empty TabularData object.
services
- a map of service rankings. The key of the map is the
service name, and the value is a collection of available rankings for that
service.
boolean checkServiceAvailability(String service, Integer ranking)
service
- the OSGi service nameranking
- the OSGi service ranking
|
IBM WebSphereTM eXtreme Scale, Release 8.6 API Specification |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |