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 A8158200D06 for ; Mon, 25 Sep 2017 17:13:44 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A63FA160BDA; Mon, 25 Sep 2017 15:13:44 +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 83A641609BB for ; Mon, 25 Sep 2017 17:13:42 +0200 (CEST) Received: (qmail 32355 invoked by uid 500); 25 Sep 2017 15:13:40 -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 31122 invoked by uid 99); 25 Sep 2017 15:13:39 -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; Mon, 25 Sep 2017 15:13:39 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 2FD89F5B0D; Mon, 25 Sep 2017 15:13:38 +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: Mon, 25 Sep 2017 15:14:05 -0000 Message-Id: <4db8eec2735649fbb7cb26ec4ab1c2cf@git.apache.org> In-Reply-To: <5ac1bec331ea40b0b23ad484d19dc912@git.apache.org> References: <5ac1bec331ea40b0b23ad484d19dc912@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [28/51] [partial] hbase-site git commit: Published site at . archived-at: Mon, 25 Sep 2017 15:13:44 -0000 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/bd3bcf4e/devapidocs/org/apache/hadoop/hbase/regionserver/DefaultStoreFileManager.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/regionserver/DefaultStoreFileManager.html b/devapidocs/org/apache/hadoop/hbase/regionserver/DefaultStoreFileManager.html index ff23b32..40244c8 100644 --- a/devapidocs/org/apache/hadoop/hbase/regionserver/DefaultStoreFileManager.html +++ b/devapidocs/org/apache/hadoop/hbase/regionserver/DefaultStoreFileManager.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,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":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,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -114,7 +114,7 @@ var activeTableTab = "activeTableTab";

@InterfaceAudience.Private
-class DefaultStoreFileManager
+class DefaultStoreFileManager
 extends Object
 implements StoreFileManager
Default implementation of StoreFileManager. Not thread-safe.
@@ -141,30 +141,30 @@ implements blockingFileCount  +private CellComparator +cellComparator  + + private CompactionConfiguration comConf  - -private List<StoreFile> + +private org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList<HStoreFile> compactedfiles
List of compacted files inside this store that needs to be excluded in reads because further new reads will be using only the newly created files out of compaction.
- -private CellComparator -kvComparator  - private static org.apache.commons.logging.Log LOG  -private Comparator<StoreFile> +private Comparator<HStoreFile> storeFileComparator  -private org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList<StoreFile> +private org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList<HStoreFile> storefiles
List of store files inside this store.
@@ -184,8 +184,8 @@ implements Constructor and Description -DefaultStoreFileManager(CellComparator kvComparator, - Comparator<StoreFile> storeFileComparator, +DefaultStoreFileManager(CellComparator cellComparator, + Comparator<HStoreFile> storeFileComparator, org.apache.hadoop.conf.Configuration conf, CompactionConfiguration comConf)  @@ -206,31 +206,31 @@ implements void -addCompactionResults(Collection<StoreFile> newCompactedfiles, - Collection<StoreFile> results) +addCompactionResults(Collection<HStoreFile> newCompactedfiles, + Collection<HStoreFile> results)
Adds only the new compaction results into the structure.
-Collection<StoreFile> +Collection<HStoreFile> clearCompactedFiles()
Clears all the compacted files and returns them.
-org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableCollection<StoreFile> +org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableCollection<HStoreFile> clearFiles()
Clears all the files currently in use and returns them.
-Iterator<StoreFile> +Iterator<HStoreFile> getCandidateFilesForRowKeyBefore(KeyValue targetKey)
Gets initial, full list of candidate store files to check for row-key-before.
-Collection<StoreFile> +Collection<HStoreFile> getCompactedfiles()
List of compacted files inside this store that needs to be excluded in reads because further new reads will be using only the newly created files out of compaction.
@@ -247,7 +247,7 @@ implements getCompactionPressure()  -Collection<StoreFile> +Collection<HStoreFile> getFilesForScan(byte[] startRow, boolean includeStartRow, byte[] stopRow, @@ -256,7 +256,7 @@ implements -byte[] +Optional<byte[]> getSplitPoint()
Gets the split point for the split of this set of store files (approx.
@@ -266,7 +266,7 @@ implements getStoreCompactionPriority()  -Comparator<StoreFile> +Comparator<HStoreFile> getStoreFileComparator()  @@ -276,49 +276,37 @@ implements -Collection<StoreFile> +Collection<HStoreFile> getStorefiles()
Gets the snapshot of the store files currently in use.
-Collection<StoreFile> +Collection<HStoreFile> getUnneededFiles(long maxTs, - List<StoreFile> filesCompacting)  + List<HStoreFile> filesCompacting)
  void -insertNewFiles(Collection<StoreFile> sfs) +insertNewFiles(Collection<HStoreFile> sfs)
Adds new files, either for from MemStore flush or bulk insert, into the structure.
void -loadFiles(List<StoreFile> storeFiles) +loadFiles(List<HStoreFile> storeFiles)
Loads the initial store files into empty StoreFileManager.
-private void -markCompactedAway(Collection<StoreFile> compactedFiles)  - - void -removeCompactedFiles(Collection<StoreFile> removedCompactedfiles) +removeCompactedFiles(Collection<HStoreFile> removedCompactedfiles)
Remove the compacted files
- -private void -sortAndSetStoreFiles(List<StoreFile> storeFiles)  - - -private List<StoreFile> -sortCompactedfiles(List<StoreFile> storefiles)  - - -Iterator<StoreFile> -updateCandidateFilesForRowKeyBefore(Iterator<StoreFile> candidateFiles, + +Iterator<HStoreFile> +updateCandidateFilesForRowKeyBefore(Iterator<HStoreFile> candidateFiles, KeyValue targetKey, Cell candidate)
Updates the candidate list for finding row key before.
@@ -352,16 +340,16 @@ implements
  • LOG

    -
    private static final org.apache.commons.logging.Log LOG
    +
    private static final org.apache.commons.logging.Log LOG
  • - + @@ -370,7 +358,7 @@ implements
  • comConf

    -
    private final CompactionConfiguration comConf
    +
    private final CompactionConfiguration comConf
  • @@ -379,7 +367,7 @@ implements
  • blockingFileCount

    -
    private final int blockingFileCount
    +
    private final int blockingFileCount
  • @@ -388,7 +376,7 @@ implements
  • storeFileComparator

    -
    private final Comparator<StoreFile> storeFileComparator
    +
    private final Comparator<HStoreFile> storeFileComparator
  • @@ -397,7 +385,7 @@ implements
  • storefiles

    -
    private volatile org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList<StoreFile> storefiles
    +
    private volatile org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList<HStoreFile> storefiles
    List of store files inside this store. This is an immutable list that is atomically replaced when its contents change.
  • @@ -408,7 +396,7 @@ implements
  • compactedfiles

    -
    private volatile List<StoreFile> compactedfiles
    +
    private volatile org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableList<HStoreFile> compactedfiles
    List of compacted files inside this store that needs to be excluded in reads because further new reads will be using only the newly created files out of compaction. These compacted files will be deleted/cleared once all the existing readers on these @@ -429,8 +417,8 @@ implements
  • DefaultStoreFileManager

    -
    public DefaultStoreFileManager(CellComparator kvComparator,
    -                               Comparator<StoreFile> storeFileComparator,
    +
    public DefaultStoreFileManager(CellComparator cellComparator,
    +                               Comparator<HStoreFile> storeFileComparator,
                                    org.apache.hadoop.conf.Configuration conf,
                                    CompactionConfiguration comConf)
  • @@ -449,7 +437,7 @@ implements
  • loadFiles

    -
    public void loadFiles(List<StoreFile> storeFiles)
    +
    public void loadFiles(List<HStoreFile> storeFiles)
    Description copied from interface: StoreFileManager
    Loads the initial store files into empty StoreFileManager.
    @@ -466,7 +454,7 @@ implements
  • getStorefiles

    -
    public final Collection<StoreFilegetStorefiles()
    +
    public final Collection<HStoreFilegetStorefiles()
    Description copied from interface: StoreFileManager
    Gets the snapshot of the store files currently in use. Can be used for things like metrics and checks; should not assume anything about relations between store files in the list.
    @@ -484,7 +472,7 @@ implements
  • getCompactedfiles

    -
    public Collection<StoreFilegetCompactedfiles()
    +
    public Collection<HStoreFilegetCompactedfiles()
    Description copied from interface: StoreFileManager
    List of compacted files inside this store that needs to be excluded in reads because further new reads will be using only the newly created files out of compaction. @@ -504,7 +492,7 @@ implements
  • insertNewFiles

    -
    public void insertNewFiles(Collection<StoreFile> sfs)
    +
    public void insertNewFiles(Collection<HStoreFile> sfs)
                         throws IOException
    Description copied from interface: StoreFileManager
    Adds new files, either for from MemStore flush or bulk insert, into the structure.
    @@ -524,7 +512,7 @@ implements
  • clearFiles

    -
    public org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableCollection<StoreFileclearFiles()
    +
    public org.apache.hadoop.hbase.shaded.com.google.common.collect.ImmutableCollection<HStoreFileclearFiles()
    Description copied from interface: StoreFileManager
    Clears all the files currently in use and returns them.
    @@ -541,7 +529,7 @@ implements
  • clearCompactedFiles

    -
    public Collection<StoreFileclearCompactedFiles()
    +
    public Collection<HStoreFileclearCompactedFiles()
    Description copied from interface: StoreFileManager
    Clears all the compacted files and returns them. This method is expected to be accessed single threaded.
    @@ -559,7 +547,7 @@ implements
  • getStorefileCount

    -
    public final int getStorefileCount()
    +
    public final int getStorefileCount()
    Description copied from interface: StoreFileManager
    Returns the number of files currently in use.
    @@ -576,7 +564,7 @@ implements
  • getCompactedFilesCount

    -
    public final int getCompactedFilesCount()
    +
    public final int getCompactedFilesCount()
    Description copied from interface: StoreFileManager
    Returns the number of compacted files.
    @@ -593,8 +581,8 @@ implements
  • addCompactionResults

    -
    public void addCompactionResults(Collection<StoreFile> newCompactedfiles,
    -                                 Collection<StoreFile> results)
    +
    public void addCompactionResults(Collection<HStoreFile> newCompactedfiles,
    +                                 Collection<HStoreFile> results)
    Description copied from interface: StoreFileManager
    Adds only the new compaction results into the structure.
    @@ -606,22 +594,13 @@ implements - - -