distributedlog-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From si...@apache.org
Subject [01/51] [partial] incubator-distributedlog git commit: Release 0.4.0-incubating
Date Wed, 26 Apr 2017 18:56:24 GMT
Repository: incubator-distributedlog
Updated Branches:
  refs/heads/asf-site 1e6843e5b -> ef7245e87


http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/ef7245e8/content/docs/latest/api/java/org/apache/distributedlog/class-use/LogSegmentMetadata.html
----------------------------------------------------------------------
diff --git a/content/docs/latest/api/java/org/apache/distributedlog/class-use/LogSegmentMetadata.html b/content/docs/latest/api/java/org/apache/distributedlog/class-use/LogSegmentMetadata.html
new file mode 100644
index 0000000..1266175
--- /dev/null
+++ b/content/docs/latest/api/java/org/apache/distributedlog/class-use/LogSegmentMetadata.html
@@ -0,0 +1,714 @@
+<!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_121) on Wed Apr 26 11:47:00 PDT 2017 -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Uses of Class org.apache.distributedlog.LogSegmentMetadata (Apache DistributedLog for Java, version latest)</title>
+<meta name="date" content="2017-04-26">
+<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="Uses of Class org.apache.distributedlog.LogSegmentMetadata (Apache DistributedLog for Java, version latest)";
+        }
+    }
+    catch(err) {
+    }
+//-->
+</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><a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">Class</a></li>
+<li class="navBarCell1Rev">Use</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>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/distributedlog/class-use/LogSegmentMetadata.html" target="_top">Frames</a></li>
+<li><a href="LogSegmentMetadata.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_top">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;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>
+<a name="skip.navbar.top">
+<!--   -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class org.apache.distributedlog.LogSegmentMetadata" class="title">Uses of Class<br>org.apache.distributedlog.LogSegmentMetadata</h2>
+</div>
+<div class="classUseContainer">
+<ul class="blockList">
+<li class="blockList">
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
+<caption><span>Packages that use <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Package</th>
+<th class="colLast" scope="col">Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><a href="#org.apache.distributedlog">org.apache.distributedlog</a></td>
+<td class="colLast">
+<div class="block">Protocol & Core of DistributedLog</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="#org.apache.distributedlog.callback">org.apache.distributedlog.callback</a></td>
+<td class="colLast">
+<div class="block">Callbacks for distributedlog operations.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a href="#org.apache.distributedlog.logsegment">org.apache.distributedlog.logsegment</a></td>
+<td class="colLast">
+<div class="block">Log Segment Management</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><a href="#org.apache.distributedlog.metadata">org.apache.distributedlog.metadata</a></td>
+<td class="colLast">
+<div class="block">Metadata management for distributedlog.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList">
+<ul class="blockList">
+<li class="blockList"><a name="org.apache.distributedlog">
+<!--   -->
+</a>
+<h3>Uses of <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a> in <a href="../../../../org/apache/distributedlog/package-summary.html">org.apache.distributedlog</a></h3>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
+<caption><span>Fields in <a href="../../../../org/apache/distributedlog/package-summary.html">org.apache.distributedlog</a> with type parameters of type <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Field and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>static <a href="http://download.oracle.com/javase/6/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a>&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadata.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html#COMPARATOR">COMPARATOR</a></span></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="http://download.oracle.com/javase/6/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a>&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadata.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html#DESC_COMPARATOR">DESC_COMPARATOR</a></span></code>&nbsp;</td>
+</tr>
+</tbody>
+</table>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a href="../../../../org/apache/distributedlog/package-summary.html">org.apache.distributedlog</a> that return <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr 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"><span class="typeNameLabel">LogSegmentMetadata.LogSegmentMetadataBuilder.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/LogSegmentMetadata.LogSegmentMetadataBuilder.html#build--">build</a></span>()</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadata.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html#parseData-java.lang.String-byte:A-">parseData</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>&nbsp;path,
+         byte[]&nbsp;data)</code>&nbsp;</td>
+</tr>
+</tbody>
+</table>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a href="../../../../org/apache/distributedlog/package-summary.html">org.apache.distributedlog</a> that return types with arguments of type <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">DistributedLogManager.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/DistributedLogManager.html#getLogSegments--">getLogSegments</a></span>()</code>
+<div class="block">Get log segments.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadata.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html#read-org.apache.distributedlog.ZooKeeperClient-java.lang.String-">read</a></span>(<a href="../../../../org/apache/distributedlog/ZooKeeperClient.html" title="class in org.apache.distributedlog">ZooKeeperClient</a>&nbsp;zkc,
+    <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>&nbsp;path)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadata.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html#read-org.apache.distributedlog.ZooKeeperClient-java.lang.String-boolean-">read</a></span>(<a href="../../../../org/apache/distributedlog/ZooKeeperClient.html" title="class in org.apache.distributedlog">ZooKeeperClient</a>&nbsp;zkc,
+    <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>&nbsp;path,
+    boolean&nbsp;skipMinVersionCheck)</code>&nbsp;</td>
+</tr>
+</tbody>
+</table>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a href="../../../../org/apache/distributedlog/package-summary.html">org.apache.distributedlog</a> with parameters of type <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>static com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogRecordWithDLSN.html" title="class in org.apache.distributedlog">LogRecordWithDLSN</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">ReadUtils.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/ReadUtils.html#asyncReadFirstUserRecord-java.lang.String-org.apache.distributedlog.LogSegmentMetadata-int-int-java.util.concurrent.atomic.AtomicInteger-java.util.concurrent.ExecutorService-org.apache.distributedlog.logsegment.LogSegmentEntryStore-org.apache.distributedlog.DLSN-">asyncReadFirstUserRecord</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>&nbsp;streamName,
+                        <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;l,
+                        int&nbsp;scanStartBatchSize,
+                        int&nbsp;scanMaxBatchSize,
+                        <a href="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/atomic/AtomicInteger.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicInteger</a>&nbsp;numRecordsScanned,
+                        <a href="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a>&nbsp;executorService,
+                        <a href="../../../../org/apache/distributedlog/logsegment/LogSegmentEntryStore.html" title="interface in org.apache.distributedlog.logsegment">LogSegmentEntryStore</a>&nbsp;entryStore,
+                        <a href="../../../../org/apache/distributedlog/DLSN.html" title="class in org.apache.distributedlog">DLSN</a>&nbsp;dlsn)</code>
+<div class="block">Read first record from a log segment with a DLSN larger than that given.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogRecordWithDLSN.html" title="class in org.apache.distributedlog">LogRecordWithDLSN</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">ReadUtils.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/ReadUtils.html#asyncReadLastRecord-java.lang.String-org.apache.distributedlog.LogSegmentMetadata-boolean-boolean-boolean-int-int-java.util.concurrent.atomic.AtomicInteger-java.util.concurrent.ExecutorService-org.apache.distributedlog.logsegment.LogSegmentEntryStore-">asyncReadLastRecord</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>&nbsp;streamName,
+                   <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;l,
+                   boolean&nbsp;fence,
+                   boolean&nbsp;includeControl,
+                   boolean&nbsp;includeEndOfStream,
+                   int&nbsp;scanStartBatchSize,
+                   int&nbsp;scanMaxBatchSize,
+                   <a href="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/atomic/AtomicInteger.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicInteger</a>&nbsp;numRecordsScanned,
+                   <a href="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a>&nbsp;executorService,
+                   <a href="../../../../org/apache/distributedlog/logsegment/LogSegmentEntryStore.html" title="interface in org.apache.distributedlog.logsegment">LogSegmentEntryStore</a>&nbsp;entryStore)</code>
+<div class="block">Read last record from a log segment.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static com.twitter.util.Future&lt;com.google.common.base.Optional&lt;<a href="../../../../org/apache/distributedlog/LogRecordWithDLSN.html" title="class in org.apache.distributedlog">LogRecordWithDLSN</a>&gt;&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">ReadUtils.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/ReadUtils.html#getLogRecordNotLessThanTxId-java.lang.String-org.apache.distributedlog.LogSegmentMetadata-long-java.util.concurrent.ExecutorService-org.apache.distributedlog.logsegment.LogSegmentEntryStore-int-">getLogRecordNotLessThanTxId</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>&nbsp;logName,
+                           <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+                           long&nbsp;transactionId,
+                           <a href="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/ExecutorService.html?is-external=true" title="class or interface in java.util.concurrent">ExecutorService</a>&nbsp;executorService,
+                           <a href="../../../../org/apache/distributedlog/logsegment/LogSegmentEntryStore.html" title="interface in org.apache.distributedlog.logsegment">LogSegmentEntryStore</a>&nbsp;entryStore,
+                           int&nbsp;nWays)</code>
+<div class="block">Get the log record whose transaction id is not less than provided <code>transactionId</code>.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList"><a name="org.apache.distributedlog.callback">
+<!--   -->
+</a>
+<h3>Uses of <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a> in <a href="../../../../org/apache/distributedlog/callback/package-summary.html">org.apache.distributedlog.callback</a></h3>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Method parameters in <a href="../../../../org/apache/distributedlog/callback/package-summary.html">org.apache.distributedlog.callback</a> with type arguments of type <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentListener.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/callback/LogSegmentListener.html#onSegmentsUpdated-java.util.List-">onSegmentsUpdated</a></span>(<a href="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;&nbsp;segments)</code>
+<div class="block">Notified when <i>segments</i> updated.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList"><a name="org.apache.distributedlog.logsegment">
+<!--   -->
+</a>
+<h3>Uses of <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a> in <a href="../../../../org/apache/distributedlog/logsegment/package-summary.html">org.apache.distributedlog.logsegment</a></h3>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing fields, and an explanation">
+<caption><span>Fields in <a href="../../../../org/apache/distributedlog/logsegment/package-summary.html">org.apache.distributedlog.logsegment</a> with type parameters of type <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Field and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/ConcurrentMap.html?is-external=true" title="class or interface in java.util.concurrent">ConcurrentMap</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Long.html?is-external=true" title="class or interface in java.lang">Long</a>,<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">PerStreamLogSegmentCache.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/PerStreamLogSegmentCache.html#lid2LogSegments">lid2LogSegments</a></span></code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected <a href="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<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>,<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">PerStreamLogSegmentCache.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/PerStreamLogSegmentCache.html#logSegments">logSegments</a></span></code>&nbsp;</td>
+</tr>
+</tbody>
+</table>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a href="../../../../org/apache/distributedlog/logsegment/package-summary.html">org.apache.distributedlog.logsegment</a> that return <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr 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"><span class="typeNameLabel">PerStreamLogSegmentCache.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/PerStreamLogSegmentCache.html#get-java.lang.String-">get</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>&nbsp;name)</code>
+<div class="block">Retrieve log segment <code>name</code> from the cache.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataCache.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/LogSegmentMetadataCache.html#get-java.lang.String-">get</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>&nbsp;path)</code>
+<div class="block">Retrieve the log segment of <i>path</i> from the cache.</div>
+</td>
+</tr>
+<tr 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"><span class="typeNameLabel">LogSegmentEntryReader.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/LogSegmentEntryReader.html#getSegment--">getSegment</a></span>()</code>
+<div class="block">Return the log segment metadata for this reader.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></code></td>
+<td class="colLast"><span class="typeNameLabel">PerStreamLogSegmentCache.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/PerStreamLogSegmentCache.html#remove-java.lang.String-">remove</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>&nbsp;name)</code>
+<div class="block">Remove log segment <code>name</code> from the cache.</div>
+</td>
+</tr>
+</tbody>
+</table>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a href="../../../../org/apache/distributedlog/logsegment/package-summary.html">org.apache.distributedlog.logsegment</a> that return types with arguments of type <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentEntryStore.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/LogSegmentEntryStore.html#deleteLogSegment-org.apache.distributedlog.LogSegmentMetadata-">deleteLogSegment</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment)</code>
+<div class="block">Delete the actual log segment from the entry store.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStore.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/LogSegmentMetadataStore.html#getLogSegment-java.lang.String-">getLogSegment</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>&nbsp;logSegmentPath)</code>
+<div class="block">Retrieve the log segment associated <code>path</code>.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">PerStreamLogSegmentCache.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/PerStreamLogSegmentCache.html#getLogSegments-java.util.Comparator-">getLogSegments</a></span>(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a>&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;&nbsp;comparator)</code>
+<div class="block">Retrieve log segments from the cache.</div>
+</td>
+</tr>
+</tbody>
+</table>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a href="../../../../org/apache/distributedlog/logsegment/package-summary.html">org.apache.distributedlog.logsegment</a> with parameters of type <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><span class="typeNameLabel">PerStreamLogSegmentCache.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/PerStreamLogSegmentCache.html#add-java.lang.String-org.apache.distributedlog.LogSegmentMetadata-">add</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>&nbsp;name,
+   <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;metadata)</code>
+<div class="block">Add the segment <i>metadata</i> for <i>name</i> in the cache.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStore.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/LogSegmentMetadataStore.html#createLogSegment-org.apache.distributedlog.util.Transaction-org.apache.distributedlog.LogSegmentMetadata-org.apache.distributedlog.util.Transaction.OpListener-">createLogSegment</a></span>(org.apache.distributedlog.util.Transaction&lt;<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>&gt;&nbsp;txn,
+                <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+                org.apache.distributedlog.util.Transaction.OpListener&lt;<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>&gt;&nbsp;opListener)</code>
+<div class="block">Create a log segment <code>segment</code> under transaction <code>txn</code>.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentEntryStore.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/LogSegmentEntryStore.html#deleteLogSegment-org.apache.distributedlog.LogSegmentMetadata-">deleteLogSegment</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment)</code>
+<div class="block">Delete the actual log segment from the entry store.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStore.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/LogSegmentMetadataStore.html#deleteLogSegment-org.apache.distributedlog.util.Transaction-org.apache.distributedlog.LogSegmentMetadata-org.apache.distributedlog.util.Transaction.OpListener-">deleteLogSegment</a></span>(org.apache.distributedlog.util.Transaction&lt;<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>&gt;&nbsp;txn,
+                <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+                org.apache.distributedlog.util.Transaction.OpListener&lt;<a href="http://download.oracle.com/javase/6/docs/api/java/lang/Void.html?is-external=true" title="class or interface in java.lang">Void</a>&gt;&nbsp;opListener)</code>
+<div class="block">Delete a log segment <code>segment</code> under transaction <code>txn</code>.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentEntryReader.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/LogSegmentEntryReader.html#onLogSegmentMetadataUpdated-org.apache.distributedlog.LogSegmentMetadata-">onLogSegmentMetadataUpdated</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment)</code>
+<div class="block">Update the log segment each time when the metadata has changed.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/logsegment/LogSegmentRandomAccessEntryReader.html" title="interface in org.apache.distributedlog.logsegment">LogSegmentRandomAccessEntryReader</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentEntryStore.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/LogSegmentEntryStore.html#openRandomAccessReader-org.apache.distributedlog.LogSegmentMetadata-boolean-">openRandomAccessReader</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+                      boolean&nbsp;fence)</code>
+<div class="block">Open the reader for reading entries from a random access log <i>segment</i>.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/logsegment/LogSegmentEntryReader.html" title="interface in org.apache.distributedlog.logsegment">LogSegmentEntryReader</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentEntryStore.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/LogSegmentEntryStore.html#openReader-org.apache.distributedlog.LogSegmentMetadata-long-">openReader</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+          long&nbsp;startEntryId)</code>
+<div class="block">Open the reader for reading data to the log <i>segment</i>.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataCache.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/LogSegmentMetadataCache.html#put-java.lang.String-org.apache.distributedlog.LogSegmentMetadata-">put</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>&nbsp;path,
+   <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment)</code>
+<div class="block">Add the log <i>segment</i> of <i>path</i> to the cache.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStore.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/LogSegmentMetadataStore.html#updateLogSegment-org.apache.distributedlog.util.Transaction-org.apache.distributedlog.LogSegmentMetadata-">updateLogSegment</a></span>(org.apache.distributedlog.util.Transaction&lt;<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>&gt;&nbsp;txn,
+                <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment)</code>
+<div class="block">Update a log segment <code>segment</code> under transaction <code>txn</code>.</div>
+</td>
+</tr>
+</tbody>
+</table>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Method parameters in <a href="../../../../org/apache/distributedlog/logsegment/package-summary.html">org.apache.distributedlog.logsegment</a> with type arguments of type <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code><a href="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</a>&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">PerStreamLogSegmentCache.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/PerStreamLogSegmentCache.html#getLogSegments-java.util.Comparator-">getLogSegments</a></span>(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Comparator.html?is-external=true" title="class or interface in java.util">Comparator</a>&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;&nbsp;comparator)</code>
+<div class="block">Retrieve log segments from the cache.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataCache.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/LogSegmentMetadataCache.html#onRemoval-com.google.common.cache.RemovalNotification-">onRemoval</a></span>(com.google.common.cache.RemovalNotification&lt;<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>,<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;&nbsp;notification)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><span class="typeNameLabel">PerStreamLogSegmentCache.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/logsegment/PerStreamLogSegmentCache.html#update-java.util.Set-java.util.Map-">update</a></span>(<a href="http://download.oracle.com/javase/6/docs/api/java/util/Set.html?is-external=true" title="class or interface in java.util">Set</a>&lt;<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>&gt;&nbsp;segmentsRemoved,
+      <a href="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</a>&lt;<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>,<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;&nbsp;segmentsAdded)</code>
+<div class="block">Update the log segment cache with removed/added segments.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList"><a name="org.apache.distributedlog.metadata">
+<!--   -->
+</a>
+<h3>Uses of <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a> in <a href="../../../../org/apache/distributedlog/metadata/package-summary.html">org.apache.distributedlog.metadata</a></h3>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a href="../../../../org/apache/distributedlog/metadata/package-summary.html">org.apache.distributedlog.metadata</a> that return <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr 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"><span class="typeNameLabel">MetadataUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/MetadataUpdater.html#setLogSegmentPartiallyTruncated-org.apache.distributedlog.util.Transaction-org.apache.distributedlog.LogSegmentMetadata-org.apache.distributedlog.DLSN-">setLogSegmentPartiallyTruncated</a></span>(org.apache.distributedlog.util.Transaction&lt;<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>&gt;&nbsp;txn,
+                               <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+                               <a href="../../../../org/apache/distributedlog/DLSN.html" title="class in org.apache.distributedlog">DLSN</a>&nbsp;minActiveDLSN)</code>
+<div class="block">Change the truncation status of a <i>log segment</i> to partially truncated.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStoreUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/LogSegmentMetadataStoreUpdater.html#setLogSegmentPartiallyTruncated-org.apache.distributedlog.util.Transaction-org.apache.distributedlog.LogSegmentMetadata-org.apache.distributedlog.DLSN-">setLogSegmentPartiallyTruncated</a></span>(org.apache.distributedlog.util.Transaction&lt;<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>&gt;&nbsp;txn,
+                               <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+                               <a href="../../../../org/apache/distributedlog/DLSN.html" title="class in org.apache.distributedlog">DLSN</a>&nbsp;minActiveDLSN)</code>&nbsp;</td>
+</tr>
+<tr 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"><span class="typeNameLabel">MetadataUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/MetadataUpdater.html#setLogSegmentTruncated-org.apache.distributedlog.util.Transaction-org.apache.distributedlog.LogSegmentMetadata-">setLogSegmentTruncated</a></span>(org.apache.distributedlog.util.Transaction&lt;<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>&gt;&nbsp;txn,
+                      <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment)</code>
+<div class="block">Change the truncation status of a <i>log segment</i> to truncated.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStoreUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/LogSegmentMetadataStoreUpdater.html#setLogSegmentTruncated-org.apache.distributedlog.util.Transaction-org.apache.distributedlog.LogSegmentMetadata-">setLogSegmentTruncated</a></span>(org.apache.distributedlog.util.Transaction&lt;<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>&gt;&nbsp;txn,
+                      <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment)</code>&nbsp;</td>
+</tr>
+</tbody>
+</table>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a href="../../../../org/apache/distributedlog/metadata/package-summary.html">org.apache.distributedlog.metadata</a> that return types with arguments of type <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>protected com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStoreUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/LogSegmentMetadataStoreUpdater.html#addNewSegmentAndDeleteOldSegment-org.apache.distributedlog.LogSegmentMetadata-org.apache.distributedlog.LogSegmentMetadata-">addNewSegmentAndDeleteOldSegment</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;newSegment,
+                                <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;oldSegment)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">MetadataUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/MetadataUpdater.html#changeSequenceNumber-org.apache.distributedlog.LogSegmentMetadata-long-">changeSequenceNumber</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+                    long&nbsp;logSegmentSeqNo)</code>
+<div class="block">Change ledger sequence number of <i>segment</i> to given <i>logSegmentSeqNo</i>.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStoreUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/LogSegmentMetadataStoreUpdater.html#changeSequenceNumber-org.apache.distributedlog.LogSegmentMetadata-long-">changeSequenceNumber</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+                    long&nbsp;logSegmentSeqNo)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">MetadataUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/MetadataUpdater.html#setLogSegmentActive-org.apache.distributedlog.LogSegmentMetadata-">setLogSegmentActive</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment)</code>
+<div class="block">Change the truncation status of a <i>log segment</i> to be active</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStoreUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/LogSegmentMetadataStoreUpdater.html#setLogSegmentActive-org.apache.distributedlog.LogSegmentMetadata-">setLogSegmentActive</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment)</code>
+<div class="block">Change the truncation status of a <i>log segment</i> to be active</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">MetadataUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/MetadataUpdater.html#setLogSegmentPartiallyTruncated-org.apache.distributedlog.LogSegmentMetadata-org.apache.distributedlog.DLSN-">setLogSegmentPartiallyTruncated</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+                               <a href="../../../../org/apache/distributedlog/DLSN.html" title="class in org.apache.distributedlog">DLSN</a>&nbsp;minActiveDLSN)</code>
+<div class="block">Change the truncation status of a <i>log segment</i> to partially truncated</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStoreUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/LogSegmentMetadataStoreUpdater.html#setLogSegmentPartiallyTruncated-org.apache.distributedlog.LogSegmentMetadata-org.apache.distributedlog.DLSN-">setLogSegmentPartiallyTruncated</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+                               <a href="../../../../org/apache/distributedlog/DLSN.html" title="class in org.apache.distributedlog">DLSN</a>&nbsp;minActiveDLSN)</code>
+<div class="block">Change the truncation status of a <i>log segment</i> to partially truncated</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">MetadataUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/MetadataUpdater.html#setLogSegmentTruncated-org.apache.distributedlog.LogSegmentMetadata-">setLogSegmentTruncated</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment)</code>
+<div class="block">Change the truncation status of a <i>log segment</i> to truncated</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStoreUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/LogSegmentMetadataStoreUpdater.html#setLogSegmentTruncated-org.apache.distributedlog.LogSegmentMetadata-">setLogSegmentTruncated</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment)</code>
+<div class="block">Change the truncation status of a <i>log segment</i> to truncated</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">MetadataUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/MetadataUpdater.html#updateLastRecord-org.apache.distributedlog.LogSegmentMetadata-org.apache.distributedlog.LogRecordWithDLSN-">updateLastRecord</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+                <a href="../../../../org/apache/distributedlog/LogRecordWithDLSN.html" title="class in org.apache.distributedlog">LogRecordWithDLSN</a>&nbsp;record)</code>
+<div class="block">Update the log segment metadata with correct last <i>record</i>.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStoreUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/LogSegmentMetadataStoreUpdater.html#updateLastRecord-org.apache.distributedlog.LogSegmentMetadata-org.apache.distributedlog.LogRecordWithDLSN-">updateLastRecord</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+                <a href="../../../../org/apache/distributedlog/LogRecordWithDLSN.html" title="class in org.apache.distributedlog">LogRecordWithDLSN</a>&nbsp;record)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStoreUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/LogSegmentMetadataStoreUpdater.html#updateSegmentMetadata-org.apache.distributedlog.LogSegmentMetadata-">updateSegmentMetadata</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment)</code>&nbsp;</td>
+</tr>
+</tbody>
+</table>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation">
+<caption><span>Methods in <a href="../../../../org/apache/distributedlog/metadata/package-summary.html">org.apache.distributedlog.metadata</a> with parameters of type <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></span><span class="tabEnd">&nbsp;</span></caption>
+<tr>
+<th class="colFirst" scope="col">Modifier and Type</th>
+<th class="colLast" scope="col">Method and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>protected com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStoreUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/LogSegmentMetadataStoreUpdater.html#addNewSegmentAndDeleteOldSegment-org.apache.distributedlog.LogSegmentMetadata-org.apache.distributedlog.LogSegmentMetadata-">addNewSegmentAndDeleteOldSegment</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;newSegment,
+                                <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;oldSegment)</code>&nbsp;</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>protected void</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStoreUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/LogSegmentMetadataStoreUpdater.html#addNewSegmentAndDeleteOldSegment-org.apache.distributedlog.util.Transaction-org.apache.distributedlog.LogSegmentMetadata-org.apache.distributedlog.LogSegmentMetadata-">addNewSegmentAndDeleteOldSegment</a></span>(org.apache.distributedlog.util.Transaction&lt;<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>&gt;&nbsp;txn,
+                                <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;newSegment,
+                                <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;oldSegment)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">MetadataUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/MetadataUpdater.html#changeSequenceNumber-org.apache.distributedlog.LogSegmentMetadata-long-">changeSequenceNumber</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+                    long&nbsp;logSegmentSeqNo)</code>
+<div class="block">Change ledger sequence number of <i>segment</i> to given <i>logSegmentSeqNo</i>.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStoreUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/LogSegmentMetadataStoreUpdater.html#changeSequenceNumber-org.apache.distributedlog.LogSegmentMetadata-long-">changeSequenceNumber</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+                    long&nbsp;logSegmentSeqNo)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">MetadataUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/MetadataUpdater.html#setLogSegmentActive-org.apache.distributedlog.LogSegmentMetadata-">setLogSegmentActive</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment)</code>
+<div class="block">Change the truncation status of a <i>log segment</i> to be active</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStoreUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/LogSegmentMetadataStoreUpdater.html#setLogSegmentActive-org.apache.distributedlog.LogSegmentMetadata-">setLogSegmentActive</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment)</code>
+<div class="block">Change the truncation status of a <i>log segment</i> to be active</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">MetadataUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/MetadataUpdater.html#setLogSegmentPartiallyTruncated-org.apache.distributedlog.LogSegmentMetadata-org.apache.distributedlog.DLSN-">setLogSegmentPartiallyTruncated</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+                               <a href="../../../../org/apache/distributedlog/DLSN.html" title="class in org.apache.distributedlog">DLSN</a>&nbsp;minActiveDLSN)</code>
+<div class="block">Change the truncation status of a <i>log segment</i> to partially truncated</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStoreUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/LogSegmentMetadataStoreUpdater.html#setLogSegmentPartiallyTruncated-org.apache.distributedlog.LogSegmentMetadata-org.apache.distributedlog.DLSN-">setLogSegmentPartiallyTruncated</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+                               <a href="../../../../org/apache/distributedlog/DLSN.html" title="class in org.apache.distributedlog">DLSN</a>&nbsp;minActiveDLSN)</code>
+<div class="block">Change the truncation status of a <i>log segment</i> to partially truncated</div>
+</td>
+</tr>
+<tr 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"><span class="typeNameLabel">MetadataUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/MetadataUpdater.html#setLogSegmentPartiallyTruncated-org.apache.distributedlog.util.Transaction-org.apache.distributedlog.LogSegmentMetadata-org.apache.distributedlog.DLSN-">setLogSegmentPartiallyTruncated</a></span>(org.apache.distributedlog.util.Transaction&lt;<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>&gt;&nbsp;txn,
+                               <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+                               <a href="../../../../org/apache/distributedlog/DLSN.html" title="class in org.apache.distributedlog">DLSN</a>&nbsp;minActiveDLSN)</code>
+<div class="block">Change the truncation status of a <i>log segment</i> to partially truncated.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStoreUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/LogSegmentMetadataStoreUpdater.html#setLogSegmentPartiallyTruncated-org.apache.distributedlog.util.Transaction-org.apache.distributedlog.LogSegmentMetadata-org.apache.distributedlog.DLSN-">setLogSegmentPartiallyTruncated</a></span>(org.apache.distributedlog.util.Transaction&lt;<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>&gt;&nbsp;txn,
+                               <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+                               <a href="../../../../org/apache/distributedlog/DLSN.html" title="class in org.apache.distributedlog">DLSN</a>&nbsp;minActiveDLSN)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">MetadataUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/MetadataUpdater.html#setLogSegmentTruncated-org.apache.distributedlog.LogSegmentMetadata-">setLogSegmentTruncated</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment)</code>
+<div class="block">Change the truncation status of a <i>log segment</i> to truncated</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStoreUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/LogSegmentMetadataStoreUpdater.html#setLogSegmentTruncated-org.apache.distributedlog.LogSegmentMetadata-">setLogSegmentTruncated</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment)</code>
+<div class="block">Change the truncation status of a <i>log segment</i> to truncated</div>
+</td>
+</tr>
+<tr 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"><span class="typeNameLabel">MetadataUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/MetadataUpdater.html#setLogSegmentTruncated-org.apache.distributedlog.util.Transaction-org.apache.distributedlog.LogSegmentMetadata-">setLogSegmentTruncated</a></span>(org.apache.distributedlog.util.Transaction&lt;<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>&gt;&nbsp;txn,
+                      <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment)</code>
+<div class="block">Change the truncation status of a <i>log segment</i> to truncated.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a></code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStoreUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/LogSegmentMetadataStoreUpdater.html#setLogSegmentTruncated-org.apache.distributedlog.util.Transaction-org.apache.distributedlog.LogSegmentMetadata-">setLogSegmentTruncated</a></span>(org.apache.distributedlog.util.Transaction&lt;<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>&gt;&nbsp;txn,
+                      <a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">MetadataUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/MetadataUpdater.html#updateLastRecord-org.apache.distributedlog.LogSegmentMetadata-org.apache.distributedlog.LogRecordWithDLSN-">updateLastRecord</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+                <a href="../../../../org/apache/distributedlog/LogRecordWithDLSN.html" title="class in org.apache.distributedlog">LogRecordWithDLSN</a>&nbsp;record)</code>
+<div class="block">Update the log segment metadata with correct last <i>record</i>.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStoreUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/LogSegmentMetadataStoreUpdater.html#updateLastRecord-org.apache.distributedlog.LogSegmentMetadata-org.apache.distributedlog.LogRecordWithDLSN-">updateLastRecord</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment,
+                <a href="../../../../org/apache/distributedlog/LogRecordWithDLSN.html" title="class in org.apache.distributedlog">LogRecordWithDLSN</a>&nbsp;record)</code>&nbsp;</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>protected com.twitter.util.Future&lt;<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&gt;</code></td>
+<td class="colLast"><span class="typeNameLabel">LogSegmentMetadataStoreUpdater.</span><code><span class="memberNameLink"><a href="../../../../org/apache/distributedlog/metadata/LogSegmentMetadataStoreUpdater.html#updateSegmentMetadata-org.apache.distributedlog.LogSegmentMetadata-">updateSegmentMetadata</a></span>(<a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">LogSegmentMetadata</a>&nbsp;segment)</code>&nbsp;</td>
+</tr>
+</tbody>
+</table>
+</li>
+</ul>
+</li>
+</ul>
+</div>
+<!-- ======= 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><a href="../../../../org/apache/distributedlog/LogSegmentMetadata.html" title="class in org.apache.distributedlog">Class</a></li>
+<li class="navBarCell1Rev">Use</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>Prev</li>
+<li>Next</li>
+</ul>
+<ul class="navList">
+<li><a href="../../../../index.html?org/apache/distributedlog/class-use/LogSegmentMetadata.html" target="_top">Frames</a></li>
+<li><a href="LogSegmentMetadata.html" target="_top">No&nbsp;Frames</a></li>
+</ul>
+<ul class="navList" id="allclasses_navbar_bottom">
+<li><a href="../../../../allclasses-noframe.html">All&nbsp;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>
+<a name="skip.navbar.bottom">
+<!--   -->
+</a></div>
+<!-- ======== END OF BOTTOM NAVBAR ======= -->
+<p class="legalCopy"><small>Copyright &#169; 2016-2017 <a href="http://www.apache.org/">The Apache Software Foundation</a>. All Rights Reserved.</small></p>
+</body>
+</html>


Mime
View raw message