Package org.globus.workspace.async.backfill

Examples of org.globus.workspace.async.backfill.Backfill


                    logger.debug("no previous backfill");
                }
                return null;
            }

            Backfill bf = new Backfill(null, null, null, null);
            bf.setBackfillEnabled(rs.getBoolean(1));
            bf.setMaxInstances(rs.getInt(2));
            bf.setDiskImage(rs.getString(3));
            bf.setSiteCapacity(rs.getInt(4));
            bf.setRepoUser(rs.getString(5));
            return bf;

        } catch(SQLException e) {
            logger.error("",e);
            throw new WorkspaceDatabaseException(e);
View Full Code Here


        PreparedStatement pstmt = null;
        try {
            c = getConnection();

            // Need to determine whether to use insert or update
            Backfill previous = this.getStoredBackfill();
            if (previous == null) {
                pstmt = c.prepareStatement(SQL_INSERT_BACKFILL);
            } else {
                pstmt = c.prepareStatement(SQL_UPDATE_BACKFILL);
            }
View Full Code Here

TOP

Related Classes of org.globus.workspace.async.backfill.Backfill

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.