You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2014/07/21 21:14:11 UTC
svn commit: r1612387 [1/4] - in /mesos/site: publish/
publish/api/latest/java/ publish/api/latest/java/org/apache/mesos/
publish/documentation/latest/upgrades/ publish/documentation/upgrades/
publish/downloads/ source/ source/api/latest/java/ source/ap...
Author: bmahler
Date: Mon Jul 21 19:14:10 2014
New Revision: 1612387
URL: http://svn.apache.org/r1612387
Log:
Updated the website for 0.19.1, no blog post yet.
Modified:
mesos/site/publish/api/latest/java/allclasses-frame.html
mesos/site/publish/api/latest/java/allclasses-noframe.html
mesos/site/publish/api/latest/java/constant-values.html
mesos/site/publish/api/latest/java/deprecated-list.html
mesos/site/publish/api/latest/java/help-doc.html
mesos/site/publish/api/latest/java/index-all.html
mesos/site/publish/api/latest/java/index.html
mesos/site/publish/api/latest/java/org/apache/mesos/Executor.html
mesos/site/publish/api/latest/java/org/apache/mesos/ExecutorDriver.html
mesos/site/publish/api/latest/java/org/apache/mesos/Log.Entry.html
mesos/site/publish/api/latest/java/org/apache/mesos/Log.OperationFailedException.html
mesos/site/publish/api/latest/java/org/apache/mesos/Log.Position.html
mesos/site/publish/api/latest/java/org/apache/mesos/Log.Reader.html
mesos/site/publish/api/latest/java/org/apache/mesos/Log.Writer.html
mesos/site/publish/api/latest/java/org/apache/mesos/Log.WriterFailedException.html
mesos/site/publish/api/latest/java/org/apache/mesos/Log.html
mesos/site/publish/api/latest/java/org/apache/mesos/MesosExecutorDriver.html
mesos/site/publish/api/latest/java/org/apache/mesos/MesosSchedulerDriver.html
mesos/site/publish/api/latest/java/org/apache/mesos/Scheduler.html
mesos/site/publish/api/latest/java/org/apache/mesos/SchedulerDriver.html
mesos/site/publish/api/latest/java/org/apache/mesos/package-frame.html
mesos/site/publish/api/latest/java/org/apache/mesos/package-summary.html
mesos/site/publish/api/latest/java/org/apache/mesos/package-tree.html
mesos/site/publish/api/latest/java/overview-tree.html
mesos/site/publish/api/latest/java/serialized-form.html
mesos/site/publish/documentation/latest/upgrades/index.html
mesos/site/publish/documentation/upgrades/index.html
mesos/site/publish/downloads/index.html
mesos/site/publish/index.html
mesos/site/publish/sitemap.xml
mesos/site/source/api/latest/java/allclasses-frame.html
mesos/site/source/api/latest/java/allclasses-noframe.html
mesos/site/source/api/latest/java/constant-values.html
mesos/site/source/api/latest/java/deprecated-list.html
mesos/site/source/api/latest/java/help-doc.html
mesos/site/source/api/latest/java/index-all.html
mesos/site/source/api/latest/java/index.html
mesos/site/source/api/latest/java/org/apache/mesos/Executor.html
mesos/site/source/api/latest/java/org/apache/mesos/ExecutorDriver.html
mesos/site/source/api/latest/java/org/apache/mesos/Log.Entry.html
mesos/site/source/api/latest/java/org/apache/mesos/Log.OperationFailedException.html
mesos/site/source/api/latest/java/org/apache/mesos/Log.Position.html
mesos/site/source/api/latest/java/org/apache/mesos/Log.Reader.html
mesos/site/source/api/latest/java/org/apache/mesos/Log.Writer.html
mesos/site/source/api/latest/java/org/apache/mesos/Log.WriterFailedException.html
mesos/site/source/api/latest/java/org/apache/mesos/Log.html
mesos/site/source/api/latest/java/org/apache/mesos/MesosExecutorDriver.html
mesos/site/source/api/latest/java/org/apache/mesos/MesosSchedulerDriver.html
mesos/site/source/api/latest/java/org/apache/mesos/Scheduler.html
mesos/site/source/api/latest/java/org/apache/mesos/SchedulerDriver.html
mesos/site/source/api/latest/java/org/apache/mesos/package-frame.html
mesos/site/source/api/latest/java/org/apache/mesos/package-summary.html
mesos/site/source/api/latest/java/org/apache/mesos/package-tree.html
mesos/site/source/api/latest/java/overview-tree.html
mesos/site/source/api/latest/java/serialized-form.html
mesos/site/source/documentation/latest/upgrades.md
mesos/site/source/downloads.html.md
mesos/site/source/index.html.md
Modified: mesos/site/publish/api/latest/java/allclasses-frame.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/api/latest/java/allclasses-frame.html?rev=1612387&r1=1612386&r2=1612387&view=diff
==============================================================================
--- mesos/site/publish/api/latest/java/allclasses-frame.html (original)
+++ mesos/site/publish/api/latest/java/allclasses-frame.html Mon Jul 21 19:14:10 2014
@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc (version 1.7.0_25) on Mon Jul 14 12:13:56 PDT 2014 -->
+<!-- Generated by javadoc (version 1.7.0_06) on Mon Jul 21 12:13:32 PDT 2014 -->
<title>All Classes</title>
-<meta name="date" content="2014-07-14">
+<meta name="date" content="2014-07-21">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body>
Modified: mesos/site/publish/api/latest/java/allclasses-noframe.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/api/latest/java/allclasses-noframe.html?rev=1612387&r1=1612386&r2=1612387&view=diff
==============================================================================
--- mesos/site/publish/api/latest/java/allclasses-noframe.html (original)
+++ mesos/site/publish/api/latest/java/allclasses-noframe.html Mon Jul 21 19:14:10 2014
@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc (version 1.7.0_25) on Mon Jul 14 12:13:56 PDT 2014 -->
+<!-- Generated by javadoc (version 1.7.0_06) on Mon Jul 21 12:13:32 PDT 2014 -->
<title>All Classes</title>
-<meta name="date" content="2014-07-14">
+<meta name="date" content="2014-07-21">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body>
Modified: mesos/site/publish/api/latest/java/constant-values.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/api/latest/java/constant-values.html?rev=1612387&r1=1612386&r2=1612387&view=diff
==============================================================================
--- mesos/site/publish/api/latest/java/constant-values.html (original)
+++ mesos/site/publish/api/latest/java/constant-values.html Mon Jul 21 19:14:10 2014
@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc (version 1.7.0_25) on Mon Jul 14 12:13:56 PDT 2014 -->
+<!-- Generated by javadoc (version 1.7.0_06) on Mon Jul 21 12:13:32 PDT 2014 -->
<title>Constant Field Values</title>
-<meta name="date" content="2014-07-14">
+<meta name="date" content="2014-07-21">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body>
Modified: mesos/site/publish/api/latest/java/deprecated-list.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/api/latest/java/deprecated-list.html?rev=1612387&r1=1612386&r2=1612387&view=diff
==============================================================================
--- mesos/site/publish/api/latest/java/deprecated-list.html (original)
+++ mesos/site/publish/api/latest/java/deprecated-list.html Mon Jul 21 19:14:10 2014
@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc (version 1.7.0_25) on Mon Jul 14 12:13:56 PDT 2014 -->
+<!-- Generated by javadoc (version 1.7.0_06) on Mon Jul 21 12:13:32 PDT 2014 -->
<title>Deprecated List</title>
-<meta name="date" content="2014-07-14">
+<meta name="date" content="2014-07-21">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body>
@@ -80,22 +80,12 @@
<tbody>
<tr class="altColor">
<td class="colOne"><a href="org/apache/mesos/SchedulerDriver.html#launchTasks(OfferID, java.util.Collection)">org.apache.mesos.SchedulerDriver.launchTasks(OfferID, Collection<TaskInfo>)</a>
-<div class="block"><i>Use <a href="org/apache/mesos/SchedulerDriver.html#launchTasks(java.util.Collection, java.util.Collection)"><code>launchTasks(Collection, Collection)</code></a>.</i></div>
+<div class="block"><i>Use <a href="org/apache/mesos/SchedulerDriver.html#launchTasks(java.util.Collection, java.util.Collection)"><code>launchTasks(Collection, Collection)</code></a> instead.</i></div>
</td>
</tr>
<tr class="rowColor">
-<td class="colOne"><a href="org/apache/mesos/MesosSchedulerDriver.html#launchTasks(OfferID, java.util.Collection)">org.apache.mesos.MesosSchedulerDriver.launchTasks(OfferID, Collection<TaskInfo>)</a>
-<div class="block"><i>Replaced by launchTasks using offer list.</i></div>
-</td>
-</tr>
-<tr class="altColor">
<td class="colOne"><a href="org/apache/mesos/SchedulerDriver.html#launchTasks(OfferID, java.util.Collection, Filters)">org.apache.mesos.SchedulerDriver.launchTasks(OfferID, Collection<TaskInfo>, Filters)</a>
-<div class="block"><i>Use <a href="org/apache/mesos/SchedulerDriver.html#launchTasks(java.util.Collection, java.util.Collection, Filters)"><code>launchTasks(Collection, Collection, Filters)</code></a>.</i></div>
-</td>
-</tr>
-<tr class="rowColor">
-<td class="colOne"><a href="org/apache/mesos/MesosSchedulerDriver.html#launchTasks(OfferID, java.util.Collection, Filters)">org.apache.mesos.MesosSchedulerDriver.launchTasks(OfferID, Collection<TaskInfo>, Filters)</a>
-<div class="block"><i>Replaced by launchTasks using offer list.</i></div>
+<div class="block"><i>Use <a href="org/apache/mesos/SchedulerDriver.html#launchTasks(java.util.Collection, java.util.Collection, Filters)"><code>launchTasks(Collection, Collection, Filters)</code></a> instead.</i></div>
</td>
</tr>
</tbody>
Modified: mesos/site/publish/api/latest/java/help-doc.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/api/latest/java/help-doc.html?rev=1612387&r1=1612386&r2=1612387&view=diff
==============================================================================
--- mesos/site/publish/api/latest/java/help-doc.html (original)
+++ mesos/site/publish/api/latest/java/help-doc.html Mon Jul 21 19:14:10 2014
@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc (version 1.7.0_25) on Mon Jul 14 12:13:56 PDT 2014 -->
+<!-- Generated by javadoc (version 1.7.0_06) on Mon Jul 21 12:13:32 PDT 2014 -->
<title>API Help</title>
-<meta name="date" content="2014-07-14">
+<meta name="date" content="2014-07-21">
<link rel="stylesheet" type="text/css" href="stylesheet.css" title="Style">
</head>
<body>
Modified: mesos/site/publish/api/latest/java/index-all.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/api/latest/java/index-all.html?rev=1612387&r1=1612386&r2=1612387&view=diff
==============================================================================
--- mesos/site/publish/api/latest/java/index-all.html (original)
+++ mesos/site/publish/api/latest/java/index-all.html Mon Jul 21 19:14:10 2014
@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc (version 1.7.0_25) on Mon Jul 14 12:13:56 PDT 2014 -->
+<!-- Generated by javadoc (version 1.7.0_06) on Mon Jul 21 12:13:32 PDT 2014 -->
<title>Index</title>
-<meta name="date" content="2014-07-14">
+<meta name="date" content="2014-07-21">
<link rel="stylesheet" type="text/css" href="./stylesheet.css" title="Style">
</head>
<body>
@@ -110,7 +110,9 @@
<h2 class="title">D</h2>
<dl>
<dt><span class="strong"><a href="./org/apache/mesos/Log.Entry.html#data">data</a></span> - Variable in class org.apache.mesos.<a href="./org/apache/mesos/Log.Entry.html" title="class in org.apache.mesos">Log.Entry</a></dt>
-<dd> </dd>
+<dd>
+<div class="block">The data at the given position.</div>
+</dd>
<dt><span class="strong"><a href="./org/apache/mesos/MesosSchedulerDriver.html#declineOffer(OfferID)">declineOffer(OfferID)</a></span> - Method in class org.apache.mesos.<a href="./org/apache/mesos/MesosSchedulerDriver.html" title="class in org.apache.mesos">MesosSchedulerDriver</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="./org/apache/mesos/MesosSchedulerDriver.html#declineOffer(OfferID, Filters)">declineOffer(OfferID, Filters)</a></span> - Method in class org.apache.mesos.<a href="./org/apache/mesos/MesosSchedulerDriver.html" title="class in org.apache.mesos">MesosSchedulerDriver</a></dt>
@@ -150,7 +152,7 @@
<dd> </dd>
<dt><span class="strong"><a href="./org/apache/mesos/Executor.html#error(org.apache.mesos.ExecutorDriver, java.lang.String)">error(ExecutorDriver, String)</a></span> - Method in interface org.apache.mesos.<a href="./org/apache/mesos/Executor.html" title="interface in org.apache.mesos">Executor</a></dt>
<dd>
-<div class="block">Invoked when a fatal error has occured with the executor and/or
+<div class="block">Invoked when a fatal error has occurred with the executor and/or
executor driver.</div>
</dd>
<dt><span class="strong"><a href="./org/apache/mesos/Scheduler.html#error(org.apache.mesos.SchedulerDriver, java.lang.String)">error(SchedulerDriver, String)</a></span> - Method in interface org.apache.mesos.<a href="./org/apache/mesos/Scheduler.html" title="interface in org.apache.mesos">Scheduler</a></dt>
@@ -238,7 +240,7 @@
<dt><span class="strong"><a href="./org/apache/mesos/SchedulerDriver.html#join()">join()</a></span> - Method in interface org.apache.mesos.<a href="./org/apache/mesos/SchedulerDriver.html" title="interface in org.apache.mesos">SchedulerDriver</a></dt>
<dd>
<div class="block">Waits for the driver to be stopped or aborted, possibly
- _blocking_ the current thread indefinitely.</div>
+ <i>blocking</i> the current thread indefinitely.</div>
</dd>
</dl>
<a name="_K_">
@@ -269,17 +271,9 @@
via <a href="./org/apache/mesos/SchedulerDriver.html#launchTasks(java.util.Collection, java.util.Collection, Filters)"><code>launchTasks(java.util.Collection<OfferID>, java.util.Collection<TaskInfo>, Filters)</code></a>.</div>
</dd>
<dt><span class="strong"><a href="./org/apache/mesos/MesosSchedulerDriver.html#launchTasks(OfferID, java.util.Collection)">launchTasks(OfferID, Collection<TaskInfo>)</a></span> - Method in class org.apache.mesos.<a href="./org/apache/mesos/MesosSchedulerDriver.html" title="class in org.apache.mesos">MesosSchedulerDriver</a></dt>
-<dd>
-<div class="block"><span class="strong">Deprecated.</span>
-<div class="block"><i>Replaced by launchTasks using offer list.</i></div>
-</div>
-</dd>
+<dd> </dd>
<dt><span class="strong"><a href="./org/apache/mesos/MesosSchedulerDriver.html#launchTasks(OfferID, java.util.Collection, Filters)">launchTasks(OfferID, Collection<TaskInfo>, Filters)</a></span> - Method in class org.apache.mesos.<a href="./org/apache/mesos/MesosSchedulerDriver.html" title="class in org.apache.mesos">MesosSchedulerDriver</a></dt>
-<dd>
-<div class="block"><span class="strong">Deprecated.</span>
-<div class="block"><i>Replaced by launchTasks using offer list.</i></div>
-</div>
-</dd>
+<dd> </dd>
<dt><span class="strong"><a href="./org/apache/mesos/MesosSchedulerDriver.html#launchTasks(java.util.Collection, java.util.Collection)">launchTasks(Collection<OfferID>, Collection<TaskInfo>)</a></span> - Method in class org.apache.mesos.<a href="./org/apache/mesos/MesosSchedulerDriver.html" title="class in org.apache.mesos">MesosSchedulerDriver</a></dt>
<dd> </dd>
<dt><span class="strong"><a href="./org/apache/mesos/MesosSchedulerDriver.html#launchTasks(java.util.Collection, java.util.Collection, Filters)">launchTasks(Collection<OfferID>, Collection<TaskInfo>, Filters)</a></span> - Method in class org.apache.mesos.<a href="./org/apache/mesos/MesosSchedulerDriver.html" title="class in org.apache.mesos">MesosSchedulerDriver</a></dt>
@@ -295,13 +289,13 @@
<dt><span class="strong"><a href="./org/apache/mesos/SchedulerDriver.html#launchTasks(OfferID, java.util.Collection, Filters)">launchTasks(OfferID, Collection<TaskInfo>, Filters)</a></span> - Method in interface org.apache.mesos.<a href="./org/apache/mesos/SchedulerDriver.html" title="interface in org.apache.mesos">SchedulerDriver</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
-<div class="block"><i>Use <a href="./org/apache/mesos/SchedulerDriver.html#launchTasks(java.util.Collection, java.util.Collection, Filters)"><code>launchTasks(Collection, Collection, Filters)</code></a>.</i></div>
+<div class="block"><i>Use <a href="./org/apache/mesos/SchedulerDriver.html#launchTasks(java.util.Collection, java.util.Collection, Filters)"><code>launchTasks(Collection, Collection, Filters)</code></a> instead.</i></div>
</div>
</dd>
<dt><span class="strong"><a href="./org/apache/mesos/SchedulerDriver.html#launchTasks(OfferID, java.util.Collection)">launchTasks(OfferID, Collection<TaskInfo>)</a></span> - Method in interface org.apache.mesos.<a href="./org/apache/mesos/SchedulerDriver.html" title="interface in org.apache.mesos">SchedulerDriver</a></dt>
<dd>
<div class="block"><span class="strong">Deprecated.</span>
-<div class="block"><i>Use <a href="./org/apache/mesos/SchedulerDriver.html#launchTasks(java.util.Collection, java.util.Collection)"><code>launchTasks(Collection, Collection)</code></a>.</i></div>
+<div class="block"><i>Use <a href="./org/apache/mesos/SchedulerDriver.html#launchTasks(java.util.Collection, java.util.Collection)"><code>launchTasks(Collection, Collection)</code></a> instead.</i></div>
</div>
</dd>
<dt><a href="./org/apache/mesos/Log.html" title="class in org.apache.mesos"><span class="strong">Log</span></a> - Class in <a href="./org/apache/mesos/package-summary.html">org.apache.mesos</a></dt>
@@ -309,14 +303,29 @@
<div class="block">Provides access to a distributed append only log.</div>
</dd>
<dt><span class="strong"><a href="./org/apache/mesos/Log.html#Log(int, java.lang.String, java.util.Set)">Log(int, String, Set<String>)</a></span> - Constructor for class org.apache.mesos.<a href="./org/apache/mesos/Log.html" title="class in org.apache.mesos">Log</a></dt>
-<dd> </dd>
+<dd>
+<div class="block">Creates a new replicated log that assumes the specified quorum
+ size, is backed by a file at the specified path, and coordiantes
+ with other replicas via the set of process PIDs.</div>
+</dd>
<dt><span class="strong"><a href="./org/apache/mesos/Log.html#Log(int, java.lang.String, java.lang.String, long, java.util.concurrent.TimeUnit, java.lang.String)">Log(int, String, String, long, TimeUnit, String)</a></span> - Constructor for class org.apache.mesos.<a href="./org/apache/mesos/Log.html" title="class in org.apache.mesos">Log</a></dt>
-<dd> </dd>
+<dd>
+<div class="block">Creates a new replicated log that assumes the specified quorum
+ size, is backed by a file at the specified path, and coordiantes
+ with other replicas associated with the specified ZooKeeper
+ servers, timeout, and znode (or Zookeeper name space).</div>
+</dd>
<dt><span class="strong"><a href="./org/apache/mesos/Log.html#Log(int, java.lang.String, java.lang.String, long, java.util.concurrent.TimeUnit, java.lang.String, java.lang.String, byte[])">Log(int, String, String, long, TimeUnit, String, String, byte[])</a></span> - Constructor for class org.apache.mesos.<a href="./org/apache/mesos/Log.html" title="class in org.apache.mesos">Log</a></dt>
-<dd> </dd>
+<dd>
+<div class="block">Creates a new replicated log that assumes the specified quorum
+ size, is backed by a file at the specified path, and coordiantes
+ with other replicas associated with the specified ZooKeeper
+ servers, timeout, and znode (or Zookeeper name space).</div>
+</dd>
<dt><a href="./org/apache/mesos/Log.Entry.html" title="class in org.apache.mesos"><span class="strong">Log.Entry</span></a> - Class in <a href="./org/apache/mesos/package-summary.html">org.apache.mesos</a></dt>
<dd>
-<div class="block">Represents an opaque data entry in the <a href="./org/apache/mesos/Log.html" title="class in org.apache.mesos"><code>Log</code></a> with a <a href="./org/apache/mesos/Log.Position.html" title="class in org.apache.mesos"><code>Log.Position</code></a>.</div>
+<div class="block">Represents an opaque data entry in the <a href="./org/apache/mesos/Log.html" title="class in org.apache.mesos"><code>Log</code></a> with a
+ <a href="./org/apache/mesos/Log.Position.html" title="class in org.apache.mesos"><code>Log.Position</code></a>.</div>
</dd>
<dt><span class="strong"><a href="./org/apache/mesos/Log.Entry.html#Log.Entry(org.apache.mesos.Log.Position, byte[])">Log.Entry(Log.Position, byte[])</a></span> - Constructor for class org.apache.mesos.<a href="./org/apache/mesos/Log.Entry.html" title="class in org.apache.mesos">Log.Entry</a></dt>
<dd>
@@ -345,13 +354,18 @@
<div class="block">Provides read access to the <a href="./org/apache/mesos/Log.html" title="class in org.apache.mesos"><code>Log</code></a>.</div>
</dd>
<dt><span class="strong"><a href="./org/apache/mesos/Log.Reader.html#Log.Reader(org.apache.mesos.Log)">Log.Reader(Log)</a></span> - Constructor for class org.apache.mesos.<a href="./org/apache/mesos/Log.Reader.html" title="class in org.apache.mesos">Log.Reader</a></dt>
-<dd> </dd>
+<dd>
+<div class="block">Returns an instance of a reader that will access the given instance of
+ the Log.</div>
+</dd>
<dt><a href="./org/apache/mesos/Log.Writer.html" title="class in org.apache.mesos"><span class="strong">Log.Writer</span></a> - Class in <a href="./org/apache/mesos/package-summary.html">org.apache.mesos</a></dt>
<dd>
<div class="block">Provides write access to the <a href="./org/apache/mesos/Log.html" title="class in org.apache.mesos"><code>Log</code></a>.</div>
</dd>
<dt><span class="strong"><a href="./org/apache/mesos/Log.Writer.html#Log.Writer(org.apache.mesos.Log, long, java.util.concurrent.TimeUnit, int)">Log.Writer(Log, long, TimeUnit, int)</a></span> - Constructor for class org.apache.mesos.<a href="./org/apache/mesos/Log.Writer.html" title="class in org.apache.mesos">Log.Writer</a></dt>
-<dd> </dd>
+<dd>
+<div class="block">Constructs a writer linked the given <a href="./org/apache/mesos/Log.html" title="class in org.apache.mesos"><code>Log</code></a>.</div>
+</dd>
<dt><a href="./org/apache/mesos/Log.WriterFailedException.html" title="class in org.apache.mesos"><span class="strong">Log.WriterFailedException</span></a> - Exception in <a href="./org/apache/mesos/package-summary.html">org.apache.mesos</a></dt>
<dd>
<div class="block">An exception that gets thrown when a writer no longer has the
@@ -411,7 +425,9 @@
<h2 class="title">P</h2>
<dl>
<dt><span class="strong"><a href="./org/apache/mesos/Log.Entry.html#position">position</a></span> - Variable in class org.apache.mesos.<a href="./org/apache/mesos/Log.Entry.html" title="class in org.apache.mesos">Log.Entry</a></dt>
-<dd> </dd>
+<dd>
+<div class="block">The position of this entry.</div>
+</dd>
<dt><span class="strong"><a href="./org/apache/mesos/Log.html#position(byte[])">position(byte[])</a></span> - Method in class org.apache.mesos.<a href="./org/apache/mesos/Log.html" title="class in org.apache.mesos">Log</a></dt>
<dd>
<div class="block">Returns a position based off of the bytes recovered from
@@ -537,9 +553,7 @@
<div class="block">See ExecutorDriver for descriptions of these.</div>
</dd>
<dt><span class="strong"><a href="./org/apache/mesos/MesosSchedulerDriver.html#start()">start()</a></span> - Method in class org.apache.mesos.<a href="./org/apache/mesos/MesosSchedulerDriver.html" title="class in org.apache.mesos">MesosSchedulerDriver</a></dt>
-<dd>
-<div class="block">See SchedulerDriver for descriptions of these.</div>
-</dd>
+<dd> </dd>
<dt><span class="strong"><a href="./org/apache/mesos/SchedulerDriver.html#start()">start()</a></span> - Method in interface org.apache.mesos.<a href="./org/apache/mesos/SchedulerDriver.html" title="interface in org.apache.mesos">SchedulerDriver</a></dt>
<dd>
<div class="block">Starts the scheduler driver.</div>
@@ -580,7 +594,7 @@
<dd>
<div class="block">Attempts to truncate the log (from the beginning to the
specified position exclusive) If the position is invalid, an
- WriterFailedException will get thrown.</div>
+ <a href="./org/apache/mesos/Log.WriterFailedException.html" title="class in org.apache.mesos"><code>Log.WriterFailedException</code></a> will get thrown.</div>
</dd>
</dl>
<a href="#_A_">A</a> <a href="#_B_">B</a> <a href="#_C_">C</a> <a href="#_D_">D</a> <a href="#_E_">E</a> <a href="#_F_">F</a> <a href="#_I_">I</a> <a href="#_J_">J</a> <a href="#_K_">K</a> <a href="#_L_">L</a> <a href="#_M_">M</a> <a href="#_O_">O</a> <a href="#_P_">P</a> <a href="#_R_">R</a> <a href="#_S_">S</a> <a href="#_T_">T</a> </div>
Modified: mesos/site/publish/api/latest/java/index.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/api/latest/java/index.html?rev=1612387&r1=1612386&r2=1612387&view=diff
==============================================================================
--- mesos/site/publish/api/latest/java/index.html (original)
+++ mesos/site/publish/api/latest/java/index.html Mon Jul 21 19:14:10 2014
@@ -2,48 +2,14 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc on Mon Jul 14 12:13:56 PDT 2014 -->
+<!-- Generated by javadoc on Mon Jul 21 12:13:32 PDT 2014 -->
<title>Generated Documentation (Untitled)</title>
<script type="text/javascript">
targetPage = "" + window.location.search;
if (targetPage != "" && targetPage != "undefined")
targetPage = targetPage.substring(1);
- if (targetPage.indexOf(":") != -1 || (targetPage != "" && !validURL(targetPage)))
+ if (targetPage.indexOf(":") != -1)
targetPage = "undefined";
- function validURL(url) {
- var pos = url.indexOf(".html");
- if (pos == -1 || pos != url.length - 5)
- return false;
- var allowNumber = false;
- var allowSep = false;
- var seenDot = false;
- for (var i = 0; i < url.length - 5; i++) {
- var ch = url.charAt(i);
- if ('a' <= ch && ch <= 'z' ||
- 'A' <= ch && ch <= 'Z' ||
- ch == '$' ||
- ch == '_') {
- allowNumber = true;
- allowSep = true;
- } else if ('0' <= ch && ch <= '9'
- || ch == '-') {
- if (!allowNumber)
- return false;
- } else if (ch == '/' || ch == '.') {
- if (!allowSep)
- return false;
- allowNumber = false;
- allowSep = false;
- if (ch == '.')
- seenDot = true;
- if (ch == '/' && seenDot)
- return false;
- } else {
- return false;
- }
- }
- return true;
- }
function loadFrames() {
if (targetPage != "" && targetPage != "undefined")
top.classFrame.location = top.targetPage;
Modified: mesos/site/publish/api/latest/java/org/apache/mesos/Executor.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/api/latest/java/org/apache/mesos/Executor.html?rev=1612387&r1=1612386&r2=1612387&view=diff
==============================================================================
--- mesos/site/publish/api/latest/java/org/apache/mesos/Executor.html (original)
+++ mesos/site/publish/api/latest/java/org/apache/mesos/Executor.html Mon Jul 21 19:14:10 2014
@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc (version 1.7.0_25) on Mon Jul 14 12:13:55 PDT 2014 -->
+<!-- Generated by javadoc (version 1.7.0_06) on Mon Jul 21 12:13:32 PDT 2014 -->
<title>Executor</title>
-<meta name="date" content="2014-07-14">
+<meta name="date" content="2014-07-21">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
@@ -91,11 +91,13 @@
Note that only one callback will be invoked at a time, so it is not
recommended that you block within a callback because it may cause a
deadlock.
-
+ <p>
Each callback includes a reference to the executor driver that was
used to run this executor. The reference will not change for the
- duration of an executor (i.e., from the point you do <a href="../../../org/apache/mesos/ExecutorDriver.html#start()"><code>ExecutorDriver.start()</code></a> to the point that <a href="../../../org/apache/mesos/ExecutorDriver.html#join()"><code>ExecutorDriver.join()</code></a>
- returns). This is intended for convenience so that an executor
+ duration of an executor (i.e., from the point you do
+ <a href="../../../org/apache/mesos/ExecutorDriver.html#start()"><code>ExecutorDriver.start()</code></a> to the point that
+ <a href="../../../org/apache/mesos/ExecutorDriver.html#join()"><code>ExecutorDriver.join()</code></a> returns).
+ This is intended for convenience so that an executor
doesn't need to store a reference to the driver itself.</div>
</li>
</ul>
@@ -126,7 +128,7 @@
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Executor.html#error(org.apache.mesos.ExecutorDriver, java.lang.String)">error</a></strong>(<a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos">ExecutorDriver</a> driver,
java.lang.String message)</code>
-<div class="block">Invoked when a fatal error has occured with the executor and/or
+<div class="block">Invoked when a fatal error has occurred with the executor and/or
executor driver.</div>
</td>
</tr>
@@ -206,9 +208,12 @@
<div class="block">Invoked once the executor driver has been able to successfully
connect with Mesos. In particular, a scheduler can pass some
data to it's executors through the <code>ExecutorInfo#getData()</code>
- field. TODO(vinod): Add a new reregistered callback for when the executor
- re-connects with a restarted slave.</div>
-<dl><dt><span class="strong">Parameters:</span></dt><dd><code>driver</code> - The driver that was used to start this executor.</dd><dd><code>executorInfo</code> - The executor info that was used to start this executor.</dd><dd><code>frameworkInfo</code> - The framework that started this executor.</dd><dd><code>slaveInfo</code> - The slave this executor is registered with.</dd></dl>
+ field.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>driver</code> - The executor driver that was registered and connected
+ to the Mesos cluster.</dd><dd><code>executorInfo</code> - Describes information about the executor that was
+ registered.</dd><dd><code>frameworkInfo</code> - Describes the framework that was registered.</dd><dd><code>slaveInfo</code> - Describes the slave that will be used to launch
+ the tasks for this executor.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos"><code>ExecutorDriver</code></a>,
+<a href="../../../org/apache/mesos/MesosSchedulerDriver.html" title="class in org.apache.mesos"><code>MesosSchedulerDriver</code></a></dd></dl>
</li>
</ul>
<a name="reregistered(org.apache.mesos.ExecutorDriver, SlaveInfo)">
@@ -220,7 +225,9 @@
<pre>void reregistered(<a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos">ExecutorDriver</a> driver,
SlaveInfo slaveInfo)</pre>
<div class="block">Invoked when the executor re-registers with a restarted slave.</div>
-<dl><dt><span class="strong">Parameters:</span></dt><dd><code>driver</code> - The driver that was used to start this executor.</dd><dd><code>slaveInfo</code> - The slave this executor re-registered with.</dd></dl>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>driver</code> - The executor driver that was re-registered with the
+ Mesos master.</dd><dd><code>slaveInfo</code> - Describes the slave that will be used to launch
+ the tasks for this executor.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos"><code>ExecutorDriver</code></a></dd></dl>
</li>
</ul>
<a name="disconnected(org.apache.mesos.ExecutorDriver)">
@@ -232,7 +239,7 @@
<pre>void disconnected(<a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos">ExecutorDriver</a> driver)</pre>
<div class="block">Invoked when the executor becomes "disconnected" from the slave
(e.g., the slave is being restarted due to an upgrade).</div>
-<dl><dt><span class="strong">Parameters:</span></dt><dd><code>driver</code> - The driver that was used to start this executor.</dd></dl>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>driver</code> - The executor driver that was disconnected.</dd></dl>
</li>
</ul>
<a name="launchTask(org.apache.mesos.ExecutorDriver, TaskInfo)">
@@ -248,7 +255,8 @@
realized with a thread, a process, or some simple computation,
however, no other callbacks will be invoked on this executor
until this callback has returned.</div>
-<dl><dt><span class="strong">Parameters:</span></dt><dd><code>driver</code> - The driver that was used to start this executor.</dd><dd><code>task</code> - The info about the task that was launched.</dd></dl>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>driver</code> - The executor driver that launched the task.</dd><dd><code>task</code> - Describes the task that was launched.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos"><code>ExecutorDriver</code></a>,
+<code>TaskInfo</code></dd></dl>
</li>
</ul>
<a name="killTask(org.apache.mesos.ExecutorDriver, TaskID)">
@@ -260,11 +268,12 @@
<pre>void killTask(<a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos">ExecutorDriver</a> driver,
TaskID taskId)</pre>
<div class="block">Invoked when a task running within this executor has been killed
- (via <a href="../../../org/apache/mesos/SchedulerDriver.html#killTask(TaskID)"><code>SchedulerDriver.killTask(TaskID)</code></a>). Note that no status
- update will be sent on behalf of the executor, the executor is
- responsible for creating a new TaskStatus (i.e., with
- TASK_KILLED) and invoking <a href="../../../org/apache/mesos/ExecutorDriver.html#sendStatusUpdate(TaskStatus)"><code>ExecutorDriver.sendStatusUpdate(TaskStatus)</code></a>.</div>
-<dl><dt><span class="strong">Parameters:</span></dt><dd><code>driver</code> - The driver that was used to start this executor.</dd><dd><code>taskId</code> - The ID of the task that was killed.</dd></dl>
+ (via <a href="../../../org/apache/mesos/SchedulerDriver.html#killTask(TaskID)"><code>SchedulerDriver.killTask(TaskID)</code></a>). Note that no
+ status update will be sent on behalf of the executor, the executor is
+ responsible for creating a new TaskStatus (i.e., with TASK_KILLED)
+ and invoking <a href="../../../org/apache/mesos/ExecutorDriver.html#sendStatusUpdate(TaskStatus)"><code>ExecutorDriver.sendStatusUpdate(TaskStatus)</code></a>.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>driver</code> - The executor driver that owned the task that was killed.</dd><dd><code>taskId</code> - The ID of the task that was killed.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos"><code>ExecutorDriver</code></a>,
+<code>TaskID</code></dd></dl>
</li>
</ul>
<a name="frameworkMessage(org.apache.mesos.ExecutorDriver, byte[])">
@@ -278,7 +287,7 @@
<div class="block">Invoked when a framework message has arrived for this
executor. These messages are best effort; do not expect a
framework message to be retransmitted in any reliable fashion.</div>
-<dl><dt><span class="strong">Parameters:</span></dt><dd><code>driver</code> - The driver that was used to start this executor.</dd><dd><code>data</code> - The message data.</dd></dl>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>driver</code> - The executor driver that received the message.</dd><dd><code>data</code> - The message payload.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos"><code>ExecutorDriver</code></a></dd></dl>
</li>
</ul>
<a name="shutdown(org.apache.mesos.ExecutorDriver)">
@@ -289,11 +298,11 @@
<h4>shutdown</h4>
<pre>void shutdown(<a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos">ExecutorDriver</a> driver)</pre>
<div class="block">Invoked when the executor should terminate all of it's currently
- running tasks. Note that after a Mesos has determined that an
+ running tasks. Note that after Mesos has determined that an
executor has terminated any tasks that the executor did not send
- terminal status updates for (e.g., TASK_KILLED, TASK_FINISHED,
+ terminal status updates for (e.g. TASK_KILLED, TASK_FINISHED,
TASK_FAILED, etc) a TASK_LOST status update will be created.</div>
-<dl><dt><span class="strong">Parameters:</span></dt><dd><code>driver</code> - The driver that was used to start this executor.</dd></dl>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>driver</code> - The executor driver that should terminate.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos"><code>ExecutorDriver</code></a></dd></dl>
</li>
</ul>
<a name="error(org.apache.mesos.ExecutorDriver, java.lang.String)">
@@ -304,10 +313,10 @@
<h4>error</h4>
<pre>void error(<a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos">ExecutorDriver</a> driver,
java.lang.String message)</pre>
-<div class="block">Invoked when a fatal error has occured with the executor and/or
+<div class="block">Invoked when a fatal error has occurred with the executor and/or
executor driver. The driver will be aborted BEFORE invoking this
callback.</div>
-<dl><dt><span class="strong">Parameters:</span></dt><dd><code>driver</code> - The driver that was used to start this executor.</dd><dd><code>message</code> - The error message.</dd></dl>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>driver</code> - The executor driver that was aborted due this error.</dd><dd><code>message</code> - The error message.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos"><code>ExecutorDriver</code></a></dd></dl>
</li>
</ul>
</li>
Modified: mesos/site/publish/api/latest/java/org/apache/mesos/ExecutorDriver.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/api/latest/java/org/apache/mesos/ExecutorDriver.html?rev=1612387&r1=1612386&r2=1612387&view=diff
==============================================================================
--- mesos/site/publish/api/latest/java/org/apache/mesos/ExecutorDriver.html (original)
+++ mesos/site/publish/api/latest/java/org/apache/mesos/ExecutorDriver.html Mon Jul 21 19:14:10 2014
@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc (version 1.7.0_25) on Mon Jul 14 12:13:55 PDT 2014 -->
+<!-- Generated by javadoc (version 1.7.0_06) on Mon Jul 21 12:13:32 PDT 2014 -->
<title>ExecutorDriver</title>
-<meta name="date" content="2014-07-14">
+<meta name="date" content="2014-07-21">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
@@ -184,7 +184,7 @@
<pre>Status start()</pre>
<div class="block">Starts the executor driver. This needs to be called before any
other driver calls are made.</div>
-<dl><dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd></dl>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Status</code></dd></dl>
</li>
</ul>
<a name="stop()">
@@ -195,7 +195,7 @@
<h4>stop</h4>
<pre>Status stop()</pre>
<div class="block">Stops the executor driver.</div>
-<dl><dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd></dl>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Status</code></dd></dl>
</li>
</ul>
<a name="abort()">
@@ -212,7 +212,7 @@
and instantiate and start another driver if desired (from within
the same process ... although this functionality is currently not
supported for executors).</div>
-<dl><dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd></dl>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Status</code></dd></dl>
</li>
</ul>
<a name="join()">
@@ -226,7 +226,7 @@
_blocking_ the current thread indefinitely. The return status of
this function can be used to determine if the driver was aborted
(see mesos.proto for a description of Status).</div>
-<dl><dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd></dl>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Status</code></dd></dl>
</li>
</ul>
<a name="run()">
@@ -237,7 +237,7 @@
<h4>run</h4>
<pre>Status run()</pre>
<div class="block">Starts and immediately joins (i.e., blocks on) the driver.</div>
-<dl><dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd></dl>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Status</code></dd></dl>
</li>
</ul>
<a name="sendStatusUpdate(TaskStatus)">
@@ -253,7 +253,7 @@
will be sent). See <a href="../../../org/apache/mesos/Scheduler.html#statusUpdate(org.apache.mesos.SchedulerDriver, TaskStatus)"><code>Scheduler.statusUpdate(org.apache.mesos.SchedulerDriver, TaskStatus)</code></a> for more
information about status update acknowledgements.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>status</code> - The status update to send.</dd>
-<dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd></dl>
+<dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Status</code></dd></dl>
</li>
</ul>
<a name="sendFrameworkMessage(byte[])">
@@ -266,8 +266,8 @@
<div class="block">Sends a message to the framework scheduler. These messages are
best effort; do not expect a framework message to be
retransmitted in any reliable fashion.</div>
-<dl><dt><span class="strong">Parameters:</span></dt><dd><code>data</code> - The message data.</dd>
-<dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd></dl>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>data</code> - The message payload.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Status</code></dd></dl>
</li>
</ul>
</li>
Modified: mesos/site/publish/api/latest/java/org/apache/mesos/Log.Entry.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/api/latest/java/org/apache/mesos/Log.Entry.html?rev=1612387&r1=1612386&r2=1612387&view=diff
==============================================================================
--- mesos/site/publish/api/latest/java/org/apache/mesos/Log.Entry.html (original)
+++ mesos/site/publish/api/latest/java/org/apache/mesos/Log.Entry.html Mon Jul 21 19:14:10 2014
@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc (version 1.7.0_25) on Mon Jul 14 12:13:55 PDT 2014 -->
+<!-- Generated by javadoc (version 1.7.0_06) on Mon Jul 21 12:13:32 PDT 2014 -->
<title>Log.Entry</title>
-<meta name="date" content="2014-07-14">
+<meta name="date" content="2014-07-21">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
@@ -100,7 +100,8 @@
<br>
<pre>public static class <span class="strong">Log.Entry</span>
extends java.lang.Object</pre>
-<div class="block">Represents an opaque data entry in the <a href="../../../org/apache/mesos/Log.html" title="class in org.apache.mesos"><code>Log</code></a> with a <a href="../../../org/apache/mesos/Log.Position.html" title="class in org.apache.mesos"><code>Log.Position</code></a>.</div>
+<div class="block">Represents an opaque data entry in the <a href="../../../org/apache/mesos/Log.html" title="class in org.apache.mesos"><code>Log</code></a> with a
+ <a href="../../../org/apache/mesos/Log.Position.html" title="class in org.apache.mesos"><code>Log.Position</code></a>.</div>
</li>
</ul>
</div>
@@ -121,11 +122,15 @@ extends java.lang.Object</pre>
</tr>
<tr class="altColor">
<td class="colFirst"><code>byte[]</code></td>
-<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Log.Entry.html#data">data</a></strong></code> </td>
+<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Log.Entry.html#data">data</a></strong></code>
+<div class="block">The data at the given position.</div>
+</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../org/apache/mesos/Log.Position.html" title="class in org.apache.mesos">Log.Position</a></code></td>
-<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Log.Entry.html#position">position</a></strong></code> </td>
+<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Log.Entry.html#position">position</a></strong></code>
+<div class="block">The position of this entry.</div>
+</td>
</tr>
</table>
</li>
@@ -184,6 +189,8 @@ extends java.lang.Object</pre>
<li class="blockList">
<h4>position</h4>
<pre>public final <a href="../../../org/apache/mesos/Log.Position.html" title="class in org.apache.mesos">Log.Position</a> position</pre>
+<div class="block">The position of this entry.</div>
+<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/apache/mesos/Log.Position.html" title="class in org.apache.mesos"><code>Log.Position</code></a></dd></dl>
</li>
</ul>
<a name="data">
@@ -193,6 +200,7 @@ extends java.lang.Object</pre>
<li class="blockList">
<h4>data</h4>
<pre>public final byte[] data</pre>
+<div class="block">The data at the given position.</div>
</li>
</ul>
</li>
@@ -215,7 +223,7 @@ extends java.lang.Object</pre>
<p>
Entries are typically only created by the log implementation. Log
users should only ever need to call this constructor in unit tests.</div>
-<dl><dt><span class="strong">Parameters:</span></dt><dd><code>position</code> - the unique position of this entry within the log.</dd><dd><code>data</code> - the content stored in this entry.</dd></dl>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>position</code> - The unique position of this entry within the log.</dd><dd><code>data</code> - The content stored in this entry.</dd></dl>
</li>
</ul>
</li>
Modified: mesos/site/publish/api/latest/java/org/apache/mesos/Log.OperationFailedException.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/api/latest/java/org/apache/mesos/Log.OperationFailedException.html?rev=1612387&r1=1612386&r2=1612387&view=diff
==============================================================================
--- mesos/site/publish/api/latest/java/org/apache/mesos/Log.OperationFailedException.html (original)
+++ mesos/site/publish/api/latest/java/org/apache/mesos/Log.OperationFailedException.html Mon Jul 21 19:14:10 2014
@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc (version 1.7.0_25) on Mon Jul 14 12:13:56 PDT 2014 -->
+<!-- Generated by javadoc (version 1.7.0_06) on Mon Jul 21 12:13:32 PDT 2014 -->
<title>Log.OperationFailedException</title>
-<meta name="date" content="2014-07-14">
+<meta name="date" content="2014-07-21">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
@@ -185,6 +185,7 @@ extends java.lang.Exception</pre>
<li class="blockList">
<h4>Log.OperationFailedException</h4>
<pre>public Log.OperationFailedException(java.lang.String message)</pre>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>message</code> - The message for this exception.</dd></dl>
</li>
</ul>
<a name="Log.OperationFailedException(java.lang.String, java.lang.Throwable)">
@@ -195,6 +196,7 @@ extends java.lang.Exception</pre>
<h4>Log.OperationFailedException</h4>
<pre>public Log.OperationFailedException(java.lang.String message,
java.lang.Throwable cause)</pre>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>message</code> - The message for this exception.</dd><dd><code>cause</code> - The underlying reason this exception was generated.</dd></dl>
</li>
</ul>
</li>
Modified: mesos/site/publish/api/latest/java/org/apache/mesos/Log.Position.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/api/latest/java/org/apache/mesos/Log.Position.html?rev=1612387&r1=1612386&r2=1612387&view=diff
==============================================================================
--- mesos/site/publish/api/latest/java/org/apache/mesos/Log.Position.html (original)
+++ mesos/site/publish/api/latest/java/org/apache/mesos/Log.Position.html Mon Jul 21 19:14:10 2014
@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc (version 1.7.0_25) on Mon Jul 14 12:13:56 PDT 2014 -->
+<!-- Generated by javadoc (version 1.7.0_06) on Mon Jul 21 12:13:32 PDT 2014 -->
<title>Log.Position</title>
-<meta name="date" content="2014-07-14">
+<meta name="date" content="2014-07-21">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
@@ -197,7 +197,7 @@ implements java.lang.Comparable<<a hr
<p>
Positions are typically only created by the log implementation. Log
users should only ever need to call this constructor in unit tests.</div>
-<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - the marker for this position in the log.</dd></dl>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>value</code> - The marker for this position in the log.</dd></dl>
</li>
</ul>
</li>
@@ -256,6 +256,7 @@ implements java.lang.Comparable<<a hr
<pre>public byte[] identity()</pre>
<div class="block">Returns an "identity" of this position, useful for serializing
to logs or across communication mediums.</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The identity in bytes.</dd></dl>
</li>
</ul>
</li>
Modified: mesos/site/publish/api/latest/java/org/apache/mesos/Log.Reader.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/api/latest/java/org/apache/mesos/Log.Reader.html?rev=1612387&r1=1612386&r2=1612387&view=diff
==============================================================================
--- mesos/site/publish/api/latest/java/org/apache/mesos/Log.Reader.html (original)
+++ mesos/site/publish/api/latest/java/org/apache/mesos/Log.Reader.html Mon Jul 21 19:14:10 2014
@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc (version 1.7.0_25) on Mon Jul 14 12:13:56 PDT 2014 -->
+<!-- Generated by javadoc (version 1.7.0_06) on Mon Jul 21 12:13:32 PDT 2014 -->
<title>Log.Reader</title>
-<meta name="date" content="2014-07-14">
+<meta name="date" content="2014-07-21">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
@@ -121,7 +121,10 @@ extends java.lang.Object</pre>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
-<td class="colOne"><code><strong><a href="../../../org/apache/mesos/Log.Reader.html#Log.Reader(org.apache.mesos.Log)">Log.Reader</a></strong>(<a href="../../../org/apache/mesos/Log.html" title="class in org.apache.mesos">Log</a> log)</code> </td>
+<td class="colOne"><code><strong><a href="../../../org/apache/mesos/Log.Reader.html#Log.Reader(org.apache.mesos.Log)">Log.Reader</a></strong>(<a href="../../../org/apache/mesos/Log.html" title="class in org.apache.mesos">Log</a> log)</code>
+<div class="block">Returns an instance of a reader that will access the given instance of
+ the Log.</div>
+</td>
</tr>
</table>
</li>
@@ -199,6 +202,9 @@ extends java.lang.Object</pre>
<li class="blockList">
<h4>Log.Reader</h4>
<pre>public Log.Reader(<a href="../../../org/apache/mesos/Log.html" title="class in org.apache.mesos">Log</a> log)</pre>
+<div class="block">Returns an instance of a reader that will access the given instance of
+ the Log.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>log</code> - The log that this reader will access.</dd></dl>
</li>
</ul>
</li>
@@ -223,13 +229,21 @@ extends java.lang.Object</pre>
<a href="../../../org/apache/mesos/Log.OperationFailedException.html" title="class in org.apache.mesos">Log.OperationFailedException</a></pre>
<div class="block">Attempts to read from the log between the specified positions
(inclusive). If either of the positions are invalid, an
- OperationFailedException will get thrown. Unfortunately, this
+ <a href="../../../org/apache/mesos/Log.OperationFailedException.html" title="class in org.apache.mesos"><code>Log.OperationFailedException</code></a> will get thrown. Unfortunately, this
will also get thrown in other circumstances (e.g., disk
failure) and therefore it is currently impossible to tell these
two cases apart.</div>
-<dl><dt><span class="strong">Throws:</span></dt>
-<dd><code>java.util.concurrent.TimeoutException</code></dd>
-<dd><code><a href="../../../org/apache/mesos/Log.OperationFailedException.html" title="class in org.apache.mesos">Log.OperationFailedException</a></code></dd></dl>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>from</code> - Where to start reading.</dd><dd><code>to</code> - Where to finish reading.</dd><dd><code>timeout</code> - Max number of time units to wait before a
+ <code>TimeoutException</code>.</dd><dd><code>unit</code> - Type of units used for the timeout, e.g. seconds,
+ minutes, etc.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>The list of entries fetched from the Log.</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>java.util.concurrent.TimeoutException</code> - If the read doesn't happen before the
+ timeout.</dd>
+<dd><code><a href="../../../org/apache/mesos/Log.OperationFailedException.html" title="class in org.apache.mesos">Log.OperationFailedException</a></code> - If the read fails due that the read no
+ longer has the ability to perform its
+ operations.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/apache/mesos/Log.Position.html" title="class in org.apache.mesos"><code>Log.Position</code></a>,
+<code>TimeUnit</code></dd></dl>
</li>
</ul>
<a name="beginning()">
@@ -241,6 +255,7 @@ extends java.lang.Object</pre>
<pre>public <a href="../../../org/apache/mesos/Log.Position.html" title="class in org.apache.mesos">Log.Position</a> beginning()</pre>
<div class="block">Returns the beginning position of the log (might be out of date
with respect to another replica).</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The beginning position of the log.</dd></dl>
</li>
</ul>
<a name="ending()">
@@ -252,6 +267,7 @@ extends java.lang.Object</pre>
<pre>public <a href="../../../org/apache/mesos/Log.Position.html" title="class in org.apache.mesos">Log.Position</a> ending()</pre>
<div class="block">Returns the ending position of the log (might be out of date
with respect to another replica).</div>
+<dl><dt><span class="strong">Returns:</span></dt><dd>The ending position of the log</dd></dl>
</li>
</ul>
<a name="initialize(org.apache.mesos.Log)">
Modified: mesos/site/publish/api/latest/java/org/apache/mesos/Log.Writer.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/api/latest/java/org/apache/mesos/Log.Writer.html?rev=1612387&r1=1612386&r2=1612387&view=diff
==============================================================================
--- mesos/site/publish/api/latest/java/org/apache/mesos/Log.Writer.html (original)
+++ mesos/site/publish/api/latest/java/org/apache/mesos/Log.Writer.html Mon Jul 21 19:14:10 2014
@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc (version 1.7.0_25) on Mon Jul 14 12:13:56 PDT 2014 -->
+<!-- Generated by javadoc (version 1.7.0_06) on Mon Jul 21 12:13:32 PDT 2014 -->
<title>Log.Writer</title>
-<meta name="date" content="2014-07-14">
+<meta name="date" content="2014-07-21">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
@@ -124,7 +124,9 @@ extends java.lang.Object</pre>
<td class="colOne"><code><strong><a href="../../../org/apache/mesos/Log.Writer.html#Log.Writer(org.apache.mesos.Log, long, java.util.concurrent.TimeUnit, int)">Log.Writer</a></strong>(<a href="../../../org/apache/mesos/Log.html" title="class in org.apache.mesos">Log</a> log,
long timeout,
java.util.concurrent.TimeUnit unit,
- int retries)</code> </td>
+ int retries)</code>
+<div class="block">Constructs a writer linked the given <a href="../../../org/apache/mesos/Log.html" title="class in org.apache.mesos"><code>Log</code></a>.</div>
+</td>
</tr>
</table>
</li>
@@ -168,7 +170,7 @@ extends java.lang.Object</pre>
java.util.concurrent.TimeUnit unit)</code>
<div class="block">Attempts to truncate the log (from the beginning to the
specified position exclusive) If the position is invalid, an
- WriterFailedException will get thrown.</div>
+ <a href="../../../org/apache/mesos/Log.WriterFailedException.html" title="class in org.apache.mesos"><code>Log.WriterFailedException</code></a> will get thrown.</div>
</td>
</tr>
</table>
@@ -203,6 +205,10 @@ extends java.lang.Object</pre>
long timeout,
java.util.concurrent.TimeUnit unit,
int retries)</pre>
+<div class="block">Constructs a writer linked the given <a href="../../../org/apache/mesos/Log.html" title="class in org.apache.mesos"><code>Log</code></a>.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>log</code> - The log that this writer will access.</dd><dd><code>timeout</code> - Max number of time units to wait before a
+ <code>TimeoutException</code>.</dd><dd><code>unit</code> - Type of time units used for the timeout, e.g. seconds,
+ minutes, etc.</dd><dd><code>retries</code> - Number of retries</dd><dt><span class="strong">See Also:</span></dt><dd><code>TimeUnit</code></dd></dl>
</li>
</ul>
</li>
@@ -226,9 +232,18 @@ extends java.lang.Object</pre>
<a href="../../../org/apache/mesos/Log.WriterFailedException.html" title="class in org.apache.mesos">Log.WriterFailedException</a></pre>
<div class="block">Attempts to append to the log with the specified data returning
the new end position of the log if successful.</div>
-<dl><dt><span class="strong">Throws:</span></dt>
-<dd><code>java.util.concurrent.TimeoutException</code></dd>
-<dd><code><a href="../../../org/apache/mesos/Log.WriterFailedException.html" title="class in org.apache.mesos">Log.WriterFailedException</a></code></dd></dl>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>data</code> - Data to append to the log.</dd><dd><code>timeout</code> - Max number of time units to wait before a
+ <code>TimeoutException</code>.</dd><dd><code>unit</code> - Type of time units used for the timeout, e.g. seconds,
+ minutes, etc.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>The new end-position.</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>java.util.concurrent.TimeoutException</code> - If the append doesn't happen before the
+ timeout.</dd>
+<dd><code><a href="../../../org/apache/mesos/Log.WriterFailedException.html" title="class in org.apache.mesos">Log.WriterFailedException</a></code> - If the append fails due that the writer
+ no longer has the ability to perform its
+ operations (e.g., because it was
+ superseded by another writer).</dd><dt><span class="strong">See Also:</span></dt><dd><code>TimeUnit</code>,
+<a href="../../../org/apache/mesos/Log.WriterFailedException.html" title="class in org.apache.mesos"><code>Log.WriterFailedException</code></a></dd></dl>
</li>
</ul>
<a name="truncate(org.apache.mesos.Log.Position, long, java.util.concurrent.TimeUnit)">
@@ -244,17 +259,22 @@ extends java.lang.Object</pre>
<a href="../../../org/apache/mesos/Log.WriterFailedException.html" title="class in org.apache.mesos">Log.WriterFailedException</a></pre>
<div class="block">Attempts to truncate the log (from the beginning to the
specified position exclusive) If the position is invalid, an
- WriterFailedException will get thrown. Unfortunately, this will
+ <a href="../../../org/apache/mesos/Log.WriterFailedException.html" title="class in org.apache.mesos"><code>Log.WriterFailedException</code></a> will get thrown. Unfortunately, this will
also get thrown in other circumstances (e.g., disk failure) and
therefore it is currently impossible to tell these two cases
- apart.
-
- <p>TODO(benh): Throw both OperationFailedException and
- WriterFailedException to differentiate the need for a new
- writer from a bad position, or a bad disk, etc.</div>
-<dl><dt><span class="strong">Throws:</span></dt>
-<dd><code>java.util.concurrent.TimeoutException</code></dd>
-<dd><code><a href="../../../org/apache/mesos/Log.WriterFailedException.html" title="class in org.apache.mesos">Log.WriterFailedException</a></code></dd></dl>
+ apart.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>to</code> - The log will be truncated up to this point.</dd><dd><code>timeout</code> - Max number of time units to wait before a
+ <code>TimeoutException</code>.</dd><dd><code>unit</code> - Type of time units used for the timeout, e.g. seconds,
+ minutes, etc.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>The position after the truncation.</dd>
+<dt><span class="strong">Throws:</span></dt>
+<dd><code>java.util.concurrent.TimeoutException</code> - If the truncation doesn't happen before
+ the timeout.</dd>
+<dd><code><a href="../../../org/apache/mesos/Log.WriterFailedException.html" title="class in org.apache.mesos">Log.WriterFailedException</a></code> - If the truncation fails due an invalid
+ position or if the writer no longer has
+ the ability to perform its operations
+ (e.g., because it was superseded by
+ another writer).</dd></dl>
</li>
</ul>
<a name="initialize(org.apache.mesos.Log, long, java.util.concurrent.TimeUnit, int)">
Modified: mesos/site/publish/api/latest/java/org/apache/mesos/Log.WriterFailedException.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/api/latest/java/org/apache/mesos/Log.WriterFailedException.html?rev=1612387&r1=1612386&r2=1612387&view=diff
==============================================================================
--- mesos/site/publish/api/latest/java/org/apache/mesos/Log.WriterFailedException.html (original)
+++ mesos/site/publish/api/latest/java/org/apache/mesos/Log.WriterFailedException.html Mon Jul 21 19:14:10 2014
@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc (version 1.7.0_25) on Mon Jul 14 12:13:56 PDT 2014 -->
+<!-- Generated by javadoc (version 1.7.0_06) on Mon Jul 21 12:13:32 PDT 2014 -->
<title>Log.WriterFailedException</title>
-<meta name="date" content="2014-07-14">
+<meta name="date" content="2014-07-21">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
@@ -186,6 +186,7 @@ extends java.lang.Exception</pre>
<li class="blockList">
<h4>Log.WriterFailedException</h4>
<pre>public Log.WriterFailedException(java.lang.String message)</pre>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>message</code> - The message for this exception.</dd></dl>
</li>
</ul>
<a name="Log.WriterFailedException(java.lang.String, java.lang.Throwable)">
@@ -196,6 +197,7 @@ extends java.lang.Exception</pre>
<h4>Log.WriterFailedException</h4>
<pre>public Log.WriterFailedException(java.lang.String message,
java.lang.Throwable cause)</pre>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>message</code> - The message for this exception.</dd><dd><code>cause</code> - The underlying reason this exception was generated.</dd></dl>
</li>
</ul>
</li>
Modified: mesos/site/publish/api/latest/java/org/apache/mesos/Log.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/api/latest/java/org/apache/mesos/Log.html?rev=1612387&r1=1612386&r2=1612387&view=diff
==============================================================================
--- mesos/site/publish/api/latest/java/org/apache/mesos/Log.html (original)
+++ mesos/site/publish/api/latest/java/org/apache/mesos/Log.html Mon Jul 21 19:14:10 2014
@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc (version 1.7.0_25) on Mon Jul 14 12:13:55 PDT 2014 -->
+<!-- Generated by javadoc (version 1.7.0_06) on Mon Jul 21 12:13:32 PDT 2014 -->
<title>Log</title>
-<meta name="date" content="2014-07-14">
+<meta name="date" content="2014-07-21">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
@@ -97,7 +97,19 @@
<pre>public class <span class="strong">Log</span>
extends java.lang.Object</pre>
<div class="block">Provides access to a distributed append only log. The log can be
- read from using a <a href="../../../org/apache/mesos/Log.Reader.html" title="class in org.apache.mesos"><code>Log.Reader</code></a> and written to using a <a href="../../../org/apache/mesos/Log.Writer.html" title="class in org.apache.mesos"><code>Log.Writer</code></a>.</div>
+ read from using a <a href="../../../org/apache/mesos/Log.Reader.html" title="class in org.apache.mesos"><code>Log.Reader</code></a> and written to using a
+ <a href="../../../org/apache/mesos/Log.Writer.html" title="class in org.apache.mesos"><code>Log.Writer</code></a>.
+
+ <p>Both the <i>Reader</i> and <i>Writer</i> will require a <i>quorum</i>
+ which defines the <i>ratio of active Mesos Masters</i> that need to be
+ available for a successful read or write. The <i>quorum</i> will be satisfied
+ when the number of <i>active Masters</i> is greater than the given
+ <i>number</i>:
+ <pre><code>Quorum > (Number of Masters)/2
+ </code></pre>
+
+ <p>If a <i>read</i> or <i>write</i> is executed the operation will wait
+ until their is <i>quorum</i> to succeed.</div>
</li>
</ul>
</div>
@@ -119,7 +131,8 @@ extends java.lang.Object</pre>
<tr class="altColor">
<td class="colFirst"><code>static class </code></td>
<td class="colLast"><code><strong><a href="../../../org/apache/mesos/Log.Entry.html" title="class in org.apache.mesos">Log.Entry</a></strong></code>
-<div class="block">Represents an opaque data entry in the <a href="../../../org/apache/mesos/Log.html" title="class in org.apache.mesos"><code>Log</code></a> with a <a href="../../../org/apache/mesos/Log.Position.html" title="class in org.apache.mesos"><code>Log.Position</code></a>.</div>
+<div class="block">Represents an opaque data entry in the <a href="../../../org/apache/mesos/Log.html" title="class in org.apache.mesos"><code>Log</code></a> with a
+ <a href="../../../org/apache/mesos/Log.Position.html" title="class in org.apache.mesos"><code>Log.Position</code></a>.</div>
</td>
</tr>
<tr class="rowColor">
@@ -173,7 +186,11 @@ extends java.lang.Object</pre>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../org/apache/mesos/Log.html#Log(int, java.lang.String, java.util.Set)">Log</a></strong>(int quorum,
java.lang.String path,
- java.util.Set<java.lang.String> pids)</code> </td>
+ java.util.Set<java.lang.String> pids)</code>
+<div class="block">Creates a new replicated log that assumes the specified quorum
+ size, is backed by a file at the specified path, and coordiantes
+ with other replicas via the set of process PIDs.</div>
+</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../org/apache/mesos/Log.html#Log(int, java.lang.String, java.lang.String, long, java.util.concurrent.TimeUnit, java.lang.String)">Log</a></strong>(int quorum,
@@ -181,7 +198,12 @@ extends java.lang.Object</pre>
java.lang.String servers,
long timeout,
java.util.concurrent.TimeUnit unit,
- java.lang.String znode)</code> </td>
+ java.lang.String znode)</code>
+<div class="block">Creates a new replicated log that assumes the specified quorum
+ size, is backed by a file at the specified path, and coordiantes
+ with other replicas associated with the specified ZooKeeper
+ servers, timeout, and znode (or Zookeeper name space).</div>
+</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../org/apache/mesos/Log.html#Log(int, java.lang.String, java.lang.String, long, java.util.concurrent.TimeUnit, java.lang.String, java.lang.String, byte[])">Log</a></strong>(int quorum,
@@ -191,7 +213,12 @@ extends java.lang.Object</pre>
java.util.concurrent.TimeUnit unit,
java.lang.String znode,
java.lang.String scheme,
- byte[] credentials)</code> </td>
+ byte[] credentials)</code>
+<div class="block">Creates a new replicated log that assumes the specified quorum
+ size, is backed by a file at the specified path, and coordiantes
+ with other replicas associated with the specified ZooKeeper
+ servers, timeout, and znode (or Zookeeper name space).</div>
+</td>
</tr>
</table>
</li>
@@ -276,6 +303,10 @@ extends java.lang.Object</pre>
<pre>public Log(int quorum,
java.lang.String path,
java.util.Set<java.lang.String> pids)</pre>
+<div class="block">Creates a new replicated log that assumes the specified quorum
+ size, is backed by a file at the specified path, and coordiantes
+ with other replicas via the set of process PIDs.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quorum</code> - The quorum size.</dd><dd><code>path</code> - Path to the file backing this log.</dd><dd><code>pids</code> - PIDs of the replicas to coordinate with.</dd></dl>
</li>
</ul>
<a name="Log(int, java.lang.String, java.lang.String, long, java.util.concurrent.TimeUnit, java.lang.String)">
@@ -290,6 +321,13 @@ extends java.lang.Object</pre>
long timeout,
java.util.concurrent.TimeUnit unit,
java.lang.String znode)</pre>
+<div class="block">Creates a new replicated log that assumes the specified quorum
+ size, is backed by a file at the specified path, and coordiantes
+ with other replicas associated with the specified ZooKeeper
+ servers, timeout, and znode (or Zookeeper name space).</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quorum</code> - The quorum size.</dd><dd><code>path</code> - Path to the file backing this log.</dd><dd><code>servers</code> - List of ZooKeeper servers (e.g., 'ip1:port1,ip2:port2').</dd><dd><code>timeout</code> - Max number of time units to wait before a
+ <code>TimeoutException</code>.</dd><dd><code>unit</code> - Type of time units used for the timeout, e.g. seconds,
+ minutes, etc.</dd><dd><code>znode</code> - Path to znode where "state" should be rooted.</dd></dl>
</li>
</ul>
<a name="Log(int, java.lang.String, java.lang.String, long, java.util.concurrent.TimeUnit, java.lang.String, java.lang.String, byte[])">
@@ -306,6 +344,13 @@ extends java.lang.Object</pre>
java.lang.String znode,
java.lang.String scheme,
byte[] credentials)</pre>
+<div class="block">Creates a new replicated log that assumes the specified quorum
+ size, is backed by a file at the specified path, and coordiantes
+ with other replicas associated with the specified ZooKeeper
+ servers, timeout, and znode (or Zookeeper name space).</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>quorum</code> - The quorum size.</dd><dd><code>path</code> - Path to the file backing this log.</dd><dd><code>servers</code> - Zookeper servers/connection string.</dd><dd><code>timeout</code> - Max number of time units to wait before a
+ <code>TimeoutException</code>.</dd><dd><code>unit</code> - Type of time units used for the timeout, e.g. seconds,
+ minutes, etc.</dd><dd><code>znode</code> - The Zookeeper name space.</dd><dd><code>scheme</code> - Authentication scheme (e.g., "digest").</dd><dd><code>credentials</code> - Authentication credentials (e.g., "user:pass").</dd></dl>
</li>
</ul>
</li>
@@ -325,6 +370,8 @@ extends java.lang.Object</pre>
<pre>public <a href="../../../org/apache/mesos/Log.Position.html" title="class in org.apache.mesos">Log.Position</a> position(byte[] identity)</pre>
<div class="block">Returns a position based off of the bytes recovered from
Position.identity().</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>identity</code> - Identity, in bytes, of the position.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>The position.</dd></dl>
</li>
</ul>
<a name="initialize(int, java.lang.String, java.util.Set)">
Modified: mesos/site/publish/api/latest/java/org/apache/mesos/MesosExecutorDriver.html
URL: http://svn.apache.org/viewvc/mesos/site/publish/api/latest/java/org/apache/mesos/MesosExecutorDriver.html?rev=1612387&r1=1612386&r2=1612387&view=diff
==============================================================================
--- mesos/site/publish/api/latest/java/org/apache/mesos/MesosExecutorDriver.html (original)
+++ mesos/site/publish/api/latest/java/org/apache/mesos/MesosExecutorDriver.html Mon Jul 21 19:14:10 2014
@@ -2,9 +2,9 @@
<!-- NewPage -->
<html lang="en">
<head>
-<!-- Generated by javadoc (version 1.7.0_25) on Mon Jul 14 12:13:56 PDT 2014 -->
+<!-- Generated by javadoc (version 1.7.0_06) on Mon Jul 21 12:13:32 PDT 2014 -->
<title>MesosExecutorDriver</title>
-<meta name="date" content="2014-07-14">
+<meta name="date" content="2014-07-21">
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
</head>
<body>
@@ -104,13 +104,13 @@ implements <a href="../../../org/apache/
<div class="block">Concrete implementation of an ExecutorDriver that connects an
Executor with a Mesos slave. The MesosExecutorDriver is
thread-safe.
-
+ <p>
The driver is responsible for invoking the Executor callbacks as it
communicates with the Mesos slave.
-
+ <p>
Note that blocking on the MesosExecutorDriver (e.g., via <a href="../../../org/apache/mesos/MesosExecutorDriver.html#join()"><code>join()</code></a>) doesn't affect the executor callbacks in anyway because
they are handled by a different thread.
-
+ <p>
See src/examples/java/TestExecutor.java for an example of using the
MesosExecutorDriver.</div>
</li>
@@ -235,6 +235,8 @@ implements <a href="../../../org/apache/
<h4>MesosExecutorDriver</h4>
<pre>public MesosExecutorDriver(<a href="../../../org/apache/mesos/Executor.html" title="interface in org.apache.mesos">Executor</a> executor)</pre>
<div class="block">Creates a new driver that uses the specified Executor.</div>
+<dl><dt><span class="strong">Parameters:</span></dt><dd><code>executor</code> - The instance of the executor that will be used
+ to connect to the slave.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/apache/mesos/Executor.html" title="interface in org.apache.mesos"><code>Executor</code></a></dd></dl>
</li>
</ul>
</li>
@@ -256,7 +258,7 @@ implements <a href="../../../org/apache/
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/ExecutorDriver.html#start()">start</a></code> in interface <code><a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos">ExecutorDriver</a></code></dd>
-<dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd></dl>
+<dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos"><code>ExecutorDriver</code></a></dd></dl>
</li>
</ul>
<a name="stop()">
@@ -271,7 +273,7 @@ implements <a href="../../../org/apache/
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/ExecutorDriver.html#stop()">stop</a></code> in interface <code><a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos">ExecutorDriver</a></code></dd>
-<dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd></dl>
+<dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Status</code></dd></dl>
</li>
</ul>
<a name="abort()">
@@ -292,7 +294,7 @@ implements <a href="../../../org/apache/
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/ExecutorDriver.html#abort()">abort</a></code> in interface <code><a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos">ExecutorDriver</a></code></dd>
-<dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd></dl>
+<dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Status</code></dd></dl>
</li>
</ul>
<a name="join()">
@@ -310,7 +312,7 @@ implements <a href="../../../org/apache/
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/ExecutorDriver.html#join()">join</a></code> in interface <code><a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos">ExecutorDriver</a></code></dd>
-<dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd></dl>
+<dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Status</code></dd></dl>
</li>
</ul>
<a name="run()">
@@ -325,7 +327,7 @@ implements <a href="../../../org/apache/
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/ExecutorDriver.html#run()">run</a></code> in interface <code><a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos">ExecutorDriver</a></code></dd>
-<dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd></dl>
+<dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Status</code></dd></dl>
</li>
</ul>
<a name="sendStatusUpdate(TaskStatus)">
@@ -345,7 +347,7 @@ implements <a href="../../../org/apache/
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/ExecutorDriver.html#sendStatusUpdate(TaskStatus)">sendStatusUpdate</a></code> in interface <code><a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos">ExecutorDriver</a></code></dd>
<dt><span class="strong">Parameters:</span></dt><dd><code>status</code> - The status update to send.</dd>
-<dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd></dl>
+<dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Status</code></dd></dl>
</li>
</ul>
<a name="sendFrameworkMessage(byte[])">
@@ -362,8 +364,8 @@ implements <a href="../../../org/apache/
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../org/apache/mesos/ExecutorDriver.html#sendFrameworkMessage(byte[])">sendFrameworkMessage</a></code> in interface <code><a href="../../../org/apache/mesos/ExecutorDriver.html" title="interface in org.apache.mesos">ExecutorDriver</a></code></dd>
-<dt><span class="strong">Parameters:</span></dt><dd><code>data</code> - The message data.</dd>
-<dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd></dl>
+<dt><span class="strong">Parameters:</span></dt><dd><code>data</code> - The message payload.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>The state of the driver after the call.</dd><dt><span class="strong">See Also:</span></dt><dd><code>Status</code></dd></dl>
</li>
</ul>
<a name="initialize()">