Package org.apache.airavata.gfac.monitor.impl.pull.qstat

Examples of org.apache.airavata.gfac.monitor.impl.pull.qstat.HPCPullMonitor


            String certPath = ServerSettings.getSetting("trusted.cert.location");
            String myProxyServer = ServerSettings.getSetting("myproxy.server");
            setAuthenticationInfo(new MyProxyAuthenticationInfo(myProxyUser, myProxyPass, myProxyServer,
                    7512, 17280000, certPath));
            if(GFacImpl.getMonitorPublisher() != null){
                hpcPullMonitor = new HPCPullMonitor(GFacImpl.getMonitorPublisher(),getAuthenticationInfo());    // we use our own credentials for monitoring, not from the store
            }else {
                hpcPullMonitor = new HPCPullMonitor(BetterGfacImpl.getMonitorPublisher(),getAuthenticationInfo())// we use our own credentials for monitoring, not from the store
            }
        } catch (ApplicationSettingsException e) {
            e.printStackTrace()//To change body of catch statement use File | Settings | File Templates.
        }
    }
View Full Code Here


            String myProxyPass = ServerSettings.getSetting("myproxy.password");
            String certPath = ServerSettings.getSetting("trusted.cert.location");
            String myProxyServer = ServerSettings.getSetting("myproxy.server");
            setAuthenticationInfo(new MyProxyAuthenticationInfo(myProxyUser, myProxyPass, myProxyServer,
                    7512, 17280000, certPath));
            hpcPullMonitor = new HPCPullMonitor(GFacImpl.getMonitorPublisher());
        } catch (ApplicationSettingsException e) {
            e.printStackTrace()//To change body of catch statement use File | Settings | File Templates.
        }
    }
View Full Code Here

                monitorThread.interrupt();
            }
        }
        monitorPublisher.registerListener(this);
        pullQueue = new LinkedBlockingQueue<UserMonitorData>();
        final HPCPullMonitor qstatMonitor = new
                HPCPullMonitor(pullQueue, monitorPublisher);
        try {
            (new Thread(){
                public void run(){
                    qstatMonitor.run();
                }
            }).start();
        } catch (Exception e) {
            e.printStackTrace();
        }
View Full Code Here

TOP

Related Classes of org.apache.airavata.gfac.monitor.impl.pull.qstat.HPCPullMonitor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.