HBASE-1460 Concurrent LRU Block Cache -- fix javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/hadoop/hbase/trunk@789174 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
99f569ab61
commit
c786d5d8f4
|
@ -39,7 +39,7 @@ import org.apache.hadoop.hbase.util.ClassSize;
|
||||||
* A block cache implementation that is memory-aware using {@link HeapSize},
|
* A block cache implementation that is memory-aware using {@link HeapSize},
|
||||||
* memory-bound using an LRU eviction algorithm, and concurrent: backed by a
|
* memory-bound using an LRU eviction algorithm, and concurrent: backed by a
|
||||||
* {@link ConcurrentHashMap} and with a non-blocking eviction thread giving
|
* {@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
|
* Contains three levels of block priority to allow for
|
||||||
* scan-resistance and in-memory families. A block is added with an inMemory
|
* scan-resistance and in-memory families. A block is added with an inMemory
|
||||||
|
|
|
@ -475,7 +475,6 @@ public class HLog implements HConstants, Syncable {
|
||||||
/** Append an entry to the log.
|
/** Append an entry to the log.
|
||||||
*
|
*
|
||||||
* @param regionInfo
|
* @param regionInfo
|
||||||
* @param row
|
|
||||||
* @param logEdit
|
* @param logEdit
|
||||||
* @param now Time of this edit write.
|
* @param now Time of this edit write.
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
|
@ -488,12 +487,11 @@ public class HLog implements HConstants, Syncable {
|
||||||
this.append(regionInfo, makeKey(regionName, tableName, -1, now), logEdit);
|
this.append(regionInfo, makeKey(regionName, tableName, -1, now), logEdit);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Construct a new log key.
|
/**
|
||||||
*
|
|
||||||
* @param now
|
* @param now
|
||||||
* @param regionName
|
* @param regionName
|
||||||
* @param tableName
|
* @param tableName
|
||||||
* @return
|
* @return New log key.
|
||||||
*/
|
*/
|
||||||
protected HLogKey makeKey(byte[] regionName, byte[] tableName, long seqnum, long now) {
|
protected HLogKey makeKey(byte[] regionName, byte[] tableName, long seqnum, long now) {
|
||||||
return new HLogKey(regionName, tableName, seqnum, now);
|
return new HLogKey(regionName, tableName, seqnum, now);
|
||||||
|
@ -504,7 +502,6 @@ public class HLog implements HConstants, Syncable {
|
||||||
/** Append an entry to the log.
|
/** Append an entry to the log.
|
||||||
*
|
*
|
||||||
* @param regionInfo
|
* @param regionInfo
|
||||||
* @param row
|
|
||||||
* @param logEdit
|
* @param logEdit
|
||||||
* @param now Time of this edit write.
|
* @param now Time of this edit write.
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
|
@ -541,7 +538,7 @@ public class HLog implements HConstants, Syncable {
|
||||||
*
|
*
|
||||||
* Later, if we sort by these keys, we obtain all the relevant edits for a
|
* 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
|
* 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>
|
* <p>
|
||||||
* Logs cannot be restarted once closed, or once the HLog process dies. Each
|
* Logs cannot be restarted once closed, or once the HLog process dies. Each
|
||||||
|
|
Loading…
Reference in New Issue