Examples of unscheduleResourceOperation()


Examples of org.rhq.enterprise.server.operation.OperationManagerLocal.unscheduleResourceOperation()

                     *
                     * - a user tries to delete a resource, gets the list of resource operation schedules - just then,
                     * one or more of the schedules completes it's last scheduled firing, and is removed - then we try
                     * to unschedule it here, except that the jobid will no longer be known
                     */
                    operationManager.unscheduleResourceOperation(overlord, schedule.getJobId().toString(), resourceId);
                } catch (UnscheduleException ise) {
                    log.warn("Failed to unschedule job [" + schedule + "] for a resource being deleted [" + resourceId
                        + "]", ise);
                }
            }
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.