Class TestCompactionPolicy

java.lang.Object
org.apache.hadoop.hbase.regionserver.TestCompactionPolicy
Direct Known Subclasses:
AbstractTestDateTieredCompactionPolicy, TestDefaultCompactSelection

public class TestCompactionPolicy extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.apache.hadoop.conf.Configuration
     
    private static final String
     
    private org.apache.hadoop.hbase.regionserver.wal.FSHLog
     
    private static final org.slf4j.Logger
     
    protected static final int
     
    protected static final long
     
    protected static final int
     
    protected static final long
     
    private org.apache.hadoop.hbase.regionserver.HRegion
     
    protected org.apache.hadoop.hbase.regionserver.HStore
     
    protected static org.apache.hadoop.fs.Path
     
    protected static final HBaseTestingUtil
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    (package private) void
    compactEquals(List<org.apache.hadoop.hbase.regionserver.HStoreFile> candidates, boolean forcemajor, boolean isOffPeak, long... expected)
     
    (package private) void
    compactEquals(List<org.apache.hadoop.hbase.regionserver.HStoreFile> candidates, boolean forcemajor, long... expected)
     
    (package private) void
    compactEquals(List<org.apache.hadoop.hbase.regionserver.HStoreFile> candidates, long... expected)
     
    protected void
    setup config values necessary for store
    (package private) long[]
    getSizes(List<org.apache.hadoop.hbase.regionserver.HStoreFile> sfList)
     
    protected void
    Setting up a Store
    void
     
    (package private) List<org.apache.hadoop.hbase.regionserver.HStoreFile>
    sfCreate(boolean isReference, long... sizes)
     
    (package private) List<org.apache.hadoop.hbase.regionserver.HStoreFile>
    sfCreate(boolean isReference, ArrayList<Long> sizes, ArrayList<Long> ageInDisk)
     
    (package private) List<org.apache.hadoop.hbase.regionserver.HStoreFile>
    sfCreate(long... sizes)
     
    (package private) List<org.apache.hadoop.hbase.regionserver.HStoreFile>
    sfCreate(ArrayList<Long> sizes, ArrayList<Long> ageInDisk)
     
    void
     
    (package private) ArrayList<Long>
    toArrayList(long... numbers)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait