|
Openwings API Documentation (v1.0) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
This interface describes a plug-in that reports performance statistics for a platform. This data is useful for load balancing algorithms.
| Field Summary | |
static java.lang.String |
DISK
The name of PerformanceReports for disk usage |
static java.lang.String |
MEMORY
The name of PerformanceReports for memory usage. |
static java.lang.String |
NETWORK
The name of PerformanceReports for network interfaces |
static java.lang.String |
PROCESSOR
The name of PerformanceReports for CPU usage |
| Method Summary | |
PerformanceReport[] |
getPerformanceReports()
This method returns the current set of performance reports for this platform. |
java.lang.String[] |
getReportTypes()
This method returns the names of PerformanceReports
generated by this object. |
void |
setPerformanceThresholds(PerformanceThreshold[] performanceThresholds)
Sets the thresholds to calculate GREEN/YELLOW/RED
performance flags for various types of performance reports. |
void |
shutdown()
Tells the performance monitor to shut down and release any resources |
| Field Detail |
public static final java.lang.String NETWORK
PerformanceReports for network interfaces
public static final java.lang.String DISK
PerformanceReports for disk usage
public static final java.lang.String PROCESSOR
PerformanceReports for CPU usage
public static final java.lang.String MEMORY
PerformanceReports for memory usage.
This refers to virtual memory, not physical memory
| Method Detail |
public java.lang.String[] getReportTypes()
PerformanceReports
generated by this object.
PerformanceReport namespublic PerformanceReport[] getPerformanceReports()
public void setPerformanceThresholds(PerformanceThreshold[] performanceThresholds)
GREEN/YELLOW/RED
performance flags for various types of performance reports.
PerfomanceThresholdpublic void shutdown()
|
Openwings API Documentation (v1.0) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||