Package org.apache.stanbol.cmsadapter.servicesapi.processor

Examples of org.apache.stanbol.cmsadapter.servicesapi.processor.Processor


        Iterator<Processor> processorIterator;
        synchronized (processors) {
            processorIterator = processors.iterator();

            while (processorIterator.hasNext()) {
                Processor processor = processorIterator.next();
                long t1 = System.currentTimeMillis();
                try {
                    if (mode.contentEquals("create")) {
                        processor.createObjects(cmsObjects, this);
                    } else if (mode.contentEquals("delete")) {
                        processor.deleteObjects(cmsObjects, this);
                    }
                } finally {
                    logger.debug("{} processor completed execution in {} miliseconds", processor.toString(),
                        System.currentTimeMillis() - t1);
                }
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.stanbol.cmsadapter.servicesapi.processor.Processor

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.