|
Oracle Fusion Middleware Java API Reference for Oracle Service Bus 11g Release 1 (11.1.1.5.0) E15033-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceDomainMBean
This MBean represents service domain. It provides operations to: 1. Find services enabled for monitoring 2. Get statistics for services enabled for monitoring. 3. Reset statistics for a service or for all services. 4. Mark URIs of a business service online.
Field Summary | |
---|---|
static java.lang.String |
NAME Name of this mbean |
static java.lang.String |
OBJECT_NAME |
static java.lang.String |
TYPE Type of this mbean |
Method Summary | |
---|---|
java.util.HashMap<Ref,ServiceResourceStatistic> |
getBusinessServiceStatistics(Ref[] serviceRefs, int resourceTypes, java.lang.String serverName) Gets runtime statistics collected since last reset (of statistics) for the specified business services. |
java.lang.String |
getClusterName() Attribute getter method. |
java.lang.String |
getDomainName() Attribute getter method. |
Ref[] |
getMonitoredBusinessServiceRefs() This operation will get all business services that are enabled for monitoring. |
Ref[] |
getMonitoredProxyServiceRefs() This operation will get all proxy services that are enabled for monitoring. |
java.util.HashMap<Ref,ServiceResourceStatistic> |
getProxyServiceStatistics(Ref[] serviceRefs, int resourceTypes, java.lang.String serverName) Gets runtime statistics collected since last reset (of statistics) for the specified proxy services. |
java.lang.String[] |
getServerNames() Gets name of all managed servers available in the cluster. |
long |
getVersion() Gets version of this class. |
java.util.Set<java.lang.String> |
markURIsOnline(java.util.Map<Ref,java.util.List<java.lang.String>> serviceRefVsURIs) Forces the specified URIs for the business services to be marked as online on all the managed servers. |
long |
resetAllStatistics() Resets statistics for all services. |
long |
resetStatistics(Ref[] serviceRefs) Resets statistics for specified services. |
Field Detail |
---|
static final java.lang.String NAME
static final java.lang.String TYPE
static final java.lang.String OBJECT_NAME
Method Detail |
---|
java.lang.String getClusterName() throws MonitoringException
MonitoringException
java.lang.String getDomainName() throws MonitoringException
MonitoringException
java.lang.String[] getServerNames() throws MonitoringException
MonitoringException
Ref[] getMonitoredBusinessServiceRefs() throws MonitoringException
MonitoringException
Ref[] getMonitoredProxyServiceRefs() throws MonitoringException
MonitoringException
java.util.HashMap<Ref,ServiceResourceStatistic> getBusinessServiceStatistics(Ref[] serviceRefs, int resourceTypes, java.lang.String serverName) throws DomainMonitoringDisabledException, MonitoringException, java.lang.IllegalArgumentException
serviceRefs
- Business service references.resourceTypes
- Bit map representing one or more resource types. Statistics will be returned for resource types specified in this map for all specified services. This map must be created using constants from class ResourceType only.serverName
- - Managed server name. If specified, statistics for this server will be returned. Otherwise (if null or empty string) cluster level statistics will be returned.DomainMonitoringDisabledException
- If domain level monitoring is turned off.java.lang.IllegalArgumentException
- 1. If specified bitmap representing combination is invalid. 2. If it has bit set for ResourceType.FLOW_COMPONENT. 3. If specified services has one or more proxy services. 4. If specified service ref array is null or empty. 5. If server name is invalid.MonitoringException
java.util.HashMap<Ref,ServiceResourceStatistic> getProxyServiceStatistics(Ref[] serviceRefs, int resourceTypes, java.lang.String serverName) throws DomainMonitoringDisabledException, MonitoringException, java.lang.IllegalArgumentException
serviceRefs
- Proxy service references.resourceTypes
- Bit map representing one or more resource types. Statistics will be returned for resource types specified in this map for all specified services. This map must be created using constants from class ResourceType only.serverName
- - Managed server name. If specified, statistics for this server will be returned. Otherwise (if null or empty string) cluster level statistics will be returned.DomainMonitoringDisabledException
- If domain level monitoring is turned off.java.lang.IllegalArgumentException
- 1. If specified bitmap representing combination is invalid. 2. If specified services has one or more business services. 3. If specified service ref array is null or empty. 4. If server name is invalid.MonitoringException
long resetStatistics(Ref[] serviceRefs) throws MonitoringException, java.lang.IllegalArgumentException
serviceRefs
- Services of which statistics are to be reset.java.lang.IllegalArgumentException
- 1. If specified service ref array is null or empty. 2. If invalid service found in the specified services. 3. If all specified services are not enabled for monitoring.MonitoringException
- If reset operation fails.long resetAllStatistics() throws MonitoringException
MonitoringException
- If reset operation fails.long getVersion()
java.util.Set<java.lang.String> markURIsOnline(java.util.Map<Ref,java.util.List<java.lang.String>> serviceRefVsURIs) throws NotFoundException, java.lang.Exception
serviceRefVsURIs
- Map of business services vs the list of URIs to be marked as online.NotFoundException
- If a service is not found in the specified servicesjava.lang.Exception
|
Oracle Fusion Middleware Java API Reference for Oracle Service Bus 11g Release 1 (11.1.1.5.0) E15033-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |