|
|||||||||
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.
Field Summary | |
---|---|
static String |
NAME
Name of this mbean |
static String |
OBJECT_NAME
|
static String |
TYPE
Type of this mbean |
Method Summary | |
---|---|
HashMap<Ref,ServiceResourceStatistic> |
getBusinessServiceStatistics(Ref[] serviceRefs,
int resourceTypes,
String serverName)
Gets runtime statistics collected since last reset (of statistics) for the specified business services. |
String |
getClusterName()
Attribute getter method. |
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. |
HashMap<Ref,ServiceResourceStatistic> |
getProxyServiceStatistics(Ref[] serviceRefs,
int resourceTypes,
String serverName)
Gets runtime statistics collected since last reset (of statistics) for the specified proxy services. |
String[] |
getServerNames()
Gets name of all managed servers available in the cluster. |
long |
getVersion()
Gets version of this class. |
long |
resetAllStatistics()
Resets statistics for all services. |
long |
resetStatistics(Ref[] serviceRefs)
Resets statistics for specified services. |
Methods inherited from interface weblogic.management.mbeanservers.Service |
---|
getName, getParentAttribute, getParentService, getPath, getType |
Field Detail |
---|
static final String NAME
static final String TYPE
static final String OBJECT_NAME
Method Detail |
---|
String getClusterName() throws MonitoringException
MonitoringException
String getDomainName() throws MonitoringException
MonitoringException
String[] getServerNames() throws MonitoringException
MonitoringException
Ref[] getMonitoredBusinessServiceRefs() throws MonitoringException
MonitoringException
Ref[] getMonitoredProxyServiceRefs() throws MonitoringException
MonitoringException
HashMap<Ref,ServiceResourceStatistic> getBusinessServiceStatistics(Ref[] serviceRefs, int resourceTypes, String serverName) throws DomainMonitoringDisabledException, MonitoringException, 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.
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
HashMap<Ref,ServiceResourceStatistic> getProxyServiceStatistics(Ref[] serviceRefs, int resourceTypes, String serverName) throws DomainMonitoringDisabledException, MonitoringException, 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.
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, IllegalArgumentException
serviceRefs
- Services of which statistics are to be reset.
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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |