http://git-wip-us.apache.org/repos/asf/incubator-distributedlog/blob/1e6843e5/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/DLSN.html
----------------------------------------------------------------------
diff --git
a/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/DLSN.html
b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/DLSN.html
new file mode 100644
index 0000000..a6e02c8
--- /dev/null
+++
b/content/docs/0.4.0-incubating/api/java/org/apache/distributedlog/class-use/DLSN.html
@@ -0,0 +1,674 @@
+<!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:06 PST 2017 -->
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+<title>Uses of Class org.apache.distributedlog.DLSN (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="Uses of Class
org.apache.distributedlog.DLSN (Apache DistributedLog for Java, version
0.4.0-incubating)";
+ }
+ }
+ 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/DLSN.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/DLSN.html"
target="_top">Frames</a></li>
+<li><a href="DLSN.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>
+<a name="skip.navbar.top">
+<!-- -->
+</a></div>
+<!-- ========= END OF TOP NAVBAR ========= -->
+<div class="header">
+<h2 title="Uses of Class org.apache.distributedlog.DLSN" class="title">Uses of
Class<br>org.apache.distributedlog.DLSN</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/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></span><span
class="tabEnd"> </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.client">org.apache.distributedlog.client</a></td>
+<td class="colLast">
+<div class="block">DistributedLog Client.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a
href="#org.apache.distributedlog.io">org.apache.distributedlog.io</a></td>
+<td class="colLast">
+<div class="block">IO Utils for distributedlog</div>
+</td>
+</tr>
+<tr class="rowColor">
+<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="altColor">
+<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>
+<tr class="rowColor">
+<td class="colFirst"><a
href="#org.apache.distributedlog.service">org.apache.distributedlog.service</a></td>
+<td class="colLast">
+<div class="block">DistributedLog Proxy Service.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><a
href="#org.apache.distributedlog.subscription">org.apache.distributedlog.subscription</a></td>
+<td class="colLast"> </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/DLSN.html"
title="class in org.apache.distributedlog">DLSN</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>
declared as <a href="../../../../org/apache/distributedlog/DLSN.html"
title="class in org.apache.distributedlog">DLSN</a></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>
+<tbody>
+<tr class="altColor">
+<td class="colFirst"><code>static <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></code></td>
+<td class="colLast"><span class="typeNameLabel">DLSN.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/DLSN.html#InitialDLSN">InitialDLSN</a></span></code> </td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></code></td>
+<td class="colLast"><span class="typeNameLabel">DLSN.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/DLSN.html#InvalidDLSN">InvalidDLSN</a></span></code> </td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>static <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></code></td>
+<td class="colLast"><span class="typeNameLabel">DLSN.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/DLSN.html#NonInclusiveLowerBound">NonInclusiveLowerBound</a></span></code> </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/DLSN.html"
title="class in org.apache.distributedlog">DLSN</a></span><span
class="tabEnd"> </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 <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></code></td>
+<td class="colLast"><span class="typeNameLabel">DLSN.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/DLSN.html#deserialize-java.lang.String-">deserialize</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> dlsn)</code>
+<div class="block">Deserialize the DLSN from base64 encoded string
<code>dlsn</code>.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>static <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></code></td>
+<td class="colLast"><span class="typeNameLabel">DLSN.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/DLSN.html#deserializeBytes-byte:A-">deserializeBytes</a></span>(byte[] data)</code>
+<div class="block">Deserialize the DLSN from bytes array.</div>
+</td>
+</tr>
+<tr 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"><span
class="typeNameLabel">LogRecordWithDLSN.</span><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 class="rowColor">
+<td class="colFirst"><code><a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></code></td>
+<td class="colLast"><span
class="typeNameLabel">LogSegmentMetadata.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/LogSegmentMetadata.html#getFirstDLSN--">getFirstDLSN</a></span>()</code> </td>
+</tr>
+<tr 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"><span
class="typeNameLabel">LogSegmentMetadata.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/LogSegmentMetadata.html#getLastDLSN--">getLastDLSN</a></span>()</code> </td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></code></td>
+<td class="colLast"><span
class="typeNameLabel">DistributedLogManager.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/DistributedLogManager.html#getLastDLSN--">getLastDLSN</a></span>()</code>
+<div class="block">Get Latest DLSN in the log</div>
+</td>
+</tr>
+<tr 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"><span
class="typeNameLabel">LogSegmentMetadata.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/LogSegmentMetadata.html#getMinActiveDLSN--">getMinActiveDLSN</a></span>()</code> </td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></code></td>
+<td class="colLast"><span class="typeNameLabel">DLSN.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/DLSN.html#getNextDLSN--">getNextDLSN</a></span>()</code>
+<div class="block">Positions to a DLSN greater than the current value.</div>
+</td>
+</tr>
+<tr 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"><span class="typeNameLabel">DLSN.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/DLSN.html#positionOnTheNextLedger--">positionOnTheNextLedger</a></span>()</code>
+<div class="block">Positions to next log segment than the current value.</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/package-summary.html">org.apache.distributedlog</a>
that return types with arguments of type <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></span><span
class="tabEnd"> </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<<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a>></code></td>
+<td class="colLast"><span
class="typeNameLabel">DistributedLogManager.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/DistributedLogManager.html#getDLSNNotLessThanTxId-long-">getDLSNNotLessThanTxId</a></span>(long transactionId)</code>
+<div class="block">Get the <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog"><code>DLSN</code></a> of first log record whose
transaction id is not less than <code>transactionId</code>.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>com.twitter.util.Future<<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a>></code></td>
+<td class="colLast"><span
class="typeNameLabel">DistributedLogManager.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/DistributedLogManager.html#getFirstDLSNAsync--">getFirstDLSNAsync</a></span>()</code>
+<div class="block">Get first DLSN in the log.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future<<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a>></code></td>
+<td class="colLast"><span
class="typeNameLabel">DistributedLogManager.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/DistributedLogManager.html#getLastDLSNAsync--">getLastDLSNAsync</a></span>()</code>
+<div class="block">Get Latest DLSN in the log - async</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>com.twitter.util.Future<<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a>></code></td>
+<td class="colLast"><span
class="typeNameLabel">AppendOnlyStreamWriter.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/AppendOnlyStreamWriter.html#write-byte:A-">write</a></span>(byte[] data)</code> </td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future<<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a>></code></td>
+<td class="colLast"><span
class="typeNameLabel">AsyncLogWriter.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/AsyncLogWriter.html#write-org.apache.distributedlog.LogRecord-">write</a></span>(<a
href="../../../../org/apache/distributedlog/LogRecord.html" title="class in
org.apache.distributedlog">LogRecord</a> record)</code>
+<div class="block">Write a log record to the stream.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>com.twitter.util.Future<<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><com.twitter.util.Future<<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a>>>></code></td>
+<td class="colLast"><span
class="typeNameLabel">AsyncLogWriter.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/AsyncLogWriter.html#writeBulk-java.util.List-">writeBulk</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><<a
href="../../../../org/apache/distributedlog/LogRecord.html" title="class in
org.apache.distributedlog">LogRecord</a>> record)</code>
+<div class="block">Write log records to the stream in bulk.</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/package-summary.html">org.apache.distributedlog</a>
with parameters of type <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></span><span
class="tabEnd"> </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<<a
href="../../../../org/apache/distributedlog/LogRecordWithDLSN.html"
title="class in org.apache.distributedlog">LogRecordWithDLSN</a>></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> streamName,
+ <a
href="../../../../org/apache/distributedlog/LogSegmentMetadata.html"
title="class in org.apache.distributedlog">LogSegmentMetadata</a> l,
+ int scanStartBatchSize,
+ int 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> 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> executorService,
+ <a
href="../../../../org/apache/distributedlog/logsegment/LogSegmentEntryStore.html"
title="interface in
org.apache.distributedlog.logsegment">LogSegmentEntryStore</a> entryStore,
+ <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a> 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>int</code></td>
+<td class="colLast"><span class="typeNameLabel">DLSN.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/DLSN.html#compareTo-org.apache.distributedlog.DLSN-">compareTo</a></span>(<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a> that)</code> </td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a
href="../../../../org/apache/distributedlog/AsyncLogReader.html"
title="interface in org.apache.distributedlog">AsyncLogReader</a></code></td>
+<td class="colLast"><span
class="typeNameLabel">DistributedLogManager.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/DistributedLogManager.html#getAsyncLogReader-org.apache.distributedlog.DLSN-">getAsyncLogReader</a></span>(<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a> fromDLSN)</code> </td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>com.twitter.util.Future<<a
href="../../../../org/apache/distributedlog/AsyncLogReader.html"
title="interface in
org.apache.distributedlog">AsyncLogReader</a>></code></td>
+<td class="colLast"><span
class="typeNameLabel">DistributedLogManager.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/DistributedLogManager.html#getAsyncLogReaderWithLock-org.apache.distributedlog.DLSN-">getAsyncLogReaderWithLock</a></span>(<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a> fromDLSN)</code> </td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future<<a
href="../../../../org/apache/distributedlog/AsyncLogReader.html"
title="interface in
org.apache.distributedlog">AsyncLogReader</a>></code></td>
+<td class="colLast"><span
class="typeNameLabel">DistributedLogManager.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/DistributedLogManager.html#getAsyncLogReaderWithLock-org.apache.distributedlog.DLSN-java.lang.String-">getAsyncLogReaderWithLock</a></span>(<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a> fromDLSN,
+ <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> subscriberId)</code>
+<div class="block">Get a log reader with lock starting from <i>fromDLSN</i>
and using <i>subscriberId</i>.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a
href="../../../../org/apache/distributedlog/LogReader.html" title="interface in
org.apache.distributedlog">LogReader</a></code></td>
+<td class="colLast"><span
class="typeNameLabel">DistributedLogManager.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/DistributedLogManager.html#getInputStream-org.apache.distributedlog.DLSN-">getInputStream</a></span>(<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a> fromDLSN)</code> </td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future<<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>></code></td>
+<td class="colLast"><span
class="typeNameLabel">DistributedLogManager.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/DistributedLogManager.html#getLogRecordCountAsync-org.apache.distributedlog.DLSN-">getLogRecordCountAsync</a></span>(<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a> beginDLSN)</code>
+<div class="block">Get the number of log records in the active portion of the
log - async.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><span
class="typeNameLabel">LogSegmentMetadata.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/LogSegmentMetadata.html#isDLSNinThisSegment-org.apache.distributedlog.DLSN-">isDLSNinThisSegment</a></span>(<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a> dlsn)</code> </td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future<<a
href="../../../../org/apache/distributedlog/AsyncLogReader.html"
title="interface in
org.apache.distributedlog">AsyncLogReader</a>></code></td>
+<td class="colLast"><span
class="typeNameLabel">DistributedLogManager.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/DistributedLogManager.html#openAsyncLogReader-org.apache.distributedlog.DLSN-">openAsyncLogReader</a></span>(<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a> fromDLSN)</code>
+<div class="block">Open an async log reader to read records from a log
starting from <code>fromDLSN</code></div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a
href="../../../../org/apache/distributedlog/LogSegmentMetadata.Mutator.html"
title="class in
org.apache.distributedlog">LogSegmentMetadata.Mutator</a></code></td>
+<td class="colLast"><span
class="typeNameLabel">LogSegmentMetadata.Mutator.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/LogSegmentMetadata.Mutator.html#setLastDLSN-org.apache.distributedlog.DLSN-">setLastDLSN</a></span>(<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a> dlsn)</code> </td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code><a
href="../../../../org/apache/distributedlog/LogSegmentMetadata.Mutator.html"
title="class in
org.apache.distributedlog">LogSegmentMetadata.Mutator</a></code></td>
+<td class="colLast"><span
class="typeNameLabel">LogSegmentMetadata.Mutator.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/LogSegmentMetadata.Mutator.html#setMinActiveDLSN-org.apache.distributedlog.DLSN-">setMinActiveDLSN</a></span>(<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a> dlsn)</code> </td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code><a
href="../../../../org/apache/distributedlog/Entry.Builder.html" title="class in
org.apache.distributedlog">Entry.Builder</a></code></td>
+<td class="colLast"><span
class="typeNameLabel">Entry.Builder.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/Entry.Builder.html#skipTo-org.apache.distributedlog.DLSN-">skipTo</a></span>(<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a> dlsn)</code>
+<div class="block">Set the record set starts from <code>dlsn</code>.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><span
class="typeNameLabel">Entry.Reader.</span><code><span class="memberNameLink"><a
href="../../../../org/apache/distributedlog/Entry.Reader.html#skipTo-org.apache.distributedlog.DLSN-">skipTo</a></span>(<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a> dlsn)</code>
+<div class="block">Skip the reader to the record whose DLSN is
<code>dlsn</code>.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><span
class="typeNameLabel">LogRecord.Reader.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/LogRecord.Reader.html#skipTo-org.apache.distributedlog.DLSN-">skipTo</a></span>(<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a> dlsn)</code> </td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future<<a
href="http://download.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true"
title="class or interface in java.lang">Boolean</a>></code></td>
+<td class="colLast"><span
class="typeNameLabel">AsyncLogWriter.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/AsyncLogWriter.html#truncate-org.apache.distributedlog.DLSN-">truncate</a></span>(<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a> dlsn)</code>
+<div class="block">Truncate the log until <i>dlsn</i>.</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/package-summary.html">org.apache.distributedlog</a>
with type arguments of type <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></span><span
class="tabEnd"> </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">LogRecordSet.Writer.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/LogRecordSet.Writer.html#writeRecord-java.nio.ByteBuffer-com.twitter.util.Promise-">writeRecord</a></span>(<a
href="http://download.oracle.com/javase/6/docs/api/java/nio/ByteBuffer.html?is-external=true"
title="class or interface in java.nio">ByteBuffer</a> record,
+ com.twitter.util.Promise<<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a>> transmitPromise)</code>
+<div class="block">Write a <a
href="../../../../org/apache/distributedlog/LogRecord.html" title="class in
org.apache.distributedlog"><code>LogRecord</code></a> to this record set.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>void</code></td>
+<td class="colLast"><span
class="typeNameLabel">Entry.Writer.</span><code><span class="memberNameLink"><a
href="../../../../org/apache/distributedlog/Entry.Writer.html#writeRecord-org.apache.distributedlog.LogRecord-com.twitter.util.Promise-">writeRecord</a></span>(<a
href="../../../../org/apache/distributedlog/LogRecord.html" title="class in
org.apache.distributedlog">LogRecord</a> record,
+ com.twitter.util.Promise<<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a>> transmitPromise)</code>
+<div class="block">Write a <a
href="../../../../org/apache/distributedlog/LogRecord.html" title="class in
org.apache.distributedlog"><code>LogRecord</code></a> to this record set.</div>
+</td>
+</tr>
+</tbody>
+</table>
+<table class="useSummary" border="0" cellpadding="3" cellspacing="0"
summary="Use table, listing constructors, and an explanation">
+<caption><span>Constructors in <a
href="../../../../org/apache/distributedlog/package-summary.html">org.apache.distributedlog</a>
with parameters of type <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></span><span
class="tabEnd"> </span></caption>
+<tr>
+<th class="colOne" scope="col">Constructor and Description</th>
+</tr>
+<tbody>
+<tr class="altColor">
+<td class="colLast"><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>
+</tbody>
+</table>
+</li>
+<li class="blockList"><a name="org.apache.distributedlog.client">
+<!-- -->
+</a>
+<h3>Uses of <a href="../../../../org/apache/distributedlog/DLSN.html"
title="class in org.apache.distributedlog">DLSN</a> in <a
href="../../../../org/apache/distributedlog/client/package-summary.html">org.apache.distributedlog.client</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/client/package-summary.html">org.apache.distributedlog.client</a>
that return types with arguments of type <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></span><span
class="tabEnd"> </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<<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a>></code></td>
+<td class="colLast"><span
class="typeNameLabel">DistributedLogMultiStreamWriter.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/client/DistributedLogMultiStreamWriter.html#write-java.nio.ByteBuffer-">write</a></span>(<a
href="http://download.oracle.com/javase/6/docs/api/java/nio/ByteBuffer.html?is-external=true"
title="class or interface in
java.nio">ByteBuffer</a> buffer)</code> </td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>com.twitter.util.Future<<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a>></code></td>
+<td class="colLast"><span
class="typeNameLabel">DistributedLogClientImpl.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/client/DistributedLogClientImpl.html#write-java.lang.String-java.nio.ByteBuffer-">write</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> stream,
+ <a
href="http://download.oracle.com/javase/6/docs/api/java/nio/ByteBuffer.html?is-external=true"
title="class or interface in
java.nio">ByteBuffer</a> data)</code> </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><com.twitter.util.Future<<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a>>></code></td>
+<td class="colLast"><span
class="typeNameLabel">DistributedLogClientImpl.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/client/DistributedLogClientImpl.html#writeBulk-java.lang.String-java.util.List-">writeBulk</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> stream,
+ <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><<a
href="http://download.oracle.com/javase/6/docs/api/java/nio/ByteBuffer.html?is-external=true"
title="class or interface in
java.nio">ByteBuffer</a>> data)</code> </td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>com.twitter.util.Future<<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a>></code></td>
+<td class="colLast"><span
class="typeNameLabel">DistributedLogClientImpl.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/client/DistributedLogClientImpl.html#writeRecordSet-java.lang.String-org.apache.distributedlog.LogRecordSetBuffer-">writeRecordSet</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> stream,
+ <a
href="../../../../org/apache/distributedlog/LogRecordSetBuffer.html"
title="interface in
org.apache.distributedlog">LogRecordSetBuffer</a> recordSet)</code> </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/client/package-summary.html">org.apache.distributedlog.client</a>
with parameters of type <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></span><span
class="tabEnd"> </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<<a
href="http://download.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true"
title="class or interface in java.lang">Boolean</a>></code></td>
+<td class="colLast"><span
class="typeNameLabel">DistributedLogClientImpl.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/client/DistributedLogClientImpl.html#truncate-java.lang.String-org.apache.distributedlog.DLSN-">truncate</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> stream,
+ <a href="../../../../org/apache/distributedlog/DLSN.html" title="class
in org.apache.distributedlog">DLSN</a> dlsn)</code> </td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList"><a name="org.apache.distributedlog.io">
+<!-- -->
+</a>
+<h3>Uses of <a href="../../../../org/apache/distributedlog/DLSN.html"
title="class in org.apache.distributedlog">DLSN</a> in <a
href="../../../../org/apache/distributedlog/io/package-summary.html">org.apache.distributedlog.io</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/io/package-summary.html">org.apache.distributedlog.io</a>
that return <a href="../../../../org/apache/distributedlog/DLSN.html"
title="class in org.apache.distributedlog">DLSN</a></span><span
class="tabEnd"> </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/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></code></td>
+<td class="colLast"><span
class="typeNameLabel">TransmitListener.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/io/TransmitListener.html#finalizeTransmit-long-long-">finalizeTransmit</a></span>(long lssn,
+ long entryId)</code>
+<div class="block">Finalize the transmit result and result the last
+ <a href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog"><code>DLSN</code></a> in this transmit.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList"><a name="org.apache.distributedlog.logsegment">
+<!-- -->
+</a>
+<h3>Uses of <a href="../../../../org/apache/distributedlog/DLSN.html"
title="class in org.apache.distributedlog">DLSN</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 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/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></span><span
class="tabEnd"> </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<<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a>></code></td>
+<td class="colLast"><span
class="typeNameLabel">LogSegmentWriter.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/logsegment/LogSegmentWriter.html#asyncWrite-org.apache.distributedlog.LogRecord-">asyncWrite</a></span>(<a
href="../../../../org/apache/distributedlog/LogRecord.html" title="class in
org.apache.distributedlog">LogRecord</a> record)</code>
+<div class="block">Write a log record to a log segment.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList"><a name="org.apache.distributedlog.metadata">
+<!-- -->
+</a>
+<h3>Uses of <a href="../../../../org/apache/distributedlog/DLSN.html"
title="class in org.apache.distributedlog">DLSN</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>
with parameters of type <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></span><span
class="tabEnd"> </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<<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.LogSegmentMetadata-org.apache.distributedlog.DLSN-">setLogSegmentPartiallyTruncated</a></span>(<a
href="../../../../org/apache/distributedlog/LogSegmentMetadata.html"
title="class in org.apache.distributedlog">LogSegmentMetadata</a> segment,
+ <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a> 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<<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.LogSegmentMetadata-org.apache.distributedlog.DLSN-">setLogSegmentPartiallyTruncated</a></span>(<a
href="../../../../org/apache/distributedlog/LogSegmentMetadata.html"
title="class in org.apache.distributedlog">LogSegmentMetadata</a> segment,
+ <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a> 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<<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>> txn,
+ <a
href="../../../../org/apache/distributedlog/LogSegmentMetadata.html"
title="class in org.apache.distributedlog">LogSegmentMetadata</a> segment,
+ <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a> 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<<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>> txn,
+ <a
href="../../../../org/apache/distributedlog/LogSegmentMetadata.html"
title="class in org.apache.distributedlog">LogSegmentMetadata</a> segment,
+ <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a> minActiveDLSN)</code> </td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList"><a name="org.apache.distributedlog.service">
+<!-- -->
+</a>
+<h3>Uses of <a href="../../../../org/apache/distributedlog/DLSN.html"
title="class in org.apache.distributedlog">DLSN</a> in <a
href="../../../../org/apache/distributedlog/service/package-summary.html">org.apache.distributedlog.service</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/service/package-summary.html">org.apache.distributedlog.service</a>
that return types with arguments of type <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></span><span
class="tabEnd"> </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<<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a>></code></td>
+<td class="colLast"><span
class="typeNameLabel">DistributedLogClient.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/service/DistributedLogClient.html#write-java.lang.String-java.nio.ByteBuffer-">write</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> stream,
+ <a
href="http://download.oracle.com/javase/6/docs/api/java/nio/ByteBuffer.html?is-external=true"
title="class or interface in java.nio">ByteBuffer</a> data)</code>
+<div class="block">Write <i>data</i> to a given <i>stream</i>.</div>
+</td>
+</tr>
+<tr class="rowColor">
+<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><com.twitter.util.Future<<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a>>></code></td>
+<td class="colLast"><span
class="typeNameLabel">DistributedLogClient.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/service/DistributedLogClient.html#writeBulk-java.lang.String-java.util.List-">writeBulk</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> stream,
+ <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><<a
href="http://download.oracle.com/javase/6/docs/api/java/nio/ByteBuffer.html?is-external=true"
title="class or interface in java.nio">ByteBuffer</a>> data)</code>
+<div class="block">Write <i>data</i> in bulk to a given <i>stream</i>.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future<<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a>></code></td>
+<td class="colLast"><span
class="typeNameLabel">DistributedLogClient.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/service/DistributedLogClient.html#writeRecordSet-java.lang.String-org.apache.distributedlog.LogRecordSetBuffer-">writeRecordSet</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> stream,
+ <a
href="../../../../org/apache/distributedlog/LogRecordSetBuffer.html"
title="interface in
org.apache.distributedlog">LogRecordSetBuffer</a> recordSet)</code>
+<div class="block">Write record set to a given <i>stream</i>.</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/service/package-summary.html">org.apache.distributedlog.service</a>
with parameters of type <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></span><span
class="tabEnd"> </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<<a
href="http://download.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true"
title="class or interface in java.lang">Boolean</a>></code></td>
+<td class="colLast"><span
class="typeNameLabel">DistributedLogClient.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/service/DistributedLogClient.html#truncate-java.lang.String-org.apache.distributedlog.DLSN-">truncate</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> stream,
+ <a href="../../../../org/apache/distributedlog/DLSN.html" title="class
in org.apache.distributedlog">DLSN</a> dlsn)</code>
+<div class="block">Truncate the stream to a given <i>dlsn</i>.</div>
+</td>
+</tr>
+</tbody>
+</table>
+</li>
+<li class="blockList"><a name="org.apache.distributedlog.subscription">
+<!-- -->
+</a>
+<h3>Uses of <a href="../../../../org/apache/distributedlog/DLSN.html"
title="class in org.apache.distributedlog">DLSN</a> in <a
href="../../../../org/apache/distributedlog/subscription/package-summary.html">org.apache.distributedlog.subscription</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/subscription/package-summary.html">org.apache.distributedlog.subscription</a>
that return types with arguments of type <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></span><span
class="tabEnd"> </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<<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a>></code></td>
+<td class="colLast"><span
class="typeNameLabel">SubscriptionStateStore.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/subscription/SubscriptionStateStore.html#getLastCommitPosition--">getLastCommitPosition</a></span>()</code>
+<div class="block">Get the last committed position stored for this
subscription</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td class="colFirst"><code>com.twitter.util.Future<<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a>></code></td>
+<td class="colLast"><span
class="typeNameLabel">SubscriptionsStore.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/subscription/SubscriptionsStore.html#getLastCommitPosition-java.lang.String-">getLastCommitPosition</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> subscriberId)</code>
+<div class="block">Get the last committed position stored for
<i>subscriberId</i>.</div>
+</td>
+</tr>
+<tr class="altColor">
+<td class="colFirst"><code>com.twitter.util.Future<<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><<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/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a>>></code></td>
+<td class="colLast"><span
class="typeNameLabel">SubscriptionsStore.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/subscription/SubscriptionsStore.html#getLastCommitPositions--">getLastCommitPositions</a></span>()</code>
+<div class="block">Get the last committed positions for all subscribers.</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/subscription/package-summary.html">org.apache.distributedlog.subscription</a>
with parameters of type <a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a></span><span
class="tabEnd"> </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<scala.runtime.BoxedUnit></code></td>
+<td class="colLast"><span
class="typeNameLabel">SubscriptionStateStore.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/subscription/SubscriptionStateStore.html#advanceCommitPosition-org.apache.distributedlog.DLSN-">advanceCommitPosition</a></span>(<a
href="../../../../org/apache/distributedlog/DLSN.html" title="class in
org.apache.distributedlog">DLSN</a> newPosition)</code>
+<div class="block">Advances the position associated with the subscriber</div>
+</td>
+</tr>
+<tr class="rowColor">
+<td
class="colFirst"><code>com.twitter.util.Future<scala.runtime.BoxedUnit></code></td>
+<td class="colLast"><span
class="typeNameLabel">SubscriptionsStore.</span><code><span
class="memberNameLink"><a
href="../../../../org/apache/distributedlog/subscription/SubscriptionsStore.html#advanceCommitPosition-java.lang.String-org.apache.distributedlog.DLSN-">advanceCommitPosition</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> subscriberId,
+ <a href="../../../../org/apache/distributedlog/DLSN.html"
title="class in org.apache.distributedlog">DLSN</a> newPosition)</code>
+<div class="block">Advance the last committed position for
<i>subscriberId</i>.</div>
+</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/DLSN.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/DLSN.html"
target="_top">Frames</a></li>
+<li><a href="DLSN.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>
+<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>