HBASE-11135 addendum fixing comments

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1594366 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Stack 2014-05-13 20:11:50 +00:00
parent 920a0b9f16
commit 76322859a4
1 changed files with 3 additions and 4 deletions

View File

@ -30,8 +30,7 @@ import org.apache.hadoop.hbase.HTableDescriptor;
* region sequence id (we want to use this later, just before we write the WAL to ensure region
* edits maintain order). The extra info added here is not 'serialized' as part of the WALEdit
* hence marked 'transient' to underline this fact. It also adds mechanism so we can wait on
* the assign of the region sequence id. See {@link #setRegionSequenceId(long)} and
* {@link #getRegionSequenceId()}.
* the assign of the region sequence id. See {@link #stampRegionSequenceId()}.
*/
@InterfaceAudience.Private
class FSWALEntry extends HLog.Entry {
@ -85,7 +84,7 @@ class FSWALEntry extends HLog.Entry {
* Call when safe to do so: i.e. the context is such that the increment on the passed in
* {@link #regionSequenceIdReference} is guaranteed aligned w/ how appends are going into the
* WAL. This method works with {@link #getRegionSequenceId()}. It will block waiting on this
* method if on initialization our edit/sequence id is {@link HLogKey#NO_SEQ_NO}.
* method to be called.
* @return The region edit/sequence id we set for this edit.
* @see #getRegionSequenceId()
*/
@ -102,4 +101,4 @@ class FSWALEntry extends HLog.Entry {
this.latch.await();
return getKey().getLogSeqNum();
}
}
}