|
|||||||||
| 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,
Map<ResourceType,ResourceStatistic[]> resourceStatisticMap,
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. |
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,
Map<ResourceType,ResourceStatistic[]> resourceStatisticMap,
String[] missingServers,
long collectionTimestamp)
throws IllegalArgumentException
serviceRef - resourceStatisticMap - missingServers - collectionTimestamp -
IllegalArgumentException
public ServiceResourceStatistic(Ref serviceRef,
Exception exception)
throws IllegalArgumentException
serviceRef - exception -
IllegalArgumentException| Method Detail |
|---|
public Ref getServiceRef()
public long getCollectionTimestamp()
throws IllegalStateException
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 String[] getMissingServers()
throws IllegalStateException
IllegalStateException - If not collection timestamp is not set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||