|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.slamd.server.RealTimeStatHandler
This class implements a mechanism for handling statistical data reported to the SLAMD server in real time. It aggregates the data reported by all the clients and can make it available for display to end users on request.
| Constructor Summary | |
RealTimeStatHandler(SLAMDServer slamdServer)
Creates a new instance of this real-time stat handler. |
|
| Method Summary | |
SLAMDServer |
getSLAMDServer()
Retrieves the reference to the SLAMD server with which this stat handler is associated. |
void |
handleRegisterStatMessage(RegisterStatisticMessage message)
Handles the work of registering a client with the SLAMD server for the purpose of real-time statistics reporting. |
void |
handleReportStatMessage(ReportStatisticMessage message)
Handles the work of processing the statistical data contained in the provided message and making it available to the server. |
void |
removeJobStatsUnlocked(java.lang.String jobID)
Removes the real-time stat data for the specified job from this stat handler. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public RealTimeStatHandler(SLAMDServer slamdServer)
slamdServer - The SLAMD server with which this stat handler is
associated.| Method Detail |
public SLAMDServer getSLAMDServer()
public void handleRegisterStatMessage(RegisterStatisticMessage message)
message - The message containing the information about the client
being registered.public void handleReportStatMessage(ReportStatisticMessage message)
message - The message containing the statistical data to be
reported.public void removeJobStatsUnlocked(java.lang.String jobID)
jobID - The job ID of the job for which to remove the data from this
stat handler.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||