|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IServerGeneralMetrics
The IServerGeneralMetrics interface provides the metrics for the server's host machine.
With this object, you can monitor information on the host's CPU, disk space, memory, and operating
system.
| Method Summary | |
|---|---|
java.lang.String |
getCPU()
Returns the name of the host hardware processor. |
int |
getCPUCount()
Returns the number of processors in the server host. |
java.util.Date |
getCurrentTime()
Returns the local time on the server host. |
double |
getDiskSpaceAvailable()
Returns the available disk space on the host. |
double |
getDiskSpaceTotal()
Returns the total disk space available on the host. |
long |
getMemory()
Returns the maximum memory available in KB. |
java.lang.String |
getOperatingSystem()
Returns the server's operating system name. |
java.util.Date |
getStartTime()
Returns the time that the server was started. |
java.lang.String |
getVersion()
Returns the version number of the server executable/binary. |
| Method Detail |
|---|
java.lang.String getVersion()
throws SDKException
Returns the version number of the server executable/binary.
String specifying the version number of the server executable/binary.
SDKException - This is thrown if the process is unsuccessful.
java.lang.String getOperatingSystem()
throws SDKException
Returns the server's operating system name.
String specifying the server's operating system name.
SDKException - This is thrown if the process is unsuccessful.
java.lang.String getCPU()
throws SDKException
Returns the name of the host hardware processor.
String specifying the name of the host hardware processor.
SDKException - This is thrown if the process is unsuccessful.
int getCPUCount()
throws SDKException
Returns the number of processors in the server host.
int specifying the number of processors in the server host.
SDKException - This is thrown if the process is unsuccessful.
long getMemory()
throws SDKException
Returns the maximum memory available in KB.
long specifying the maximum memory available in KB.
SDKException - This is thrown if the process is unsuccessful.
double getDiskSpaceTotal()
throws SDKException
Returns the total disk space available on the host.
double specifying the total disk space available on the host.
SDKException - This is thrown if the process is unsuccessful.
double getDiskSpaceAvailable()
throws SDKException
Returns the available disk space on the host.
double specifying the available disk space on the host.
SDKException - This is thrown if the process is unsuccessful.
java.util.Date getStartTime()
throws SDKException
Returns the time that the server was started.
Date object specifying the time that the server was started.
SDKException - This is thrown if the process is unsuccessful.
java.util.Date getCurrentTime()
throws SDKException
Returns the local time on the server host.
Date object specifying the local time on the server host.
SDKException - This is thrown if the process is unsuccessful.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||