All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.sleepycat.je.incomp.INCompStatDefinition Maven / Gradle / Ivy

The newest version!
/*-
 * Copyright (C) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
 *
 * This file was distributed by Oracle as part of a version of Oracle Berkeley
 * DB Java Edition made available at:
 *
 * http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html
 *
 * Please see the LICENSE file included in the top-level directory of the
 * appropriate version of Oracle Berkeley DB Java Edition for a copy of the
 * license and additional information.
 */

package com.sleepycat.je.incomp;

import com.sleepycat.je.utilint.StatDefinition;

/**
 * Per-stat Metadata for JE INCompressor statistics.
 */
public class INCompStatDefinition {
    public static final String GROUP_NAME = "Node Compression";
    public static final String GROUP_DESC =
        "Deleted records are removed from Btree internal nodes " +
            "asynchronously and nodes are deleted when they become empty.";

    public static final String INCOMP_SPLIT_BINS_NAME =
        "splitBins";
    public static final String INCOMP_SPLIT_BINS_DESC =
        "Number of BINs encountered by the INCompressor that were split " +
            "between the time they were put on the compressor queue and " +
            "when the compressor ran.";
    public static final StatDefinition INCOMP_SPLIT_BINS =
        new StatDefinition(
            INCOMP_SPLIT_BINS_NAME,
            INCOMP_SPLIT_BINS_DESC);

    public static final String INCOMP_DBCLOSED_BINS_NAME =
        "dbClosedBins";
    public static final String INCOMP_DBCLOSED_BINS_DESC =
        "Number of BINs encountered by the INCompressor that had their " +
            "database closed between the time they were put on the compressor" +
            " queue and when the compressor ran.";
    public static final StatDefinition INCOMP_DBCLOSED_BINS =
        new StatDefinition(
            INCOMP_DBCLOSED_BINS_NAME,
            INCOMP_DBCLOSED_BINS_DESC);

    public static final String INCOMP_CURSORS_BINS_NAME =
        "cursorsBins";
    public static final String INCOMP_CURSORS_BINS_DESC =
        "Number of BINs encountered by the INCompressor that had cursors " +
            "referring to them when the compressor ran.";
    public static final StatDefinition INCOMP_CURSORS_BINS =
        new StatDefinition(
            INCOMP_CURSORS_BINS_NAME,
            INCOMP_CURSORS_BINS_DESC);

    public static final String INCOMP_NON_EMPTY_BINS_NAME =
        "nonEmptyBins";
    public static final String INCOMP_NON_EMPTY_BINS_DESC =
        "Number of BINs encountered by the INCompressor that were not " +
            "actually empty when the compressor ran.";
    public static final StatDefinition INCOMP_NON_EMPTY_BINS =
        new StatDefinition(
            INCOMP_NON_EMPTY_BINS_NAME,
            INCOMP_NON_EMPTY_BINS_DESC);

    public static final String INCOMP_PROCESSED_BINS_NAME =
        "processedBins";
    public static final String INCOMP_PROCESSED_BINS_DESC =
        "Number of BINs that were successfully processed by the INCompressor.";
    public static final StatDefinition INCOMP_PROCESSED_BINS =
        new StatDefinition(
            INCOMP_PROCESSED_BINS_NAME,
            INCOMP_PROCESSED_BINS_DESC);

    public static final String INCOMP_QUEUE_SIZE_NAME =
        "inCompQueueSize";
    public static final String INCOMP_QUEUE_SIZE_DESC =
        "Number of entries in the INCompressor queue.";
    public static final StatDefinition INCOMP_QUEUE_SIZE =
        new StatDefinition(
            INCOMP_QUEUE_SIZE_NAME,
            INCOMP_QUEUE_SIZE_DESC);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy