Examples of saveGFacDescriptor()


Examples of org.apache.airavata.registry.api.AiravataRegistry.saveGFacDescriptor()

            try {
                while (true) {
                    try {
            AiravataRegistry registry = ((GFacConfiguration)context.getProperty(GFAC_CONFIGURATION)).getRegistry();
            String localAddress = (String) this.context.getProperty(GFAC_URL);
            registry.saveGFacDescriptor(localAddress);
            log.info("Updated the GFac URL in to Repository");
            Thread.sleep(GFAC_URL_UPDATE_INTERVAL);
          } catch (RegistryException e) {
            //in case of an registry exception best to retry sooner
            log.error("Error saving GFac descriptor",e);
View Full Code Here

Examples of org.apache.airavata.registry.api.Registry.saveGFacDescriptor()

        public void run() {
            try {
                while (true) {
                    Registry registry = (Registry) this.context.getProperty(CONFIGURATION_CONTEXT_REGISTRY);
                    String localAddress = (String) this.context.getProperty(GFAC_URL);
                    registry.saveGFacDescriptor(localAddress);
                    log.info("Updated the GFac URL in to Repository");
                    Thread.sleep(GFAC_URL_UPDATE_INTERVAL);
                }
            } catch (InterruptedException e) {
                log.info("GFacURL update thread is interrupted");
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.