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 C03682004A1 for ; Thu, 24 Aug 2017 17:10:48 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BEB5916B038; Thu, 24 Aug 2017 15:10:48 +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 1EA3816B022 for ; Thu, 24 Aug 2017 17:10:46 +0200 (CEST) Received: (qmail 47474 invoked by uid 500); 24 Aug 2017 15:10:43 -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 45122 invoked by uid 99); 24 Aug 2017 15:10:41 -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; Thu, 24 Aug 2017 15:10:41 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 43BFFDFA20; Thu, 24 Aug 2017 15:10:39 +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: Thu, 24 Aug 2017 15:10:47 -0000 Message-Id: <67b3bdc995744ac48d1f567d42814168@git.apache.org> In-Reply-To: <7aa9af58bf7c45409ec64112bf89d28d@git.apache.org> References: <7aa9af58bf7c45409ec64112bf89d28d@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [09/51] [partial] hbase-site git commit: Published site at . archived-at: Thu, 24 Aug 2017 15:10:48 -0000 http://git-wip-us.apache.org/repos/asf/hbase-site/blob/4f1f2a0b/devapidocs/org/apache/hadoop/hbase/io/hfile/CombinedBlockCache.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/CombinedBlockCache.html b/devapidocs/org/apache/hadoop/hbase/io/hfile/CombinedBlockCache.html index 5fca8ad..39e3ac8 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/hfile/CombinedBlockCache.html +++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/CombinedBlockCache.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}; +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}; var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; var altColor = "altColor"; var rowColor = "rowColor"; @@ -259,35 +259,47 @@ implements long +getCurrentDataSize() +
Returns the occupied size of data blocks, in bytes.
+ + + +long getCurrentSize()
Returns the occupied size of the block cache, in bytes.
- + +long +getDataBlockCount() +
Returns the number of data blocks currently cached in the block cache.
+ + + long getFreeSize()
Returns the free size of the block cache, in bytes.
- + int getRefCount(BlockCacheKey cacheKey)  - + CacheStats getStats()
Get the statistics for this block cache.
- + long heapSize()  - + Iterator<CachedBlock> iterator()  - + void returnBlock(BlockCacheKey cacheKey, Cacheable block) @@ -295,19 +307,19 @@ implements + void setMaxSize(long size)
Sets the max heap size that can be used by the BlockCache.
- + void shutdown()
Shutdown the cache.
- + long size()
Returns the total size of the block cache, in bytes.
@@ -566,13 +578,30 @@ implements + + + @@ -262,7 +262,7 @@ implements
  • queue

    -
    private LruCachedBlockQueue queue
    +
    private LruCachedBlockQueue queue
  • @@ -271,7 +271,7 @@ implements
  • totalSize

    -
    private long totalSize
    +
    private long totalSize
  • @@ -280,7 +280,7 @@ implements
  • bucketSize

    -
    private long bucketSize
    +
    private long bucketSize
  • @@ -297,7 +297,7 @@ implements
  • BlockBucket

    -
    public BlockBucket(String name,
    +
    public BlockBucket(String name,
                        long bytesToFree,
                        long blockSize,
                        long bucketSize)
    @@ -317,7 +317,7 @@ implements
  • add

    -
    public void add(LruCachedBlock block)
    +
    public void add(LruCachedBlock block)
  • @@ -326,7 +326,7 @@ implements
  • free

    -
    public long free(long toFree)
    +
    public long free(long toFree)
  • @@ -335,7 +335,7 @@ implements
  • overflow

    -
    public long overflow()
    +
    public long overflow()
  • @@ -344,7 +344,7 @@ implements
  • totalSize

    -
    public long totalSize()
    +
    public long totalSize()
  • @@ -353,7 +353,7 @@ implements
  • compareTo

    -
    public int compareTo(LruBlockCache.BlockBucket that)
    +
    public int compareTo(LruBlockCache.BlockBucket that)
    Specified by:
    compareTo in interface Comparable<LruBlockCache.BlockBucket>
    @@ -366,7 +366,7 @@ implements
  • equals

    -
    public boolean equals(Object that)
    +
    public boolean equals(Object that)
    Overrides:
    equals in class Object
    @@ -379,7 +379,7 @@ implements
  • hashCode

    -
    public int hashCode()
    +
    public int hashCode()
    Overrides:
    hashCode in class Object
    @@ -392,7 +392,7 @@ implements
  • toString

    -
    public String toString()
    +
    public String toString()
    Overrides:
    toString in class Object
    http://git-wip-us.apache.org/repos/asf/hbase-site/blob/4f1f2a0b/devapidocs/org/apache/hadoop/hbase/io/hfile/LruBlockCache.EvictionThread.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/LruBlockCache.EvictionThread.html b/devapidocs/org/apache/hadoop/hbase/io/hfile/LruBlockCache.EvictionThread.html index 386320f..c707083 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/hfile/LruBlockCache.EvictionThread.html +++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/LruBlockCache.EvictionThread.html @@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab";


    -
    static class LruBlockCache.EvictionThread
    +
    static class LruBlockCache.EvictionThread
     extends HasThread
  • @@ -239,7 +239,7 @@ extends
  • cache

    -
    private WeakReference<LruBlockCache> cache
    +
    private WeakReference<LruBlockCache> cache
  • @@ -248,7 +248,7 @@ extends
  • go

    -
    private volatile boolean go
    +
    private volatile boolean go
  • @@ -257,7 +257,7 @@ extends
  • enteringRun

    -
    private boolean enteringRun
    +
    private boolean enteringRun
  • @@ -274,7 +274,7 @@ extends
  • EvictionThread

    -
    public EvictionThread(LruBlockCache cache)
    +
    public EvictionThread(LruBlockCache cache)
  • @@ -291,7 +291,7 @@ extends
  • run

    -
    public void run()
    +
    public void run()
    Specified by:
    run in interface Runnable
    @@ -306,7 +306,7 @@ extends
  • evict

    -
    public void evict()
    +
    public void evict()
  • @@ -315,7 +315,7 @@ extends
  • shutdown

    -
    void shutdown()
    +
    void shutdown()
  • @@ -324,7 +324,7 @@ extends
  • isEnteringRun

    -
    boolean isEnteringRun()
    +
    boolean isEnteringRun()
    Used for the test.
  • http://git-wip-us.apache.org/repos/asf/hbase-site/blob/4f1f2a0b/devapidocs/org/apache/hadoop/hbase/io/hfile/LruBlockCache.StatisticsThread.html ---------------------------------------------------------------------- diff --git a/devapidocs/org/apache/hadoop/hbase/io/hfile/LruBlockCache.StatisticsThread.html b/devapidocs/org/apache/hadoop/hbase/io/hfile/LruBlockCache.StatisticsThread.html index 1752b66..a4a2474 100644 --- a/devapidocs/org/apache/hadoop/hbase/io/hfile/LruBlockCache.StatisticsThread.html +++ b/devapidocs/org/apache/hadoop/hbase/io/hfile/LruBlockCache.StatisticsThread.html @@ -122,7 +122,7 @@ var activeTableTab = "activeTableTab";


    -
    static class LruBlockCache.StatisticsThread
    +
    static class LruBlockCache.StatisticsThread
     extends Thread
  • @@ -239,7 +239,7 @@ extends
  • lru

    -
    private final LruBlockCache lru
    +
    private final LruBlockCache lru
  • @@ -256,7 +256,7 @@ extends
  • StatisticsThread

    -
    public StatisticsThread(LruBlockCache lru)
    +
    public StatisticsThread(LruBlockCache lru)
  • @@ -273,7 +273,7 @@ extends
  • run

    -
    public void run()
    +
    public void run()
    Specified by:
    run in interface Runnable