Package org.apache.uima.ducc.cli

Examples of org.apache.uima.ducc.cli.UimaAsServiceMonitor


                if ( service_type == ServiceType.UimaAs ) {
                    // Either no pinger specified, in which case the default is used.  Or, it is specified, and if it
                    // matches the default, we get to clear anyway.
                    String pingclass = job_props.getStringProperty("service_ping_class", UimaAsPing.class.getName());
                    if ( pingclass.equals(UimaAsPing.class.getName()) ) {
                        UimaAsServiceMonitor monitor = new UimaAsServiceMonitor(endpoint, broker_host, broker_jmx_port);
                        logger.debug(methodName, id, "Clearing queues");
                        try {
                          monitor.init(null);
              monitor.clearQueues();
            } catch (Throwable e) {
              // TODO Auto-generated catch block
              e.printStackTrace();
            }
                    }
View Full Code Here

TOP

Related Classes of org.apache.uima.ducc.cli.UimaAsServiceMonitor

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.