Examples of purgeDeletedResourceType()


Examples of org.rhq.enterprise.server.inventory.InventoryManagerLocal.purgeDeletedResourceType()

        assertNotNull("Failed to find ignored resource type. Did the type name in the plugin descriptor change?",
            resourceTypeIgnored);

        pluginMgr.deletePlugins(subjectMgr.getOverlord(), asList(plugin3.getId()));
        inventoryManager.purgeDeletedResourceType(resourceType);
        inventoryManager.purgeDeletedResourceType(resourceTypeIgnored);

        ackDeletedPlugins();

        assertTrue("Expected " + plugin3 + " to be ready for purge since all its resource types have been purged "
            + "and the servers acked its deletion", pluginMgr.isReadyForPurge(plugin3));
View Full Code Here

Examples of org.rhq.enterprise.server.inventory.InventoryManagerLocal.purgeDeletedResourceType()

            resourceType);
        assertNotNull("Failed to find ignored resource type. Did the type name in the plugin descriptor change?",
            resourceTypeIgnored);

        pluginMgr.deletePlugins(subjectMgr.getOverlord(), asList(plugin3.getId()));
        inventoryManager.purgeDeletedResourceType(resourceType);
        inventoryManager.purgeDeletedResourceType(resourceTypeIgnored);

        ackDeletedPlugins();

        assertTrue("Expected " + plugin3 + " to be ready for purge since all its resource types have been purged "
View Full Code Here

Examples of org.rhq.enterprise.server.inventory.InventoryManagerLocal.purgeDeletedResourceType()

            if (inventoryMgr.isReadyForPermanentRemoval(deletedType)) {
                if (LOG.isDebugEnabled()) {
                    LOG.debug("Permanently removing " + deletedType);
                }
                long startTime = System.currentTimeMillis();
                inventoryMgr.purgeDeletedResourceType(deletedType);
                long endTime = System.currentTimeMillis();
                stats.numDeleted++;
                if (LOG.isDebugEnabled()) {
                    LOG.debug("Deleted " + deletedType + " in " + (endTime - startTime) + " ms");
                }
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.