Examples of AsyncResourceDeleteJob


Examples of org.rhq.enterprise.server.scheduler.jobs.AsyncResourceDeleteJob

                    obsoleteTypeIds.add(rt.getId());
                }
                inventoryManager.markTypesDeleted(obsoleteTypeIds, true);

                // 2) Immediately remove the uninventoried resources by forcing the normally async work to run in-band
                new AsyncResourceDeleteJob().execute(null);

                // 3) Immediately finish removing the deleted types by forcing the normally async work to run in-band
                new PurgeResourceTypesJob().executeJobCode(null);
            }
        } catch (Throwable t) {
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.