hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From st...@apache.org
Subject svn commit: r789174 - in /hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase: client/transactional/ io/hfile/LruBlockCache.java regionserver/HLog.java regionserver/transactional/
Date Sun, 28 Jun 2009 23:22:53 GMT
Author: stack
Date: Sun Jun 28 23:22:53 2009
New Revision: 789174

URL: http://svn.apache.org/viewvc?rev=789174&view=rev
Log:
HBASE-1460  Concurrent LRU Block Cache -- fix javadoc warnings

Removed:
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/client/transactional/
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/transactional/
Modified:
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java
    hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HLog.java

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java?rev=789174&r1=789173&r2=789174&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/io/hfile/LruBlockCache.java Sun Jun
28 23:22:53 2009
@@ -39,7 +39,7 @@
  * A block cache implementation that is memory-aware using {@link HeapSize},
  * memory-bound using an LRU eviction algorithm, and concurrent: backed by a
  * {@link ConcurrentHashMap} and with a non-blocking eviction thread giving
- * constant-time {@link cacheBlock} and {@link getBlock} operations.<p>
+ * constant-time {@link #cacheBlock} and {@link #getBlock} operations.<p>
  * 
  * Contains three levels of block priority to allow for
  * scan-resistance and in-memory families.  A block is added with an inMemory

Modified: hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HLog.java
URL: http://svn.apache.org/viewvc/hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HLog.java?rev=789174&r1=789173&r2=789174&view=diff
==============================================================================
--- hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HLog.java (original)
+++ hadoop/hbase/trunk/src/java/org/apache/hadoop/hbase/regionserver/HLog.java Sun Jun 28
23:22:53 2009
@@ -475,7 +475,6 @@
    /** Append an entry to the log.
    * 
    * @param regionInfo
-   * @param row
    * @param logEdit
    * @param now Time of this edit write.
    * @throws IOException
@@ -488,12 +487,11 @@
     this.append(regionInfo, makeKey(regionName, tableName, -1, now), logEdit);
   }
 
-  /** Construct a new log key.
-   * 
+  /**
    * @param now
    * @param regionName
    * @param tableName
-   * @return
+   * @return New log key.
    */
   protected HLogKey makeKey(byte[] regionName, byte[] tableName, long seqnum, long now) {
     return new HLogKey(regionName, tableName, seqnum, now);
@@ -504,7 +502,6 @@
   /** Append an entry to the log.
    * 
    * @param regionInfo
-   * @param row
    * @param logEdit
    * @param now Time of this edit write.
    * @throws IOException
@@ -541,7 +538,7 @@
    *
    * Later, if we sort by these keys, we obtain all the relevant edits for a
    * given key-range of the HRegion (TODO). Any edits that do not have a
-   * matching {@link HConstants#COMPLETE_CACHEFLUSH} message can be discarded.
+   * matching COMPLETE_CACHEFLUSH message can be discarded.
    *
    * <p>
    * Logs cannot be restarted once closed, or once the HLog process dies. Each



Mime
View raw message