|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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,
Exception exception)
Constructor |
|
ServiceResourceStatistic(Ref serviceRef,
HashMap<ResourceType,ResourceStatistic[]> resourceStatisticMap,
long collectionTimestamp)
Constructor |
Method Summary | |
---|---|
ResourceStatistic[] |
getAllResourceStatistics()
Gets statistics for all resources. |
long |
getCollectionTimestamp()
Gets the time the statistics were collected from the cluster. |
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, HashMap<ResourceType,ResourceStatistic[]> resourceStatisticMap, long collectionTimestamp) throws IllegalArgumentException
serviceRef
- resourceStatisticMap
- collectionTimestamp
-
IllegalArgumentException
public ServiceResourceStatistic(Ref serviceRef, Exception exception) throws IllegalArgumentException
serviceRef
- exception
-
IllegalArgumentException
Method Detail |
---|
public Ref getServiceRef()
public long getCollectionTimestamp()
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |