Package com.xensource.xenapi

Examples of com.xensource.xenapi.VDI.forget()


    public Answer forgetObject(ForgetObjectCmd cmd) {
        try {
            Connection conn = hypervisorResource.getConnection();
            DataTO data = cmd.getDataTO();
            VDI vdi = VDI.getByUuid(conn, data.getPath());
            vdi.forget(conn);
            return new IntroduceObjectAnswer(cmd.getDataTO());
        } catch (Exception e) {
            s_logger.debug("Failed to introduce object", e);
            return new Answer(cmd, false, e.toString());
        }
View Full Code Here


    public Answer forgetObject(ForgetObjectCmd cmd) {
        try {
            Connection conn = hypervisorResource.getConnection();
            DataTO data = cmd.getDataTO();
            VDI vdi = VDI.getByUuid(conn, data.getPath());
            vdi.forget(conn);
            return new IntroduceObjectAnswer(cmd.getDataTO());
        } catch (Exception e) {
            s_logger.debug("Failed to introduce object", e);
            return new Answer(cmd, false, e.toString());
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.