Package org.globus.workspace.scheduler

Examples of org.globus.workspace.scheduler.NodeNotFoundException


            Integer availMemory = null;
            if (memory != null) {
                final ResourcepoolEntry entry = getNode(hostname);
                if (entry == null) {
                    throw new NodeNotFoundException();
                }

                if (!entry.isVacant()) {
                    logger.info("Refusing to update VMM node "+ hostname+
                            " memory max while VMs are running");
                    throw new NodeInUseException();
                }
                availMemory = memory;
            }

            boolean updated = this.db.updateResourcepoolEntry(hostname,
                    pool, networks, memory, availMemory, active);
            if (!updated) {
                throw new NodeNotFoundException();
            }

            ResourcepoolEntry result = getNode(hostname);
            this.poolChanged();
            return result;
View Full Code Here

TOP

Related Classes of org.globus.workspace.scheduler.NodeNotFoundException

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.