Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 2CD81200CCB for ; Wed, 5 Jul 2017 17:02:27 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 2B3441638AD; Wed, 5 Jul 2017 15:02:27 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 00C4016389D for ; Wed, 5 Jul 2017 17:02:24 +0200 (CEST) Received: (qmail 36693 invoked by uid 500); 5 Jul 2017 15:02:23 -0000 Mailing-List: contact commits-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hbase.apache.org Delivered-To: mailing list commits@hbase.apache.org Received: (qmail 35772 invoked by uid 99); 5 Jul 2017 15:02:23 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Jul 2017 15:02:22 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 467CDE964C; Wed, 5 Jul 2017 15:02:22 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: git-site-role@apache.org To: commits@hbase.apache.org Date: Wed, 05 Jul 2017 15:02:27 -0000 Message-Id: In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [06/51] [partial] hbase-site git commit: Published site at 82d554e3783372cc6b05489452c815b57c06f6cd. archived-at: Wed, 05 Jul 2017 15:02:27 -0000 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ca9f6925/devapidocs/org/apache/hadoop/hbase/regionserver/ImmutableSegment.Type.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/ImmutableSegment.Type.html b/devapidocs/org/apache/hadoop/hbase/regionserver/ImmutableSegment.Type.html deleted file mode 100644 index d45d7c9..0000000 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/ImmutableSegment.Type.html +++ /dev/null @@ -1,347 +0,0 @@ - - - - - - -ImmutableSegment.Type (Apache HBase 3.0.0-SNAPSHOT API) - - - - - - - - - - - -
-
org.apache.hadoop.hbase.regionserver
-

Enum ImmutableSegment.Type

-
-
- -
- -
-
- -
-
-
    -
  • - - - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        values

        -
        public static ImmutableSegment.Type[] values()
        -
        Returns an array containing the constants of this enum type, in -the order they are declared. This method may be used to iterate -over the constants as follows: -
        -for (ImmutableSegment.Type c : ImmutableSegment.Type.values())
        -    System.out.println(c);
        -
        -
        -
        Returns:
        -
        an array containing the constants of this enum type, in the order they are declared
        -
        -
      • -
      - - - -
        -
      • -

        valueOf

        -
        public static ImmutableSegment.Type valueOf(String name)
        -
        Returns the enum constant of this type with the specified name. -The string must match exactly an identifier used to declare an -enum constant in this type. (Extraneous whitespace characters are -not permitted.)
        -
        -
        Parameters:
        -
        name - the name of the enum constant to be returned.
        -
        Returns:
        -
        the enum constant with the specified name
        -
        Throws:
        -
        IllegalArgumentException - if this enum type has no constant with the specified name
        -
        NullPointerException - if the argument is null
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - - - - -

Copyright © 2007–2017 The Apache Software Foundation. All rights reserved.

- - http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ca9f6925/devapidocs/org/apache/hadoop/hbase/regionserver/ImmutableSegment.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/ImmutableSegment.html b/devapidocs/org/apache/hadoop/hbase/regionserver/ImmutableSegment.html index a2d6531..aeedc47 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/ImmutableSegment.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/ImmutableSegment.html @@ -18,8 +18,8 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10}; -var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var methods = {"i0":6,"i1":10,"i2":10,"i3":10,"i4":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; var tableTab = "tableTab"; @@ -50,7 +50,7 @@ var activeTableTab = "activeTableTab"; @@ -254,51 +207,28 @@ extends -All Methods Instance Methods Concrete Methods  +All Methods Instance Methods Abstract Methods Concrete Methods  Modifier and Type Method and Description -private CellSet -createCellArrayMapSet(int numOfCells, - MemStoreSegmentsIterator iterator, - boolean merge)  +protected abstract boolean +canBeFlattened()  -boolean -flatten(MemstoreSize memstoreSize) -
------------------------------------------------------------------------ - Change the CellSet of this ImmutableSegment from one based on ConcurrentSkipListMap to one - based on CellArrayMap.
- - - List<Segment> getAllSegments()  - + long getMinTimestamp()  - + int getNumOfSegments()  - -protected long -heapSizeChange(Cell cell, - boolean succ)  - - -private boolean -isFlat()  - - -private CellSet -recreateCellArrayMapSet(int numOfCells)  - - + boolean shouldSeek(Scan scan, long oldestUnexpiredTS)  @@ -309,7 +239,7 @@ extends Segment -close, compare, compareRows, decScannerCount, dump, getCellLength, getCellsCount, getCell Set, getComparator, getFirstAfter, getMemStoreLAB, getMinSequenceId, getScanner, getScanner, getScanners, getTimeRangeTracker, headSet, heapSize, incScannerCount, incSize, internalAdd, isEmpty, isTagsPresent, iterator, keySize, last, maybeCloneWithAllocator, setCellSet, tailSet, toString, updateMetaInfo +close, compare, compareRows, decScannerCount, dump, getCellLength, getCellsCount, getCell Set, getComparator, getFirstAfter, getMemStoreLAB, getMinSequenceId, getScanner, getScanner, getScanners, getTimeRangeTracker, headSet, heapSize, heapSizeChange, incScannerCount, incSize, indexEntrySize, internalAdd, isEmpty, isTagsPresent, iterator, keySize, last, maybeCloneWithAllocator, setCellSet, tailSet, toString, updateMetaInfo, updateMetaInfo - - - - - - - - - @@ -393,57 +296,35 @@ extends
  • ImmutableSegment

    -
    protected ImmutableSegment(CellComparator comparator)
    +
    protected ImmutableSegment(CellComparator comparator)
    ------------------------------------------------------------------------ Empty C-tor to be used only for CompositeImmutableSegment
  • - - - -
      -
    • -

      ImmutableSegment

      -
      protected ImmutableSegment(Segment segment)
      -
      ------------------------------------------------------------------------ - Copy C-tor to be used when new ImmutableSegment is being built from a Mutable one. - This C-tor should be used when active MutableSegment is pushed into the compaction - pipeline and becomes an ImmutableSegment.
      -
    • -
    - +
    • ImmutableSegment

      -
      protected ImmutableSegment(CellComparator comparator,
      -                           MemStoreSegmentsIterator iterator,
      -                           MemStoreLAB memStoreLAB,
      -                           int numOfCells,
      -                           ImmutableSegment.Type type,
      -                           boolean merge)
      +
      protected ImmutableSegment(CellSet cs,
      +                           CellComparator comparator,
      +                           MemStoreLAB memStoreLAB)
      ------------------------------------------------------------------------ - C-tor to be used when new CELL_ARRAY BASED ImmutableSegment is a result of compaction of a - list of older ImmutableSegments. - The given iterator returns the Cells that "survived" the compaction. - The input parameter "type" exists for future use when more types of flat ImmutableSegments - are going to be introduced.
      + C-tor to be used to build the derived classes
    - +
    • ImmutableSegment

      -
      protected ImmutableSegment(CellComparator comparator,
      -                           MemStoreSegmentsIterator iterator,
      -                           MemStoreLAB memStoreLAB)
      +
      protected ImmutableSegment(Segment segment)
      ------------------------------------------------------------------------ - C-tor to be used when new SKIP-LIST BASED ImmutableSegment is a result of compaction of a - list of older ImmutableSegments. - The given iterator returns the Cells that "survived" the compaction.
      + Copy C-tor to be used when new CSLMImmutableSegment (derived) is being built from a Mutable one. + This C-tor should be used when active MutableSegment is pushed into the compaction + pipeline and becomes an ImmutableSegment.
    @@ -454,13 +335,13 @@ extends +
    • -

      isFlat

      -
      private boolean isFlat()
      +

      canBeFlattened

      +
      protected abstract boolean canBeFlattened()
    @@ -469,7 +350,7 @@ extends
  • shouldSeek

    -
    public boolean shouldSeek(Scan scan,
    +
    public boolean shouldSeek(Scan scan,
                               long oldestUnexpiredTS)
    Specified by:
    @@ -483,7 +364,7 @@ extends
  • getMinTimestamp

    -
    public long getMinTimestamp()
    +
    public long getMinTimestamp()
    Specified by:
    getMinTimestamp in class Segment
    @@ -496,72 +377,16 @@ extends
  • getNumOfSegments

    -
    public int getNumOfSegments()
    +
    public int getNumOfSegments()
  • - - - - -
      -
    • -

      flatten

      -
      public boolean flatten(MemstoreSize memstoreSize)
      -
      ------------------------------------------------------------------------ - Change the CellSet of this ImmutableSegment from one based on ConcurrentSkipListMap to one - based on CellArrayMap. - If this ImmutableSegment is not based on ConcurrentSkipListMap , this is NOOP - - Synchronization of the CellSet replacement: - The reference to the CellSet is AtomicReference and is updated only when ImmutableSegment - is constructed (single thread) or flattened. The flattening happens as part of a single - thread of compaction, but to be on the safe side the initial CellSet is locally saved - before the flattening and then replaced using CAS instruction.
      -
    • -
    - - - - - - - -
      -
    • -

      heapSizeChange

      -
      protected long heapSizeChange(Cell cell,
      -                              boolean succ)
      -
      -
      Overrides:
      -
      heapSizeChange in class Segment
      -
      Returns:
      -
      The increase in heap size because of this cell addition. This includes this cell POJO's - heap size itself and additional overhead because of addition on to CSLM.
      -
      -
    • -
    - - -
  • @@ -593,7 +418,7 @@ extends


    -
    private static enum MemStoreCompactor.Action
    +
    public static enum MemStoreCompactor.Action
     extends Enum<MemStoreCompactor.Action>
    Types of actions to be done on the pipeline upon MemStoreCompaction invocation. Note that every value covers the previous ones, i.e. if MERGE is the action it implies http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ca9f6925/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreCompactor.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreCompactor.html b/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreCompactor.html index 26bf5ab..ba427a8 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreCompactor.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreCompactor.html @@ -140,7 +140,7 @@ extends Class and Description -private static class  +static class  MemStoreCompactor.Action
    Types of actions to be done on the pipeline upon MemStoreCompaction invocation.
    @@ -511,7 +511,7 @@ extends
  • doCompaction

    -
    private void doCompaction()
    +
    private void doCompaction()
    ---------------------------------------------------------------------- The worker thread performs the compaction asynchronously. The solo (per compactor) thread only reads the compaction pipeline. @@ -524,7 +524,7 @@ extends
  • createSubstitution

    -
    private ImmutableSegment createSubstitution()
    +
    private ImmutableSegment createSubstitution()
                                          throws IOException
    ---------------------------------------------------------------------- Creation of the ImmutableSegment either by merge or copy-compact of the segments of the @@ -541,7 +541,7 @@ extends
  • initiateAction

    -
    void initiateAction(MemoryCompactionPolicy compType)
    +
    void initiateAction(MemoryCompactionPolicy compType)
    ---------------------------------------------------------------------- Initiate the action according to user config, after its default is Action.MERGE
  • http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ca9f6925/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html b/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html index dc79e84..1f16be2 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreLAB.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":17,"i5":17}; +var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":17,"i6":17}; var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -225,16 +225,23 @@ public interface +Chunk +getNewExternalChunk() +
    Return a new empty chunk without considering this chunk as current + The space on this chunk will be allocated externally
    + + + void incScannerCount()
    Called when opening a scanner on the data of this MemStoreLAB
    - + static boolean isEnabled(org.apache.hadoop.conf.Configuration conf)  - + static MemStoreLAB newInstance(org.apache.hadoop.conf.Configuration conf)  @@ -445,13 +452,24 @@ public interface Called when closing a scanner on the data of this MemStoreLAB
  • + + + +
      +
    • +

      getNewExternalChunk

      +
      Chunk getNewExternalChunk()
      +
      Return a new empty chunk without considering this chunk as current + The space on this chunk will be allocated externally
      +
    • +
    @@ -460,7 +478,7 @@ public interface
  • isEnabled

    -
    static boolean isEnabled(org.apache.hadoop.conf.Configuration conf)
    +
    static boolean isEnabled(org.apache.hadoop.conf.Configuration conf)
  • http://git-wip-us.apache.org/repos/asf/hbase-site/blob/ca9f6925/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreLABImpl.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreLABImpl.html b/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreLABImpl.html index 6349c70..3ed7723 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreLABImpl.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/MemStoreLABImpl.html @@ -18,7 +18,7 @@ catch(err) { } //--> -var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10}; +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -274,27 +274,34 @@ implements getCurrentChunk()  +Chunk +getNewExternalChunk() +
    Return a new empty chunk without considering this chunk as current + The space on this chunk will be allocated externally
    + + + private Chunk getOrMakeChunk()
    Get the current chunk, or, if there is no current chunk, allocate a new one from the JVM.
    - + (package private) BlockingQueue<Chunk> getPooledChunks()  - + void incScannerCount()
    Called when opening a scanner on the data of this MemStoreLAB
    - + private void recycleChunks()  - + private void tryRetireChunk(Chunk c)
    Try to retire the current chunk if it is still @@ -563,13 +570,29 @@ implements + + + @@ -578,7 +601,7 @@ implements
  • getPooledChunks

    -
    BlockingQueue<ChunkgetPooledChunks()
    +
    BlockingQueue<ChunkgetPooledChunks()