Package org.apache.oozie.executor.jpa

Examples of org.apache.oozie.executor.jpa.CoordActionsDeleteJPAExecutor


     */
    private void purgeCoordActions(List<String> coordActions) throws JPAExecutorException {
        coordActionDel = coordActions.size();
        for (int startIndex = 0; startIndex < coordActions.size(); ) {
            int endIndex = (startIndex + limit < coordActions.size()) ? (startIndex + limit) : coordActions.size();
            jpaService.execute(new CoordActionsDeleteJPAExecutor(coordActions.subList(startIndex, endIndex)));
            startIndex = endIndex;
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.oozie.executor.jpa.CoordActionsDeleteJPAExecutor

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.