1 /*-
2  * See the file LICENSE for redistribution information.
3  *
4  * Copyright (c) 2002, 2014 Oracle and/or its affiliates.  All rights reserved.
5  *
6  */
7 
8 package com.sleepycat.je.incomp;
9 
10 import com.sleepycat.je.utilint.StatDefinition;
11 
12 /**
13  * Per-stat Metadata for JE INCompressor statistics.
14  */
15 public class INCompStatDefinition {
16     public static final String GROUP_NAME = "Node Compression";
17     public static final String GROUP_DESC =
18         "Removal and compression of internal btree nodes.";
19 
20     public static final StatDefinition INCOMP_SPLIT_BINS =
21         new StatDefinition("splitBins",
22                            "Number of BINs encountered by the INCompressor " +
23                            "that were split between the time they were put " +
24                            "on the comprssor queue and when the compressor " +
25                            "ran.");
26 
27     public static final StatDefinition INCOMP_DBCLOSED_BINS =
28         new StatDefinition("dbClosedBins",
29                            "Number of BINs encountered by the INCompressor " +
30                            "that had their database closed between the time " +
31                            "they were put on the compressor queue and when " +
32                            "the compressor ran.");
33 
34     public static final StatDefinition INCOMP_CURSORS_BINS =
35         new StatDefinition("cursorsBins",
36                            "Number of BINs encountered by the INComprssor " +
37                            "that had cursors referring to them when the " +
38                            "compresor ran.");
39 
40     public static final StatDefinition INCOMP_NON_EMPTY_BINS =
41         new StatDefinition("nonEmptyBins",
42                            "Number of BINs encountered by the INCompressor " +
43                            "that were not actually empty when the " +
44                            "compressor ran.");
45 
46     public static final StatDefinition INCOMP_PROCESSED_BINS =
47         new StatDefinition("processedBins",
48                            "Number of BINs that were successfully " +
49                            "processed by the INCompressor.");
50 
51     public static final StatDefinition INCOMP_QUEUE_SIZE =
52         new StatDefinition("inCompQueueSize",
53                            "Number of entries in the INCompressor queue " +
54                            "when the getStats() call was made.");
55 }
56