Examples of vacuum()


Examples of org.rhq.enterprise.server.system.SystemManagerLocal.vacuum()

            Thread.sleep(2000L);
        } catch (InterruptedException ignored) {
        }
        Subject superuser = LookupUtil.getSubjectManager().getOverlord();
        SystemManagerLocal systemManager = LookupUtil.getSystemManager();
        systemManager.vacuum(superuser, new String[] { "RHQ_MEASUREMENT_DEF", "RHQ_CONFIG_DEF", "RHQ_RESOURCE_TYPE",
            "RHQ_RESOURCE_TYPE_PARENTS", Plugin.TABLE_NAME });

        return;
    }
View Full Code Here

Examples of org.rhq.enterprise.server.system.SystemManagerLocal.vacuum()

        long timeStart = System.currentTimeMillis();

        purgeManager.removeOutdatedOOBs(cutOff);

        // clean up
        systemManager.vacuum(overlord, new String[] { "RHQ_MEASUREMENT_OOB" });

        // Now calculate the fresh OOBs
        manager.computeOOBsForLastHour(overlord, oneHourAggregates);

        long duration = System.currentTimeMillis() - timeStart;
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.