|
Oracle Fusion Middleware Java API Reference for Oracle Service Bus 11g Release 1 (11.1.1.3) E15033-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
com.bea.wli.monitoring.ServiceResourceStatistic
public final class ServiceResourceStatistic
This class contains statistical information for all resources of business or proxy service.
Constructor Summary | |
---|---|
ServiceResourceStatistic(Ref serviceRef, java.lang.Exception exception) Constructor |
|
ServiceResourceStatistic(Ref serviceRef, java.util.Map<ResourceType,ResourceStatistic[]> resourceStatisticMap, java.lang.String[] missingServers, long collectionTimestamp) Constructor |
Method Summary | |
---|---|
ResourceStatistic[] |
getAllResourceStatistics() Gets statistics for all resources. |
long |
getCollectionTimestamp() Gets the time the statistics were collected from the cluster. |
java.lang.String[] |
getMissingServers() Returns array of missing servers. |
ResourceStatistic[] |
getResourceStatisticsByType(ResourceType type) Gets statistics for all resources of specified type. |
Ref |
getServiceRef() Gets reference of service of which statistical information is available in this object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceResourceStatistic(Ref serviceRef, java.util.Map<ResourceType,ResourceStatistic[]> resourceStatisticMap, java.lang.String[] missingServers, long collectionTimestamp) throws java.lang.IllegalArgumentException
serviceRef
-resourceStatisticMap
-missingServers
-collectionTimestamp
-java.lang.IllegalArgumentException
public ServiceResourceStatistic(Ref serviceRef, java.lang.Exception exception) throws java.lang.IllegalArgumentException
serviceRef
-exception
-java.lang.IllegalArgumentException
Method Detail |
---|
public Ref getServiceRef()
public long getCollectionTimestamp() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- If not collection timestamp is not set.public ResourceStatistic[] getAllResourceStatistics() throws InvalidServiceRefException, MonitoringNotEnabledException, MonitoringException
InvalidServiceRefException
- If service reference is invalid or service is deleted.MonitoringNotEnabledException
- If statistics not found.MonitoringException
- If operation fails.public ResourceStatistic[] getResourceStatisticsByType(ResourceType type) throws InvalidServiceRefException, MonitoringNotEnabledException, MonitoringException
type
- Resource type.InvalidServiceRefException
- If service reference is invalid or service is deleted.MonitoringNotEnabledException
- If statistics not found.MonitoringException
- If operation fails.public java.lang.String[] getMissingServers() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- If not collection timestamp is not set.
|
Oracle Fusion Middleware Java API Reference for Oracle Service Bus 11g Release 1 (11.1.1.3) E15033-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |