Package org.globus.workspace.creation

Examples of org.globus.workspace.creation.IdempotentReservation


            SchedulingException,
            AuthorizationException {

        String creatorID = caller.getIdentity();
        final String clientToken = req.getClientToken();
        IdempotentReservation res;
        final Lock idemLock = idemManager.getLock(creatorID, clientToken);

        try {
            idemLock.lockInterruptibly();
        } catch (InterruptedException e) {
            throw new CreationException(e.getMessage(), e);
        }

        try {

            res = this.idemManager.getReservation(creatorID, clientToken);
            if (res != null) {

                if (logger.isDebugEnabled()) {
                    logger.debug("Found existing idempotent reservation: " +
                            res.toString());
                }

                // the reservation already exists. check its validity
                return resolveIdempotentReservation(res, req);
View Full Code Here

TOP

Related Classes of org.globus.workspace.creation.IdempotentReservation

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.