public class HPCPullMonitor extends PullMonitor
| Constructor and Description |
|---|
HPCPullMonitor() |
HPCPullMonitor(BlockingQueue<UserMonitorData> queue,
MonitorPublisher publisher) |
HPCPullMonitor(MonitorPublisher monitorPublisher,
AuthenticationInfo authInfo) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
authenticate() |
AuthenticationInfo |
getAuthenticationInfo() |
Map<String,ResourceConnection> |
getConnections() |
GFac |
getGfac() |
MonitorPublisher |
getPublisher() |
BlockingQueue<UserMonitorData> |
getQueue() |
boolean |
isStartPulling() |
void |
run() |
void |
setAuthenticationInfo(AuthenticationInfo authenticationInfo) |
void |
setConnections(Map<String,ResourceConnection> connections) |
void |
setGfac(GFac gfac) |
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, AuthenticationInfo authInfo)
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)
public GFac getGfac()
public void setGfac(GFac gfac)
public AuthenticationInfo getAuthenticationInfo()
public void setAuthenticationInfo(AuthenticationInfo authenticationInfo)
Copyright © 2011–2014 The Apache Software Foundation. All rights reserved.