Examples of UtilizationProfile


Examples of com.sleepycat.je.cleaner.UtilizationProfile

    }

    public void print(PrintStream out)
        throws DatabaseException {

        UtilizationProfile profile = envImpl.getUtilizationProfile();
        SortedMap<Long,FileSummary> map = profile.getFileSummaryMap(true);
        Map<Long, FileSummary> recalcMap =
            recalc ? UtilizationFileReader.calcFileSummaryMap(envImpl)
                   : null;
        int fileIndex = 0;
View Full Code Here

Examples of com.sleepycat.je.cleaner.UtilizationProfile

        this(DbInternal.getEnvironmentImpl(env));
    }

    private SpaceUtilizationStats(EnvironmentImpl envImpl) {
        this.envImpl = envImpl;
        UtilizationProfile profile = this.envImpl.getUtilizationProfile();
        summaryMap = profile.getFileSummaryMap(true);

        Iterator<Map.Entry<Long, FileSummary>> fileItr = summaryMap.entrySet().iterator();
        while(fileItr.hasNext()) {
            Map.Entry<Long, FileSummary> entry = fileItr.next();
            FileSummary fs = entry.getValue();
View Full Code Here

Examples of com.sleepycat.je.cleaner.UtilizationProfile

             * Create the file utilization objects before creating the Cleaner
             * or running recovery.
             */
            utilizationTracker = new UtilizationTracker(this);
            utilizationProfile =
    new UtilizationProfile(this, utilizationTracker);

            /*
             * Daemons are always made here, but only started after recovery.
             * We want them to exist so we can call them programatically even
             * if the daemon thread is not started.
View Full Code Here

Examples of com.sleepycat.je.cleaner.UtilizationProfile

        if (!DbInternal.getCheckpointUP
      (envImpl.getConfigManager().getEnvironmentConfig())) {
            return;
        }
       
        UtilizationProfile profile = envImpl.getUtilizationProfile();

        TrackedFileSummary[] activeFiles =
            envImpl.getUtilizationTracker().getTrackedFiles();

        for (int i = 0; i < activeFiles.length; i += 1) {
            profile.flushFileSummary(activeFiles[i]);
        }
    }
View Full Code Here

Examples of com.sleepycat.je.cleaner.UtilizationProfile

    public void print(PrintStream out)
  throws DatabaseException {

  openEnv();

        UtilizationProfile profile = DbInternal.envGetEnvironmentImpl(env)
                                               .getUtilizationProfile();
        SortedMap map = profile.getFileSummaryMap(true);
        int fileIndex = 0;

        Summary totals = new Summary();
        Summary[] summaries = null;
        if (!quiet) {
View Full Code Here

Examples of com.sleepycat.je.cleaner.UtilizationProfile

    }

    public void print(PrintStream out)
  throws DatabaseException {

        UtilizationProfile profile = envImpl.getUtilizationProfile();
        SortedMap map = profile.getFileSummaryMap(false);
        int fileIndex = 0;

        Summary totals = new Summary();
        Summary[] summaries = null;
        if (!quiet) {
View Full Code Here

Examples of com.sleepycat.je.cleaner.UtilizationProfile

        if (!DbInternal.getCheckpointUP
      (envImpl.getConfigManager().getEnvironmentConfig())) {
            return;
        }
       
        UtilizationProfile profile = envImpl.getUtilizationProfile();

        TrackedFileSummary[] activeFiles =
            envImpl.getUtilizationTracker().getTrackedFiles();

        for (int i = 0; i < activeFiles.length; i += 1) {
            profile.flushFileSummary(activeFiles[i]);
        }
    }
View Full Code Here

Examples of com.sleepycat.je.cleaner.UtilizationProfile

    }

    public void print(PrintStream out)
        throws DatabaseException {

        UtilizationProfile profile = envImpl.getUtilizationProfile();
        SortedMap<Long,FileSummary> map = profile.getFileSummaryMap(true);
        Map<Long, FileSummary> recalcMap =
            recalc ? UtilizationFileReader.calcFileSummaryMap(envImpl)
                   : null;
        int fileIndex = 0;
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.