Class TestHStore.MyDefaultMemStore

java.lang.Object
org.apache.hadoop.hbase.regionserver.AbstractMemStore
org.apache.hadoop.hbase.regionserver.DefaultMemStore
org.apache.hadoop.hbase.regionserver.TestHStore.MyDefaultMemStore
All Implemented Interfaces:
Closeable, AutoCloseable, org.apache.hadoop.hbase.regionserver.MemStore
Enclosing class:
TestHStore

public static class TestHStore.MyDefaultMemStore extends org.apache.hadoop.hbase.regionserver.DefaultMemStore
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final AtomicInteger
     
    private static final String
     
    private static final String
     
    private final CyclicBarrier
    Only when flush thread enters AbstractMemStore.doClearSnapShot(), getScanner thread could start.
    private final AtomicInteger
     
    private final CyclicBarrier
    Used by flush thread notifies getScanner thread AbstractMemStore.doClearSnapShot() completed, DefaultMemStore.getScanners(long) could continue.
    private final CyclicBarrier
    Used by getScanner thread notifies flush thread DefaultMemStore.getSnapshotSegments() completed, AbstractMemStore.doClearSnapShot() could continue.
    private boolean
     
    private org.apache.hadoop.hbase.regionserver.HStore
     

    Fields inherited from class org.apache.hadoop.hbase.regionserver.DefaultMemStore

    DEEP_OVERHEAD, FIXED_OVERHEAD

    Fields inherited from class org.apache.hadoop.hbase.regionserver.AbstractMemStore

    regionServices, snapshot, snapshotId
  • Constructor Summary

    Constructors
    Constructor
    Description
    MyDefaultMemStore(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.CellComparator cellComparator, org.apache.hadoop.hbase.regionserver.RegionServicesForStores regionServices)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected List<org.apache.hadoop.hbase.regionserver.Segment>
     

    Methods inherited from class org.apache.hadoop.hbase.regionserver.DefaultMemStore

    getFlushableSize, getNextRow, getScanners, getSegments, heapSize, isSloppy, keySize, main, postUpdate, preFlushSeqIDEstimation, preUpdate, size, sizeAddedPreOperation, snapshot, updateLowestUnflushedSequenceIdInWAL

    Methods inherited from class org.apache.hadoop.hbase.regionserver.AbstractMemStore

    add, add, addToScanners, addToScanners, clearSnapshot, close, doAdd, dump, getActive, getComparator, getConfiguration, getLowest, getNextRow, getSnapshot, getSnapshotSize, resetActive, resetTimeOfOldestEdit, timeOfOldestEdit, toString, upsert

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.apache.hadoop.hbase.regionserver.MemStore

    startReplayingFromWAL, stopReplayingFromWAL