public class HPCPullMonitor extends PullMonitor
| Constructor and Description |
|---|
HPCPullMonitor() |
HPCPullMonitor(BlockingQueue<UserMonitorData> queue,
MonitorPublisher publisher) |
HPCPullMonitor(MonitorPublisher monitorPublisher) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate() |
Map<String,ResourceConnection> |
getConnections() |
MonitorPublisher |
getPublisher() |
BlockingQueue<UserMonitorData> |
getQueue() |
boolean |
isStartPulling() |
void |
run() |
void |
setConnections(Map<String,ResourceConnection> connections) |
void |
setPublisher(MonitorPublisher publisher) |
void |
setQueue(BlockingQueue<UserMonitorData> queue) |
void |
setStartPulling(boolean startPulling) |
boolean |
startPulling()
This method will can invoke when PullMonitor needs to start
and it has to invoke in the frequency specified below,
|
boolean |
stopPulling()
This is the method to stop the polling process
|
getPollingFrequence, setPollingFrequencepublic HPCPullMonitor()
public HPCPullMonitor(MonitorPublisher monitorPublisher)
public HPCPullMonitor(BlockingQueue<UserMonitorData> queue, MonitorPublisher publisher)
public void run()
public boolean startPulling()
throws AiravataMonitorException
startPulling in class PullMonitorAiravataMonitorExceptionpublic boolean stopPulling()
stopPulling in class PullMonitorpublic MonitorPublisher getPublisher()
getPublisher in class AiravataAbstractMonitorpublic void setPublisher(MonitorPublisher publisher)
setPublisher in class AiravataAbstractMonitorpublic BlockingQueue<UserMonitorData> getQueue()
public void setQueue(BlockingQueue<UserMonitorData> queue)
public boolean authenticate()
public Map<String,ResourceConnection> getConnections()
public boolean isStartPulling()
public void setConnections(Map<String,ResourceConnection> connections)
public void setStartPulling(boolean startPulling)
Copyright © 2011-2014 The Apache Software Foundation. All Rights Reserved.