| Modifier and Type | Method and Description |
|---|---|
void |
UserMonitorData.addHostMonitorData(HostMonitorData hostMonitorData) |
void |
HostMonitorData.addMonitorIDForHost(MonitorID monitorID)
this method get called by CommonUtils and it will check the right place before adding
so there will not be a mismatch between this.host and monitorID.host
|
| Modifier and Type | Method and Description |
|---|---|
JobState |
MessageParser.parseMessage(String message)
This method is to implement how to parse the incoming message
and implement a logic to finalize the status of the job,
we have to makesure the correct message is given to the messageparser
parse method, it will not do any filtering
|
abstract boolean |
PushMonitor.registerListener(MonitorID monitorID)
This method can be invoked to register a listener with the
remote monitoring system, ideally inside this method users will be
writing some client listener code for the remote monitoring system,
this will be a simple wrapper around any client for the remote Monitor.
|
abstract boolean |
PullMonitor.startPulling()
This method will can invoke when PullMonitor needs to start
and it has to invoke in the frequency specified below,
|
abstract boolean |
PullMonitor.stopPulling()
This is the method to stop the polling process
|
abstract boolean |
PushMonitor.stopRegister()
This can be used to stop the registration thread
|
abstract boolean |
PushMonitor.unRegisterListener(MonitorID monitorID)
This method can be invoked to unregister a listener with the
remote monitoring system, ideally inside this method users will be
writing some client listener code for the remote monitoring system,
this will be a simple wrapper around any client for the remote Monitor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
HPCPullMonitor.startPulling()
This method will can invoke when PullMonitor needs to start
and it has to invoke in the frequency specified below,
|
| Modifier and Type | Method and Description |
|---|---|
JobState |
JSONMessageParser.parseMessage(String message) |
boolean |
AMQPMonitor.registerListener(MonitorID monitorID) |
boolean |
AMQPMonitor.stopRegister() |
boolean |
AMQPMonitor.unRegisterListener(MonitorID monitorID) |
| Modifier and Type | Method and Description |
|---|---|
static void |
CommonUtils.addMonitortoQueue(BlockingQueue<UserMonitorData> queue,
MonitorID monitorID) |
static void |
CommonUtils.removeMonitorFromQueue(BlockingQueue<UserMonitorData> queue,
MonitorID monitorID) |
Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.