Package ru.petrsu.akolosov.flowbrook.processing

Examples of ru.petrsu.akolosov.flowbrook.processing.ConcurrentFlowSourceSetHandler


        }

        for (String path : args) {
            FlowSourceSet sourceSet = FlowTools.getSourceFromDir(new File(path), true);

            FlowSourceSetHandler fsHandler = new ConcurrentFlowSourceSetHandler(sourceSet, statsRules);

            cal.setTime(sourceSet.getFirstFlowTime());
            cal.set(Calendar.DAY_OF_MONTH, 1);
            cal.set(Calendar.HOUR_OF_DAY, 0);
            cal.set(Calendar.MINUTE, 0);
            cal.set(Calendar.SECOND, 0);
            cal.set(Calendar.MILLISECOND, 0);
           
            try {
                fsHandler.process(cal, Calendar.MONTH, Calendar.DAY_OF_MONTH, 1);
            } catch (FlowProcessingException ex) {
                Logger.getLogger(FlowStats.class.getName()).log(Level.SEVERE, null, ex);
            }
        }
    }
View Full Code Here

TOP

Related Classes of ru.petrsu.akolosov.flowbrook.processing.ConcurrentFlowSourceSetHandler

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.