http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/49afadb4/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogRecordWithDLSN.html ---------------------------------------------------------------------- diff --git a/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogRecordWithDLSN.html b/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogRecordWithDLSN.html new file mode 100644 index 0000000..05e613f --- /dev/null +++ b/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogRecordWithDLSN.html @@ -0,0 +1,396 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (1.8.0_92) on Sun Jan 08 19:29:05 PST 2017 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>LogRecordWithDLSN (Apache DistributedLog for Java, version 0.4.0-incubating)</title> +<meta name="date" content="2017-01-08"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="LogRecordWithDLSN (Apache DistributedLog for Java, version 0.4.0-incubating)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10,"i1":10,"i2":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/LogRecordWithDLSN.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../org/apache/distributedlog/LogRecordSetBuffer.html" title="interface in org.apache.distributedlog"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/distributedlog/LogRecordWithDLSN.html" target="_top">Frames</a></li> +<li><a href="LogRecordWithDLSN.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li><a href="#nested.classes.inherited.from.class.org.apache.distributedlog.LogRecord">Nested</a> | </li> +<li><a href="#fields.inherited.from.class.org.apache.distributedlog.LogRecord">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.distributedlog</div> +<h2 title="Class LogRecordWithDLSN" class="title">Class LogRecordWithDLSN</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li><a href="../../../org/apache/distributedlog/LogRecord.html" title="class in org.apache.distributedlog">org.apache.distributedlog.LogRecord</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.distributedlog.LogRecordWithDLSN</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="typeNameLabel">LogRecordWithDLSN</span> +extends <a href="../../../org/apache/distributedlog/LogRecord.html" title="class in org.apache.distributedlog">LogRecord</a></pre> +<div class="block">Log record with <a href="../../../org/apache/distributedlog/DLSN.html" title="class in org.apache.distributedlog"><code>DLSN</code></a> and <code>SequenceId</code>. + + <h3>Sequence Numbers</h3> + + <p>A log record will be assigned with an unique system generated sequence number <a href="../../../org/apache/distributedlog/DLSN.html" title="class in org.apache.distributedlog"><code>DLSN</code></a> when it is + written to a log. At the mean time, a 64-bits long number is assigned to the record indicates its position + within a log, which is called <code>SequenceId</code>. Besides <a href="../../../org/apache/distributedlog/DLSN.html" title="class in org.apache.distributedlog"><code>DLSN</code></a> and <code>SequenceID</code>, + application can assign its own sequence number (called <code>TransactionID</code>) to the log record while + writing it. + + <h4>Transaction ID</h4> + + <p>Transaction ID is a positive 64-bits long number that is assigned by the application. It is a very helpful + field when application wants to organize the records and position the readers using their own sequencing method. + A typical use case of <code>TransactionID</code> is DistributedLog Write Proxy. It assigns the non-decreasing + timestamps to log records, which the timestamps could be used as `physical time` to implement `TTL` in a strong + consistent database to achieve consistent `TTL` over replicas. + + <h4>DLSN</h4> + + <p>DistributedLog Sequence Number (<i>DLSN</i>) is the sequence number generated during written time. + It is comparable and could be used to figure out the order between records. The DLSN is comprised with 3 components. + They are <i>Log Segment Sequence Number</i>, <i>Entry Id</i> and <i>Slot Id</i>. (See <a href="../../../org/apache/distributedlog/DLSN.html" title="class in org.apache.distributedlog"><code>DLSN</code></a> for more details). + The DLSN is usually used for comparison, positioning and truncation. + + <h4>Sequence ID</h4> + + <p>Sequence ID is introduced to address the drawback of <code>DLSN</code>, in favor of answering questions like + `how many records written between two DLSNs`. It is a 64-bits monotonic increasing number (starting from zero). + Sequence ids are only accessible by readers. That means writers don't know the sequence ids of records after they + wrote them.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== NESTED CLASS SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="nested.class.summary"> +<!-- --> +</a> +<h3>Nested Class Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="nested.classes.inherited.from.class.org.apache.distributedlog.LogRecord"> +<!-- --> +</a> +<h3>Nested classes/interfaces inherited from class org.apache.distributedlog.<a href="../../../org/apache/distributedlog/LogRecord.html" title="class in org.apache.distributedlog">LogRecord</a></h3> +<code><a href="../../../org/apache/distributedlog/LogRecord.Reader.html" title="class in org.apache.distributedlog">LogRecord.Reader</a>, <a href="../../../org/apache/distributedlog/LogRecord.Writer.html" title="class in org.apache.distributedlog">LogRecord.Writer</a></code></li> +</ul> +</li> +</ul> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<ul class="blockList"> +<li class="blockList"><a name="fields.inherited.from.class.org.apache.distributedlog.LogRecord"> +<!-- --> +</a> +<h3>Fields inherited from class org.apache.distributedlog.<a href="../../../org/apache/distributedlog/LogRecord.html" title="class in org.apache.distributedlog">LogRecord</a></h3> +<code><a href="../../../org/apache/distributedlog/LogRecord.html#MAX_LOGRECORD_SIZE">MAX_LOGRECORD_SIZE</a>, <a href="../../../org/apache/distributedlog/LogRecord.html#MAX_LOGRECORDSET_SIZE">MAX_LOGRECORDSET_SIZE</a></code></li> +</ul> +</li> +</ul> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogRecordWithDLSN.html#LogRecordWithDLSN-org.apache.distributedlog.DLSN-long-byte:A-long-">LogRecordWithDLSN</a></span>(<a href="../../../org/apache/distributedlog/DLSN.html" title="class in org.apache.distributedlog">DLSN</a> dlsn, + long txid, + byte[] data, + long startSequenceIdOfCurrentSegment)</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/distributedlog/DLSN.html" title="class in org.apache.distributedlog">DLSN</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogRecordWithDLSN.html#getDlsn--">getDlsn</a></span>()</code> +<div class="block">Get the DLSN of the record in the log.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogRecordWithDLSN.html#getSequenceId--">getSequenceId</a></span>()</code> +<div class="block">Get the sequence id of the record in the log.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogRecordWithDLSN.html#toString--">toString</a></span>()</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.org.apache.distributedlog.LogRecord"> +<!-- --> +</a> +<h3>Methods inherited from class org.apache.distributedlog.<a href="../../../org/apache/distributedlog/LogRecord.html" title="class in org.apache.distributedlog">LogRecord</a></h3> +<code><a href="../../../org/apache/distributedlog/LogRecord.html#getMetadata--">getMetadata</a>, <a href="../../../org/apache/distributedlog/LogRecord.html#getPayload--">getPayload</a>, <a href="../../../org/apache/distributedlog/LogRecord.html#getPayLoadInputStream--">getPayLoadInputStream</a>, <a href="../../../org/apache/distributedlog/LogRecord.html#getPositionWithinLogSegment--">getPositionWithinLogSegment</a>, <a href="../../../org/apache/distributedlog/LogRecord.html#getTransactionId--">getTransactionId</a>, <a href="../../../org/apache/distributedlog/LogRecord.html#isControl--">isControl</a>, <a href="../../../org/apache/distributedlog/LogRecord.html#isControl-long-">isControl</a>, <a href="../../../org/apache/distributedlog/LogRecord.html#isRecordSet--">isRecordSet</a>, <a href="../../../org/apache/distributedlog/LogRecord.html#isRecordSet-long-">isRecordSet</a>, <a href="../../../org/apache/distributedlog/LogRecord.html#readPayload-java.io.DataInputStream-">readPayload</a> , <a href="../../../org/apache/distributedlog/LogRecord.html#setControl--">setControl</a>, <a href="../../../org/apache/distributedlog/LogRecord.html#setMetadata-long-">setMetadata</a>, <a href="../../../org/apache/distributedlog/LogRecord.html#setRecordSet--">setRecordSet</a>, <a href="../../../org/apache/distributedlog/LogRecord.html#setTransactionId-long-">setTransactionId</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com /javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="LogRecordWithDLSN-org.apache.distributedlog.DLSN-long-byte:A-long-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>LogRecordWithDLSN</h4> +<pre>public LogRecordWithDLSN(<a href="../../../org/apache/distributedlog/DLSN.html" title="class in org.apache.distributedlog">DLSN</a> dlsn, + long txid, + byte[] data, + long startSequenceIdOfCurrentSegment)</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getSequenceId--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getSequenceId</h4> +<pre>public long getSequenceId()</pre> +<div class="block">Get the sequence id of the record in the log.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>sequence id of the record in the log.</dd> +</dl> +</li> +</ul> +<a name="getDlsn--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getDlsn</h4> +<pre>public <a href="../../../org/apache/distributedlog/DLSN.html" title="class in org.apache.distributedlog">DLSN</a> getDlsn()</pre> +<div class="block">Get the DLSN of the record in the log.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>DLSN of the record in the log.</dd> +</dl> +</li> +</ul> +<a name="toString--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>toString</h4> +<pre>public <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> toString()</pre> +<dl> +<dt><span class="overrideSpecifyLabel">Overrides:</span></dt> +<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a></code> in class <code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></code></dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/LogRecordWithDLSN.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../org/apache/distributedlog/LogRecordSetBuffer.html" title="interface in org.apache.distributedlog"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/distributedlog/LogRecordWithDLSN.html" target="_top">Frames</a></li> +<li><a href="LogRecordWithDLSN.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li><a href="#nested.classes.inherited.from.class.org.apache.distributedlog.LogRecord">Nested</a> | </li> +<li><a href="#fields.inherited.from.class.org.apache.distributedlog.LogRecord">Field</a> | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2016-2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> +</body> +</html>
http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/49afadb4/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html ---------------------------------------------------------------------- diff --git a/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html b/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html new file mode 100644 index 0000000..904e1df --- /dev/null +++ b/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html @@ -0,0 +1,569 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (1.8.0_92) on Sun Jan 08 19:29:05 PST 2017 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>LogSegmentMetadata.LogSegmentMetadataBuilder (Apache DistributedLog for Java, version 0.4.0-incubating)</title> +<meta name="date" content="2017-01-08"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="LogSegmentMetadata.LogSegmentMetadataBuilder (Apache DistributedLog for Java, version 0.4.0-incubating)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/LogSegmentMetadata.LogSegmentMetadataBuilder.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" title="enum in org.apache.distributedlog"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html" target="_top">Frames</a></li> +<li><a href="LogSegmentMetadata.LogSegmentMetadataBuilder.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li>Constr | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.distributedlog</div> +<h2 title="Class LogSegmentMetadata.LogSegmentMetadataBuilder" class="title">Class LogSegmentMetadata.LogSegmentMetadataBuilder</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li>org.apache.distributedlog.LogSegmentMetadata.LogSegmentMetadataBuilder</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>Direct Known Subclasses:</dt> +<dd><a href="../../../org/apache/distributedlog/LogSegmentMetadata.Mutator.html" title="class in org.apache.distributedlog">LogSegmentMetadata.Mutator</a></dd> +</dl> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></dd> +</dl> +<hr> +<br> +<pre>public static class <span class="typeNameLabel">LogSegmentMetadata.LogSegmentMetadataBuilder</span> +extends <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#completionTime">completionTime</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#envelopeEntries">envelopeEntries</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#firstTxId">firstTxId</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#inprogress">inprogress</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#lastEntryId">lastEntryId</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#lastSlotId">lastSlotId</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#lastTxId">lastTxId</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#logSegmentId">logSegmentId</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#logSegmentSequenceNo">logSegmentSequenceNo</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#minActiveEntryId">minActiveEntryId</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#minActiveSlotId">minActiveSlotId</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#recordCount">recordCount</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#regionId">regionId</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#startSequenceId">startSequenceId</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected long</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#status">status</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>protected <a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" title="enum in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataVersion</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#version">version</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#zkPath">zkPath</a></span></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#build--">build</a></span>()</code> </td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html" title="class in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#setCompletionTime-long-">setCompletionTime</a></span>(long completionTime)</code> </td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html" title="class in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#setInprogress-boolean-">setInprogress</a></span>(boolean inprogress)</code> </td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html" title="class in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#setLastEntryId-long-">setLastEntryId</a></span>(long lastEntryId)</code> </td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html" title="class in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#setLastTxId-long-">setLastTxId</a></span>(long lastTxId)</code> </td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html" title="class in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#setRecordCount-int-">setRecordCount</a></span>(int recordCount)</code> </td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html" title="class in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataBuilder</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#setRecordCount-org.apache.distributedlog.LogRecord-">setRecordCount</a></span>(<a href="../../../org/apache/distributedlog/LogRecord.html" title="class in org.apache.distributedlog">LogRecord</a> record)</code> </td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com /javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="zkPath"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>zkPath</h4> +<pre>protected <a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> zkPath</pre> +</li> +</ul> +<a name="logSegmentId"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>logSegmentId</h4> +<pre>protected long logSegmentId</pre> +</li> +</ul> +<a name="version"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>version</h4> +<pre>protected <a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" title="enum in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataVersion</a> version</pre> +</li> +</ul> +<a name="firstTxId"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>firstTxId</h4> +<pre>protected long firstTxId</pre> +</li> +</ul> +<a name="regionId"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>regionId</h4> +<pre>protected int regionId</pre> +</li> +</ul> +<a name="status"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>status</h4> +<pre>protected long status</pre> +</li> +</ul> +<a name="lastTxId"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>lastTxId</h4> +<pre>protected long lastTxId</pre> +</li> +</ul> +<a name="completionTime"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>completionTime</h4> +<pre>protected long completionTime</pre> +</li> +</ul> +<a name="recordCount"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>recordCount</h4> +<pre>protected int recordCount</pre> +</li> +</ul> +<a name="logSegmentSequenceNo"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>logSegmentSequenceNo</h4> +<pre>protected long logSegmentSequenceNo</pre> +</li> +</ul> +<a name="lastEntryId"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>lastEntryId</h4> +<pre>protected long lastEntryId</pre> +</li> +</ul> +<a name="lastSlotId"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>lastSlotId</h4> +<pre>protected long lastSlotId</pre> +</li> +</ul> +<a name="minActiveEntryId"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>minActiveEntryId</h4> +<pre>protected long minActiveEntryId</pre> +</li> +</ul> +<a name="minActiveSlotId"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>minActiveSlotId</h4> +<pre>protected long minActiveSlotId</pre> +</li> +</ul> +<a name="startSequenceId"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>startSequenceId</h4> +<pre>protected long startSequenceId</pre> +</li> +</ul> +<a name="inprogress"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>inprogress</h4> +<pre>protected boolean inprogress</pre> +</li> +</ul> +<a name="envelopeEntries"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>envelopeEntries</h4> +<pre>protected boolean envelopeEntries</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="setLastTxId-long-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLastTxId</h4> +<pre>public <a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html" title="class in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataBuilder</a> setLastTxId(long lastTxId)</pre> +</li> +</ul> +<a name="setCompletionTime-long-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setCompletionTime</h4> +<pre>public <a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html" title="class in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataBuilder</a> setCompletionTime(long completionTime)</pre> +</li> +</ul> +<a name="setRecordCount-int-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setRecordCount</h4> +<pre>public <a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html" title="class in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataBuilder</a> setRecordCount(int recordCount)</pre> +</li> +</ul> +<a name="setRecordCount-org.apache.distributedlog.LogRecord-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setRecordCount</h4> +<pre>public <a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html" title="class in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataBuilder</a> setRecordCount(<a href="../../../org/apache/distributedlog/LogRecord.html" title="class in org.apache.distributedlog">LogRecord</a> record)</pre> +</li> +</ul> +<a name="setInprogress-boolean-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setInprogress</h4> +<pre>public <a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html" title="class in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataBuilder</a> setInprogress(boolean inprogress)</pre> +</li> +</ul> +<a name="setLastEntryId-long-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>setLastEntryId</h4> +<pre>public <a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html" title="class in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataBuilder</a> setLastEntryId(long lastEntryId)</pre> +</li> +</ul> +<a name="build--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>build</h4> +<pre>public <a href="../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a> build()</pre> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/LogSegmentMetadata.LogSegmentMetadataBuilder.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" title="enum in org.apache.distributedlog"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html" target="_top">Frames</a></li> +<li><a href="LogSegmentMetadata.LogSegmentMetadataBuilder.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#field.summary">Field</a> | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#field.detail">Field</a> | </li> +<li>Constr | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2016-2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> +</body> +</html> http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/49afadb4/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html ---------------------------------------------------------------------- diff --git a/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html b/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html new file mode 100644 index 0000000..5d3582b --- /dev/null +++ b/docs/0.4.0-incubating/api/java/org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html @@ -0,0 +1,444 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> +<!-- NewPage --> +<html lang="en"> +<head> +<!-- Generated by javadoc (1.8.0_92) on Sun Jan 08 19:29:05 PST 2017 --> +<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> +<title>LogSegmentMetadata.LogSegmentMetadataVersion (Apache DistributedLog for Java, version 0.4.0-incubating)</title> +<meta name="date" content="2017-01-08"> +<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="LogSegmentMetadata.LogSegmentMetadataVersion (Apache DistributedLog for Java, version 0.4.0-incubating)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":9,"i1":9,"i2":9}; +var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/LogSegmentMetadata.LogSegmentMetadataVersion.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html" title="class in org.apache.distributedlog"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/distributedlog/LogSegmentMetadata.Mutator.html" title="class in org.apache.distributedlog"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" target="_top">Frames</a></li> +<li><a href="LogSegmentMetadata.LogSegmentMetadataVersion.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#enum.constant.summary">Enum Constants</a> | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#enum.constant.detail">Enum Constants</a> | </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.distributedlog</div> +<h2 title="Enum LogSegmentMetadata.LogSegmentMetadataVersion" class="title">Enum LogSegmentMetadata.LogSegmentMetadataVersion</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</a></li> +<li> +<ul class="inheritance"> +<li><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">java.lang.Enum</a><<a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" title="enum in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataVersion</a>></li> +<li> +<ul class="inheritance"> +<li>org.apache.distributedlog.LogSegmentMetadata.LogSegmentMetadataVersion</li> +</ul> +</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Implemented Interfaces:</dt> +<dd><a href="http://download.oracle.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a><<a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" title="enum in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataVersion</a>></dd> +</dl> +<dl> +<dt>Enclosing class:</dt> +<dd><a href="../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></dd> +</dl> +<hr> +<br> +<pre>public static enum <span class="typeNameLabel">LogSegmentMetadata.LogSegmentMetadataVersion</span> +extends <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a><<a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" title="enum in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataVersion</a>></pre> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- =========== ENUM CONSTANT SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="enum.constant.summary"> +<!-- --> +</a> +<h3>Enum Constant Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Enum Constant Summary table, listing enum constants, and an explanation"> +<caption><span>Enum Constants</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Enum Constant and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html#VERSION_INVALID">VERSION_INVALID</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html#VERSION_V1_ORIGINAL">VERSION_V1_ORIGINAL</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html#VERSION_V2_LEDGER_SEQNO">VERSION_V2_LEDGER_SEQNO</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html#VERSION_V3_MIN_ACTIVE_DLSN">VERSION_V3_MIN_ACTIVE_DLSN</a></span></code> </td> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html#VERSION_V4_ENVELOPED_ENTRIES">VERSION_V4_ENVELOPED_ENTRIES</a></span></code> </td> +</tr> +<tr class="rowColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html#VERSION_V5_SEQUENCE_ID">VERSION_V5_SEQUENCE_ID</a></span></code> </td> +</tr> +</table> +</li> +</ul> +<!-- =========== FIELD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.summary"> +<!-- --> +</a> +<h3>Field Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation"> +<caption><span>Fields</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Field and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>int</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html#value">value</a></span></code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>static <a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" title="enum in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataVersion</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html#of-int-">of</a></span>(int version)</code> </td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>static <a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" title="enum in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataVersion</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html#valueOf-java.lang.String-">valueOf</a></span>(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</code> +<div class="block">Returns the enum constant of this type with the specified name.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>static <a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" title="enum in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataVersion</a>[]</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html#values--">values</a></span>()</code> +<div class="block">Returns an array containing the constants of this enum type, in +the order they are declared.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Enum"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang">Enum</a></h3> +<code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#clone--" title="class or interface in java.lang">clone</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#compareTo-E-" title="class or interface in java.lang">compareTo</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#equals-java.lang.Object-" title="class or interface in java.lang">equals</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#finalize--" title="class or interface in java.lang">finalize</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#getDeclaringClass--" title="class or interface in java.lang">getDeclaringClass</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#hashCode--" title="class or interface in java.lang">hashCode</a>, <a href="http://downlo ad.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#name--" title="class or interface in java.lang">name</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#ordinal--" title="class or interface in java.lang">ordinal</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#toString--" title="class or interface in java.lang">toString</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Enum.html?is-external=true#valueOf-java.lang.Class-java.lang.String-" title="class or interface in java.lang">valueOf</a></code></li> +</ul> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</a></h3> +<code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass--" title="class or interface in java.lang">getClass</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify--" title="class or interface in java.lang">notify</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll--" title="class or interface in java.lang">notifyAll</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait--" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-" title="class or interface in java.lang">wait</a>, <a href="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait-long-int-" title="class or interface in java.lang">wait</a></code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ ENUM CONSTANT DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="enum.constant.detail"> +<!-- --> +</a> +<h3>Enum Constant Detail</h3> +<a name="VERSION_INVALID"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>VERSION_INVALID</h4> +<pre>public static final <a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" title="enum in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataVersion</a> VERSION_INVALID</pre> +</li> +</ul> +<a name="VERSION_V1_ORIGINAL"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>VERSION_V1_ORIGINAL</h4> +<pre>public static final <a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" title="enum in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataVersion</a> VERSION_V1_ORIGINAL</pre> +</li> +</ul> +<a name="VERSION_V2_LEDGER_SEQNO"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>VERSION_V2_LEDGER_SEQNO</h4> +<pre>public static final <a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" title="enum in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataVersion</a> VERSION_V2_LEDGER_SEQNO</pre> +</li> +</ul> +<a name="VERSION_V3_MIN_ACTIVE_DLSN"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>VERSION_V3_MIN_ACTIVE_DLSN</h4> +<pre>public static final <a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" title="enum in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataVersion</a> VERSION_V3_MIN_ACTIVE_DLSN</pre> +</li> +</ul> +<a name="VERSION_V4_ENVELOPED_ENTRIES"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>VERSION_V4_ENVELOPED_ENTRIES</h4> +<pre>public static final <a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" title="enum in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataVersion</a> VERSION_V4_ENVELOPED_ENTRIES</pre> +</li> +</ul> +<a name="VERSION_V5_SEQUENCE_ID"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>VERSION_V5_SEQUENCE_ID</h4> +<pre>public static final <a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" title="enum in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataVersion</a> VERSION_V5_SEQUENCE_ID</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ FIELD DETAIL =========== --> +<ul class="blockList"> +<li class="blockList"><a name="field.detail"> +<!-- --> +</a> +<h3>Field Detail</h3> +<a name="value"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>value</h4> +<pre>public final int value</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="values--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>values</h4> +<pre>public static <a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" title="enum in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataVersion</a>[] values()</pre> +<div class="block">Returns an array containing the constants of this enum type, in +the order they are declared. This method may be used to iterate +over the constants as follows: +<pre> +for (LogSegmentMetadata.LogSegmentMetadataVersion c : LogSegmentMetadata.LogSegmentMetadataVersion.values()) + System.out.println(c); +</pre></div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>an array containing the constants of this enum type, in the order they are declared</dd> +</dl> +</li> +</ul> +<a name="valueOf-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>valueOf</h4> +<pre>public static <a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" title="enum in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataVersion</a> valueOf(<a href="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a> name)</pre> +<div class="block">Returns the enum constant of this type with the specified name. +The string must match <i>exactly</i> an identifier used to declare an +enum constant in this type. (Extraneous whitespace characters are +not permitted.)</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>name</code> - the name of the enum constant to be returned.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the enum constant with the specified name</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</a></code> - if this enum type has no constant with the specified name</dd> +<dd><code><a href="http://download.oracle.com/javase/6/docs/api/java/lang/NullPointerException.html?is-external=true" title="class or interface in java.lang">NullPointerException</a></code> - if the argument is null</dd> +</dl> +</li> +</ul> +<a name="of-int-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>of</h4> +<pre>public static <a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" title="enum in org.apache.distributedlog">LogSegmentMetadata.LogSegmentMetadataVersion</a> of(int version)</pre> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/LogSegmentMetadata.LogSegmentMetadataVersion.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../index-all.html">Index</a></li> +<li><a href="../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html" title="class in org.apache.distributedlog"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../org/apache/distributedlog/LogSegmentMetadata.Mutator.html" title="class in org.apache.distributedlog"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../index.html?org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataVersion.html" target="_top">Frames</a></li> +<li><a href="LogSegmentMetadata.LogSegmentMetadataVersion.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li><a href="#enum.constant.summary">Enum Constants</a> | </li> +<li><a href="#field.summary">Field</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li><a href="#enum.constant.detail">Enum Constants</a> | </li> +<li><a href="#field.detail">Field</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2016-2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p> +</body> +</html>