http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/85b6530d/site/javadoc/r0.4.0/org/apache/edgent/execution/services/JobRegistryService.html ---------------------------------------------------------------------- diff --git a/site/javadoc/r0.4.0/org/apache/edgent/execution/services/JobRegistryService.html b/site/javadoc/r0.4.0/org/apache/edgent/execution/services/JobRegistryService.html new file mode 100644 index 0000000..7385d49 --- /dev/null +++ b/site/javadoc/r0.4.0/org/apache/edgent/execution/services/JobRegistryService.html @@ -0,0 +1,417 @@ +<!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 Tue Jul 26 12:40:37 PDT 2016 --> +<title>JobRegistryService (Edgent v0.4.0)</title> +<meta name="date" content="2016-07-26"> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="JobRegistryService (Edgent v0.4.0)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/JobRegistryService.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/edgent/execution/services/ControlService.html" title="interface in org.apache.edgent.execution.services"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/edgent/execution/services/JobRegistryService.html" target="_top">Frames</a></li> +<li><a href="JobRegistryService.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li><a href="#nested.class.summary">Nested</a> | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.edgent.execution.services</div> +<h2 title="Interface JobRegistryService" class="title">Interface JobRegistryService</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Known Implementing Classes:</dt> +<dd><a href="../../../../../org/apache/edgent/runtime/jobregistry/JobRegistry.html" title="class in org.apache.edgent.runtime.jobregistry">JobRegistry</a></dd> +</dl> +<hr> +<br> +<pre>public interface <span class="typeNameLabel">JobRegistryService</span></pre> +<div class="block">Job registry service. + <p> + Keeps the list of <a href="../../../../../org/apache/edgent/execution/Job.html" title="interface in org.apache.edgent.execution"><code>Job</code></a> instances registered by the runtime and + provides the necessary methods to register and remove jobs, access + registered jobs, as well as register listeners which are notified on job + registrations, removals, and updates. + The following event types are sent to registered listeners: + </p> + <ul> + <li>An <a href="../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html#ADD"><code>JobRegistryService.EventType.ADD</code></a> event is sent when a job is added.</li> + <li>An <a href="../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html#REMOVE"><code>JobRegistryService.EventType.REMOVE</code></a> event is sent when a job is removed.</li> + <li>An <a href="../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html#UPDATE"><code>JobRegistryService.EventType.UPDATE</code></a> event is sent when a job is updated.</li> + </ul> + <h3>Event dispatch</h3> + If a listener invocation throws an Exception, then the exception + will not prevent the remaining listeners from being invoked. However, + if the invocation throws an Error, then it is recommended that + the event dispatch stop.</div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== NESTED CLASS SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="nested.class.summary"> +<!-- --> +</a> +<h3>Nested Class Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> +<caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Interface and Description</th> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static class </code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services">JobRegistryService.EventType</a></span></code> +<div class="block">Job event types.</div> +</td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/edgent/execution/services/JobRegistryService.html#addJob-org.apache.edgent.execution.Job-">addJob</a></span>(<a href="../../../../../org/apache/edgent/execution/Job.html" title="interface in org.apache.edgent.execution">Job</a> job)</code> +<div class="block">Adds the specified job.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/edgent/execution/services/JobRegistryService.html#addListener-org.apache.edgent.function.BiConsumer-">addListener</a></span>(<a href="../../../../../org/apache/edgent/function/BiConsumer.html" title="interface in org.apache.edgent.function">BiConsumer</a><<a href="../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services">JobRegistryService.EventType</a>,<a href="../../../../../org/apache/edgent/execution/Job.html" title="interface in org.apache.edgent.execution">Job</a>> listener)</code> +<div class="block">Adds a handler to a collection of listeners that will be notified + on job registration and state changes.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code><a href="../../../../../org/apache/edgent/execution/Job.html" title="interface in org.apache.edgent.execution">Job</a></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/edgent/execution/services/JobRegistryService.html#getJob-java.lang.String-">getJob</a></span>(java.lang.String id)</code> +<div class="block">Returns a job given its identifier.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code>java.util.Set<java.lang.String></code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/edgent/execution/services/JobRegistryService.html#getJobIds--">getJobIds</a></span>()</code> +<div class="block">Returns a set of all the registered job identifiers.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/edgent/execution/services/JobRegistryService.html#removeJob-java.lang.String-">removeJob</a></span>(java.lang.String jobId)</code> +<div class="block">Removes the job specified by the given identifier.</div> +</td> +</tr> +<tr id="i5" class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/edgent/execution/services/JobRegistryService.html#removeListener-org.apache.edgent.function.BiConsumer-">removeListener</a></span>(<a href="../../../../../org/apache/edgent/function/BiConsumer.html" title="interface in org.apache.edgent.function">BiConsumer</a><<a href="../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services">JobRegistryService.EventType</a>,<a href="../../../../../org/apache/edgent/execution/Job.html" title="interface in org.apache.edgent.execution">Job</a>> listener)</code> +<div class="block">Removes a handler from this registry's collection of listeners.</div> +</td> +</tr> +<tr id="i6" class="altColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/edgent/execution/services/JobRegistryService.html#updateJob-org.apache.edgent.execution.Job-">updateJob</a></span>(<a href="../../../../../org/apache/edgent/execution/Job.html" title="interface in org.apache.edgent.execution">Job</a> job)</code> +<div class="block">Notifies listeners that the specified registered job has + been updated.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="addListener-org.apache.edgent.function.BiConsumer-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addListener</h4> +<pre>void addListener(<a href="../../../../../org/apache/edgent/function/BiConsumer.html" title="interface in org.apache.edgent.function">BiConsumer</a><<a href="../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services">JobRegistryService.EventType</a>,<a href="../../../../../org/apache/edgent/execution/Job.html" title="interface in org.apache.edgent.execution">Job</a>> listener) + throws java.lang.IllegalArgumentException</pre> +<div class="block">Adds a handler to a collection of listeners that will be notified + on job registration and state changes. Listeners will be notified + in the order in which they are added. + <p> + A listener is notified of all existing jobs when it is first added.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>listener</code> - the listener that will be added</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - if the listener parameter is + <code>null</code></dd> +</dl> +</li> +</ul> +<a name="removeListener-org.apache.edgent.function.BiConsumer-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>removeListener</h4> +<pre>boolean removeListener(<a href="../../../../../org/apache/edgent/function/BiConsumer.html" title="interface in org.apache.edgent.function">BiConsumer</a><<a href="../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services">JobRegistryService.EventType</a>,<a href="../../../../../org/apache/edgent/execution/Job.html" title="interface in org.apache.edgent.execution">Job</a>> listener)</pre> +<div class="block">Removes a handler from this registry's collection of listeners.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>listener</code> - the listener that will be removed</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>whether or not the listener has been removed</dd> +</dl> +</li> +</ul> +<a name="getJobIds--"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getJobIds</h4> +<pre>java.util.Set<java.lang.String> getJobIds()</pre> +<div class="block">Returns a set of all the registered job identifiers.</div> +<dl> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the identifiers of all the jobs</dd> +</dl> +</li> +</ul> +<a name="getJob-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getJob</h4> +<pre><a href="../../../../../org/apache/edgent/execution/Job.html" title="interface in org.apache.edgent.execution">Job</a> getJob(java.lang.String id)</pre> +<div class="block">Returns a job given its identifier.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>id</code> - job identifier</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the job or <code>null</code> if no job is registered with that + identifier.</dd> +</dl> +</li> +</ul> +<a name="addJob-org.apache.edgent.execution.Job-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addJob</h4> +<pre>void addJob(<a href="../../../../../org/apache/edgent/execution/Job.html" title="interface in org.apache.edgent.execution">Job</a> job) + throws java.lang.IllegalArgumentException</pre> +<div class="block">Adds the specified job.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>job</code> - the job to register</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.IllegalArgumentException</code> - if a job is null, or if a job with + the same identifier is already registered</dd> +</dl> +</li> +</ul> +<a name="removeJob-java.lang.String-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>removeJob</h4> +<pre>boolean removeJob(java.lang.String jobId)</pre> +<div class="block">Removes the job specified by the given identifier.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>jobId</code> - the identifier of the job to remove</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>whether or not the job was removed</dd> +</dl> +</li> +</ul> +<a name="updateJob-org.apache.edgent.execution.Job-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>updateJob</h4> +<pre>boolean updateJob(<a href="../../../../../org/apache/edgent/execution/Job.html" title="interface in org.apache.edgent.execution">Job</a> job)</pre> +<div class="block">Notifies listeners that the specified registered job has + been updated.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>job</code> - the job</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>whether or not the job was found in the registry</dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/JobRegistryService.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +<div class="aboutLanguage"><a href="http://edgent.incubator.apache.org">Apache Edgent (incubating)</a></div> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/edgent/execution/services/ControlService.html" title="interface in org.apache.edgent.execution.services"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/edgent/execution/services/JobRegistryService.html" target="_top">Frames</a></li> +<li><a href="JobRegistryService.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li><a href="#nested.class.summary">Nested</a> | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2016 The Apache Software Foundation. All Rights Reserved - 54ea8ac-20160726-1240</small></p> +</body> +</html>
http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/85b6530d/site/javadoc/r0.4.0/org/apache/edgent/execution/services/RuntimeServices.html ---------------------------------------------------------------------- diff --git a/site/javadoc/r0.4.0/org/apache/edgent/execution/services/RuntimeServices.html b/site/javadoc/r0.4.0/org/apache/edgent/execution/services/RuntimeServices.html new file mode 100644 index 0000000..688a978 --- /dev/null +++ b/site/javadoc/r0.4.0/org/apache/edgent/execution/services/RuntimeServices.html @@ -0,0 +1,282 @@ +<!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 Tue Jul 26 12:40:37 PDT 2016 --> +<title>RuntimeServices (Edgent v0.4.0)</title> +<meta name="date" content="2016-07-26"> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="RuntimeServices (Edgent v0.4.0)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":6}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/RuntimeServices.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/edgent/execution/services/ServiceContainer.html" title="class in org.apache.edgent.execution.services"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/edgent/execution/services/RuntimeServices.html" target="_top">Frames</a></li> +<li><a href="RuntimeServices.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.edgent.execution.services</div> +<h2 title="Interface RuntimeServices" class="title">Interface RuntimeServices</h2> +</div> +<div class="contentContainer"> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<dl> +<dt>All Known Subinterfaces:</dt> +<dd><a href="../../../../../org/apache/edgent/oplet/OpletContext.html" title="interface in org.apache.edgent.oplet">OpletContext</a><I,O></dd> +</dl> +<dl> +<dt>All Known Implementing Classes:</dt> +<dd><a href="../../../../../org/apache/edgent/runtime/etiao/AbstractContext.html" title="class in org.apache.edgent.runtime.etiao">AbstractContext</a>, <a href="../../../../../org/apache/edgent/runtime/etiao/Executable.html" title="class in org.apache.edgent.runtime.etiao">Executable</a>, <a href="../../../../../org/apache/edgent/runtime/etiao/InvocationContext.html" title="class in org.apache.edgent.runtime.etiao">InvocationContext</a></dd> +</dl> +<hr> +<br> +<pre>public interface <span class="typeNameLabel">RuntimeServices</span></pre> +<div class="block">At runtime a container provides services to + executing elements such as oplets and functions. + + <P> + Services, providers and applications can optionally store + preferences (configuration information) using a <code>java.util.pref.Preferences</code> + instance registered as a service. Any provider may optionally register + a root <code>Preferences</code> node. Once a provider registers + a <code>Preferences</code> node, preferences will + be saved across reboots of the provider and/or JVM if the underlying + <code>Preferences</code> implementation supports it. + + <BR> + Services and application code can store keys + in the root <code>Preferences</code> node or create child nodes + as required. + <pre> + <code> + Preferences prefs = rs.getService(Preferences.class); + if (prefs != null) { + prefs.put("threshold", 3); + } + </code> + </pre> + </P></div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code><T> T</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/edgent/execution/services/RuntimeServices.html#getService-java.lang.Class-">getService</a></span>(java.lang.Class<T> serviceClass)</code> +<div class="block">Get a service for this invocation.</div> +</td> +</tr> +</table> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="getService-java.lang.Class-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>getService</h4> +<pre><T> T getService(java.lang.Class<T> serviceClass)</pre> +<div class="block">Get a service for this invocation. + <P> + These services must be provided by all implementations: + </P> + <UL> + <LI> + <code>java.util.concurrent.ThreadFactory</code> - Thread factory, runtime code should + create new threads using this factory. + </LI> + <LI> + <code>java.util.concurrent.ScheduledExecutorService</code> - Scheduler, runtime code should + execute asynchronous and repeating tasks using this scheduler. + </LI> + </UL></div> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - service class type</dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>serviceClass</code> - Type of the service required.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>Service of type implementing <code>serviceClass</code> if the + container this invocation runs in supports that service, + otherwise <code>null</code>.</dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/RuntimeServices.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +<div class="aboutLanguage"><a href="http://edgent.incubator.apache.org">Apache Edgent (incubating)</a></div> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services"><span class="typeNameLink">Prev Class</span></a></li> +<li><a href="../../../../../org/apache/edgent/execution/services/ServiceContainer.html" title="class in org.apache.edgent.execution.services"><span class="typeNameLink">Next Class</span></a></li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/edgent/execution/services/RuntimeServices.html" target="_top">Frames</a></li> +<li><a href="RuntimeServices.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li>Constr | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2016 The Apache Software Foundation. All Rights Reserved - 54ea8ac-20160726-1240</small></p> +</body> +</html> http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/85b6530d/site/javadoc/r0.4.0/org/apache/edgent/execution/services/ServiceContainer.html ---------------------------------------------------------------------- diff --git a/site/javadoc/r0.4.0/org/apache/edgent/execution/services/ServiceContainer.html b/site/javadoc/r0.4.0/org/apache/edgent/execution/services/ServiceContainer.html new file mode 100644 index 0000000..2cb9e75 --- /dev/null +++ b/site/javadoc/r0.4.0/org/apache/edgent/execution/services/ServiceContainer.html @@ -0,0 +1,416 @@ +<!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 Tue Jul 26 12:40:37 PDT 2016 --> +<title>ServiceContainer (Edgent v0.4.0)</title> +<meta name="date" content="2016-07-26"> +<link rel="stylesheet" type="text/css" href="../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="ServiceContainer (Edgent v0.4.0)"; + } + } + catch(err) { + } +//--> +var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10}; +var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]}; +var altColor = "altColor"; +var rowColor = "rowColor"; +var tableTab = "tableTab"; +var activeTableTab = "activeTableTab"; +</script> +<noscript> +<div>JavaScript is disabled on your browser.</div> +</noscript> +<!-- ========= START OF TOP NAVBAR ======= --> +<div class="topNav"><a name="navbar.top"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.top.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/ServiceContainer.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/edgent/execution/services/RuntimeServices.html" title="interface in org.apache.edgent.execution.services"><span class="typeNameLink">Prev Class</span></a></li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/edgent/execution/services/ServiceContainer.html" target="_top">Frames</a></li> +<li><a href="ServiceContainer.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_top"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_top"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.top"> +<!-- --> +</a></div> +<!-- ========= END OF TOP NAVBAR ========= --> +<!-- ======== START OF CLASS DATA ======== --> +<div class="header"> +<div class="subTitle">org.apache.edgent.execution.services</div> +<h2 title="Class ServiceContainer" class="title">Class ServiceContainer</h2> +</div> +<div class="contentContainer"> +<ul class="inheritance"> +<li>java.lang.Object</li> +<li> +<ul class="inheritance"> +<li>org.apache.edgent.execution.services.ServiceContainer</li> +</ul> +</li> +</ul> +<div class="description"> +<ul class="blockList"> +<li class="blockList"> +<hr> +<br> +<pre>public class <span class="typeNameLabel">ServiceContainer</span> +extends java.lang.Object</pre> +<div class="block">Provides a container for services. + <p> + The current implementation does not downcast the provided service class + when searching for an appropriate service implementation. For example: + <pre> + class Derived extends Base {} + + serviceContainer.add(Derived.class, instanceOfDerived); + + // Searching for the base class returns null + assert(null == serviceContainer.get(Base.class, instanceOfDerived)); + </pre></div> +</li> +</ul> +</div> +<div class="summary"> +<ul class="blockList"> +<li class="blockList"> +<!-- ======== CONSTRUCTOR SUMMARY ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.summary"> +<!-- --> +</a> +<h3>Constructor Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation"> +<caption><span>Constructors</span><span class="tabEnd"> </span></caption> +<tr> +<th class="colOne" scope="col">Constructor and Description</th> +</tr> +<tr class="altColor"> +<td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/apache/edgent/execution/services/ServiceContainer.html#ServiceContainer--">ServiceContainer</a></span>()</code> </td> +</tr> +</table> +</li> +</ul> +<!-- ========== METHOD SUMMARY =========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.summary"> +<!-- --> +</a> +<h3>Method Summary</h3> +<table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> +<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Method and Description</th> +</tr> +<tr id="i0" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/edgent/execution/services/ServiceContainer.html#addCleaner-org.apache.edgent.function.BiConsumer-">addCleaner</a></span>(<a href="../../../../../org/apache/edgent/function/BiConsumer.html" title="interface in org.apache.edgent.function">BiConsumer</a><java.lang.String,java.lang.String> cleaner)</code> +<div class="block">Registers a new cleaner.</div> +</td> +</tr> +<tr id="i1" class="rowColor"> +<td class="colFirst"><code><T> T</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/edgent/execution/services/ServiceContainer.html#addService-java.lang.Class-T-">addService</a></span>(java.lang.Class<T> serviceClass, + T service)</code> +<div class="block">Adds the specified service to this <code>ServiceContainer</code>.</div> +</td> +</tr> +<tr id="i2" class="altColor"> +<td class="colFirst"><code>void</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/edgent/execution/services/ServiceContainer.html#cleanOplet-java.lang.String-java.lang.String-">cleanOplet</a></span>(java.lang.String jobId, + java.lang.String elementId)</code> +<div class="block">Invokes all the registered cleaners in the context of the specified + job and element.</div> +</td> +</tr> +<tr id="i3" class="rowColor"> +<td class="colFirst"><code><T> T</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/edgent/execution/services/ServiceContainer.html#getService-java.lang.Class-">getService</a></span>(java.lang.Class<T> serviceClass)</code> +<div class="block">Returns the service to which the specified service class key is + mapped, or <code>null</code> if this <code>ServiceContainer</code> contains no + service for that key.</div> +</td> +</tr> +<tr id="i4" class="altColor"> +<td class="colFirst"><code><T> T</code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/apache/edgent/execution/services/ServiceContainer.html#removeService-java.lang.Class-">removeService</a></span>(java.lang.Class<T> serviceClass)</code> +<div class="block">Removes the specified service from this <code>ServiceContainer</code>.</div> +</td> +</tr> +</table> +<ul class="blockList"> +<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object"> +<!-- --> +</a> +<h3>Methods inherited from class java.lang.Object</h3> +<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +<div class="details"> +<ul class="blockList"> +<li class="blockList"> +<!-- ========= CONSTRUCTOR DETAIL ======== --> +<ul class="blockList"> +<li class="blockList"><a name="constructor.detail"> +<!-- --> +</a> +<h3>Constructor Detail</h3> +<a name="ServiceContainer--"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>ServiceContainer</h4> +<pre>public ServiceContainer()</pre> +</li> +</ul> +</li> +</ul> +<!-- ============ METHOD DETAIL ========== --> +<ul class="blockList"> +<li class="blockList"><a name="method.detail"> +<!-- --> +</a> +<h3>Method Detail</h3> +<a name="addService-java.lang.Class-java.lang.Object-"> +<!-- --> +</a><a name="addService-java.lang.Class-T-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addService</h4> +<pre>public <T> T addService(java.lang.Class<T> serviceClass, + T service)</pre> +<div class="block">Adds the specified service to this <code>ServiceContainer</code>. + <p> + Associates the specified service with the service class. If the + container has previously contained a service for the class, + the old value is replaced by the specified value.</div> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - service class type</dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>serviceClass</code> - the class of service to add.</dd> +<dd><code>service</code> - service to add to this container.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the previous value associated with <code>serviceClass</code>, or + <code>null</code> if there was no registered mapping.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.NullPointerException</code> - if the specified service class or + service is null.</dd> +</dl> +</li> +</ul> +<a name="removeService-java.lang.Class-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>removeService</h4> +<pre>public <T> T removeService(java.lang.Class<T> serviceClass)</pre> +<div class="block">Removes the specified service from this <code>ServiceContainer</code>.</div> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - service class type</dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>serviceClass</code> - the class of service to remove.</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the service previously associated with the service class, or + <code>null</code> if there was no registered service.</dd> +<dt><span class="throwsLabel">Throws:</span></dt> +<dd><code>java.lang.NullPointerException</code> - if the specified service class is null.</dd> +</dl> +</li> +</ul> +<a name="getService-java.lang.Class-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>getService</h4> +<pre>public <T> T getService(java.lang.Class<T> serviceClass)</pre> +<div class="block">Returns the service to which the specified service class key is + mapped, or <code>null</code> if this <code>ServiceContainer</code> contains no + service for that key.</div> +<dl> +<dt><span class="paramLabel">Type Parameters:</span></dt> +<dd><code>T</code> - service class type</dd> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>serviceClass</code> - the class whose associated service is to be returned</dd> +<dt><span class="returnLabel">Returns:</span></dt> +<dd>the service instance mapped to the specified service class, or + <code>null</code> if no service is registered for the class.</dd> +</dl> +</li> +</ul> +<a name="addCleaner-org.apache.edgent.function.BiConsumer-"> +<!-- --> +</a> +<ul class="blockList"> +<li class="blockList"> +<h4>addCleaner</h4> +<pre>public void addCleaner(<a href="../../../../../org/apache/edgent/function/BiConsumer.html" title="interface in org.apache.edgent.function">BiConsumer</a><java.lang.String,java.lang.String> cleaner)</pre> +<div class="block">Registers a new cleaner. + <p> + A cleaner is a hook which is invoked when the runtime + closes an element of <a href="../../../../../org/apache/edgent/execution/Job.html" title="interface in org.apache.edgent.execution"><code>Job</code></a>. + When an element of job is closed <code>cleaner.accept(jobId, elementId)</code> + is called where <code>jobId</code> is the <a href="../../../../../org/apache/edgent/execution/Job.html#getId--"><code>job identifier</code></a> and + <code>elementId</code> is the unique identifier for the element.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>cleaner</code> - The cleaner.</dd> +</dl> +</li> +</ul> +<a name="cleanOplet-java.lang.String-java.lang.String-"> +<!-- --> +</a> +<ul class="blockListLast"> +<li class="blockList"> +<h4>cleanOplet</h4> +<pre>public void cleanOplet(java.lang.String jobId, + java.lang.String elementId)</pre> +<div class="block">Invokes all the registered cleaners in the context of the specified + job and element.</div> +<dl> +<dt><span class="paramLabel">Parameters:</span></dt> +<dd><code>jobId</code> - The job identifier.</dd> +<dd><code>elementId</code> - The element identifier.</dd> +</dl> +</li> +</ul> +</li> +</ul> +</li> +</ul> +</div> +</div> +<!-- ========= END OF CLASS DATA ========= --> +<!-- ======= START OF BOTTOM NAVBAR ====== --> +<div class="bottomNav"><a name="navbar.bottom"> +<!-- --> +</a> +<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> +<a name="navbar.bottom.firstrow"> +<!-- --> +</a> +<ul class="navList" title="Navigation"> +<li><a href="../../../../../overview-summary.html">Overview</a></li> +<li><a href="package-summary.html">Package</a></li> +<li class="navBarCell1Rev">Class</li> +<li><a href="class-use/ServiceContainer.html">Use</a></li> +<li><a href="package-tree.html">Tree</a></li> +<li><a href="../../../../../deprecated-list.html">Deprecated</a></li> +<li><a href="../../../../../index-all.html">Index</a></li> +<li><a href="../../../../../help-doc.html">Help</a></li> +</ul> +<div class="aboutLanguage"><a href="http://edgent.incubator.apache.org">Apache Edgent (incubating)</a></div> +</div> +<div class="subNav"> +<ul class="navList"> +<li><a href="../../../../../org/apache/edgent/execution/services/RuntimeServices.html" title="interface in org.apache.edgent.execution.services"><span class="typeNameLink">Prev Class</span></a></li> +<li>Next Class</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../index.html?org/apache/edgent/execution/services/ServiceContainer.html" target="_top">Frames</a></li> +<li><a href="ServiceContainer.html" target="_top">No Frames</a></li> +</ul> +<ul class="navList" id="allclasses_navbar_bottom"> +<li><a href="../../../../../allclasses-noframe.html">All Classes</a></li> +</ul> +<div> +<script type="text/javascript"><!-- + allClassesLink = document.getElementById("allclasses_navbar_bottom"); + if(window==top) { + allClassesLink.style.display = "block"; + } + else { + allClassesLink.style.display = "none"; + } + //--> +</script> +</div> +<div> +<ul class="subNavList"> +<li>Summary: </li> +<li>Nested | </li> +<li>Field | </li> +<li><a href="#constructor.summary">Constr</a> | </li> +<li><a href="#method.summary">Method</a></li> +</ul> +<ul class="subNavList"> +<li>Detail: </li> +<li>Field | </li> +<li><a href="#constructor.detail">Constr</a> | </li> +<li><a href="#method.detail">Method</a></li> +</ul> +</div> +<a name="skip.navbar.bottom"> +<!-- --> +</a></div> +<!-- ======== END OF BOTTOM NAVBAR ======= --> +<p class="legalCopy"><small>Copyright © 2016 The Apache Software Foundation. All Rights Reserved - 54ea8ac-20160726-1240</small></p> +</body> +</html> http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/85b6530d/site/javadoc/r0.4.0/org/apache/edgent/execution/services/class-use/ControlService.html ---------------------------------------------------------------------- diff --git a/site/javadoc/r0.4.0/org/apache/edgent/execution/services/class-use/ControlService.html b/site/javadoc/r0.4.0/org/apache/edgent/execution/services/class-use/ControlService.html new file mode 100644 index 0000000..be8276c --- /dev/null +++ b/site/javadoc/r0.4.0/org/apache/edgent/execution/services/class-use/ControlService.html @@ -0,0 +1,283 @@ +<!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 Tue Jul 26 12:40:39 PDT 2016 --> +<title>Uses of Interface org.apache.edgent.execution.services.ControlService (Edgent v0.4.0)</title> +<meta name="date" content="2016-07-26"> +<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Uses of Interface org.apache.edgent.execution.services.ControlService (Edgent v0.4.0)"; + } + } + 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/edgent/execution/services/ControlService.html" title="interface in org.apache.edgent.execution.services">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/edgent/execution/services/class-use/ControlService.html" target="_top">Frames</a></li> +<li><a href="ControlService.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 Interface org.apache.edgent.execution.services.ControlService" class="title">Uses of Interface<br>org.apache.edgent.execution.services.ControlService</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/edgent/execution/services/ControlService.html" title="interface in org.apache.edgent.execution.services">ControlService</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.edgent.apps.runtime">org.apache.edgent.apps.runtime</a></td> +<td class="colLast"> +<div class="block">Applications which provide monitoring and failure recovery to other + Edgent applications.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="#org.apache.edgent.runtime.etiao.mbeans">org.apache.edgent.runtime.etiao.mbeans</a></td> +<td class="colLast"> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="#org.apache.edgent.runtime.jmxcontrol">org.apache.edgent.runtime.jmxcontrol</a></td> +<td class="colLast"> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="#org.apache.edgent.runtime.jsoncontrol">org.apache.edgent.runtime.jsoncontrol</a></td> +<td class="colLast"> +<div class="block">Control service that takes a Json message and invokes + an operation on a control service MBean.</div> +</td> +</tr> +<tr class="altColor"> +<td class="colFirst"><a href="#org.apache.edgent.streamscope">org.apache.edgent.streamscope</a></td> +<td class="colLast"> +<div class="block">Stream Oscilloscope - package for instrumenting streams to capture tuples.</div> +</td> +</tr> +</tbody> +</table> +</li> +<li class="blockList"> +<ul class="blockList"> +<li class="blockList"><a name="org.apache.edgent.apps.runtime"> +<!-- --> +</a> +<h3>Uses of <a href="../../../../../../org/apache/edgent/execution/services/ControlService.html" title="interface in org.apache.edgent.execution.services">ControlService</a> in <a href="../../../../../../org/apache/edgent/apps/runtime/package-summary.html">org.apache.edgent.apps.runtime</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/edgent/apps/runtime/package-summary.html">org.apache.edgent.apps.runtime</a> with parameters of type <a href="../../../../../../org/apache/edgent/execution/services/ControlService.html" title="interface in org.apache.edgent.execution.services">ControlService</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 void</code></td> +<td class="colLast"><span class="typeNameLabel">JobMonitorApp.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/edgent/apps/runtime/JobMonitorApp.html#closeJob-java.lang.String-org.apache.edgent.execution.services.ControlService-">closeJob</a></span>(java.lang.String jobName, + <a href="../../../../../../org/apache/edgent/execution/services/ControlService.html" title="interface in org.apache.edgent.execution.services">ControlService</a> controlService)</code> +<div class="block">Closes a job using a <code>JobMXBean</code> control registered with the + specified <code>ControlService</code>.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static void</code></td> +<td class="colLast"><span class="typeNameLabel">JobMonitorApp.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/edgent/apps/runtime/JobMonitorApp.html#submitApplication-java.lang.String-org.apache.edgent.execution.services.ControlService-">submitApplication</a></span>(java.lang.String applicationName, + <a href="../../../../../../org/apache/edgent/execution/services/ControlService.html" title="interface in org.apache.edgent.execution.services">ControlService</a> controlService)</code> +<div class="block">Submits an application using an <code>ApplicationServiceMXBean</code> control + registered with the specified <code>ControlService</code>.</div> +</td> +</tr> +</tbody> +</table> +</li> +<li class="blockList"><a name="org.apache.edgent.runtime.etiao.mbeans"> +<!-- --> +</a> +<h3>Uses of <a href="../../../../../../org/apache/edgent/execution/services/ControlService.html" title="interface in org.apache.edgent.execution.services">ControlService</a> in <a href="../../../../../../org/apache/edgent/runtime/etiao/mbeans/package-summary.html">org.apache.edgent.runtime.etiao.mbeans</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/edgent/runtime/etiao/mbeans/package-summary.html">org.apache.edgent.runtime.etiao.mbeans</a> with parameters of type <a href="../../../../../../org/apache/edgent/execution/services/ControlService.html" title="interface in org.apache.edgent.execution.services">ControlService</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/edgent/runtime/etiao/mbeans/EtiaoJobBean.html" title="class in org.apache.edgent.runtime.etiao.mbeans">EtiaoJobBean</a></code></td> +<td class="colLast"><span class="typeNameLabel">EtiaoJobBean.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/edgent/runtime/etiao/mbeans/EtiaoJobBean.html#registerControl-org.apache.edgent.execution.services.ControlService-org.apache.edgent.runtime.etiao.EtiaoJob-">registerControl</a></span>(<a href="../../../../../../org/apache/edgent/execution/services/ControlService.html" title="interface in org.apache.edgent.execution.services">ControlService</a> cs, + <a href="../../../../../../org/apache/edgent/runtime/etiao/EtiaoJob.html" title="class in org.apache.edgent.runtime.etiao">EtiaoJob</a> job)</code> +<div class="block">Factory method which creates an <code>EtiaoJobBean</code> instance to + control the specified <code>EtiaoJob</code> and registers it with the + specified <code>ControlService</code>.</div> +</td> +</tr> +</tbody> +</table> +</li> +<li class="blockList"><a name="org.apache.edgent.runtime.jmxcontrol"> +<!-- --> +</a> +<h3>Uses of <a href="../../../../../../org/apache/edgent/execution/services/ControlService.html" title="interface in org.apache.edgent.execution.services">ControlService</a> in <a href="../../../../../../org/apache/edgent/runtime/jmxcontrol/package-summary.html">org.apache.edgent.runtime.jmxcontrol</a></h3> +<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation"> +<caption><span>Classes in <a href="../../../../../../org/apache/edgent/runtime/jmxcontrol/package-summary.html">org.apache.edgent.runtime.jmxcontrol</a> that implement <a href="../../../../../../org/apache/edgent/execution/services/ControlService.html" title="interface in org.apache.edgent.execution.services">ControlService</a></span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Class and Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><code>class </code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/edgent/runtime/jmxcontrol/JMXControlService.html" title="class in org.apache.edgent.runtime.jmxcontrol">JMXControlService</a></span></code> +<div class="block">Control service that registers control objects + as MBeans in a JMX server.</div> +</td> +</tr> +</tbody> +</table> +</li> +<li class="blockList"><a name="org.apache.edgent.runtime.jsoncontrol"> +<!-- --> +</a> +<h3>Uses of <a href="../../../../../../org/apache/edgent/execution/services/ControlService.html" title="interface in org.apache.edgent.execution.services">ControlService</a> in <a href="../../../../../../org/apache/edgent/runtime/jsoncontrol/package-summary.html">org.apache.edgent.runtime.jsoncontrol</a></h3> +<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation"> +<caption><span>Classes in <a href="../../../../../../org/apache/edgent/runtime/jsoncontrol/package-summary.html">org.apache.edgent.runtime.jsoncontrol</a> that implement <a href="../../../../../../org/apache/edgent/execution/services/ControlService.html" title="interface in org.apache.edgent.execution.services">ControlService</a></span><span class="tabEnd"> </span></caption> +<tr> +<th class="colFirst" scope="col">Modifier and Type</th> +<th class="colLast" scope="col">Class and Description</th> +</tr> +<tbody> +<tr class="altColor"> +<td class="colFirst"><code>class </code></td> +<td class="colLast"><code><span class="memberNameLink"><a href="../../../../../../org/apache/edgent/runtime/jsoncontrol/JsonControlService.html" title="class in org.apache.edgent.runtime.jsoncontrol">JsonControlService</a></span></code> +<div class="block">Control service that accepts control instructions as JSON objects.</div> +</td> +</tr> +</tbody> +</table> +</li> +<li class="blockList"><a name="org.apache.edgent.streamscope"> +<!-- --> +</a> +<h3>Uses of <a href="../../../../../../org/apache/edgent/execution/services/ControlService.html" title="interface in org.apache.edgent.execution.services">ControlService</a> in <a href="../../../../../../org/apache/edgent/streamscope/package-summary.html">org.apache.edgent.streamscope</a></h3> +<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/edgent/streamscope/package-summary.html">org.apache.edgent.streamscope</a> with parameters of type <a href="../../../../../../org/apache/edgent/execution/services/ControlService.html" title="interface in org.apache.edgent.execution.services">ControlService</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/edgent/streamscope/StreamScopeRegistryBean.html#StreamScopeRegistryBean-org.apache.edgent.streamscope.StreamScopeRegistry-org.apache.edgent.execution.services.ControlService-">StreamScopeRegistryBean</a></span>(<a href="../../../../../../org/apache/edgent/streamscope/StreamScopeRegistry.html" title="class in org.apache.edgent.streamscope">StreamScopeRegistry</a> rgy, + <a href="../../../../../../org/apache/edgent/execution/services/ControlService.html" title="interface in org.apache.edgent.execution.services">ControlService</a> cs)</code> </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/edgent/execution/services/ControlService.html" title="interface in org.apache.edgent.execution.services">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 class="aboutLanguage"><a href="http://edgent.incubator.apache.org">Apache Edgent (incubating)</a></div> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/edgent/execution/services/class-use/ControlService.html" target="_top">Frames</a></li> +<li><a href="ControlService.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 The Apache Software Foundation. All Rights Reserved - 54ea8ac-20160726-1240</small></p> +</body> +</html> http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/85b6530d/site/javadoc/r0.4.0/org/apache/edgent/execution/services/class-use/Controls.html ---------------------------------------------------------------------- diff --git a/site/javadoc/r0.4.0/org/apache/edgent/execution/services/class-use/Controls.html b/site/javadoc/r0.4.0/org/apache/edgent/execution/services/class-use/Controls.html new file mode 100644 index 0000000..48db577 --- /dev/null +++ b/site/javadoc/r0.4.0/org/apache/edgent/execution/services/class-use/Controls.html @@ -0,0 +1,126 @@ +<!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 Tue Jul 26 12:40:39 PDT 2016 --> +<title>Uses of Class org.apache.edgent.execution.services.Controls (Edgent v0.4.0)</title> +<meta name="date" content="2016-07-26"> +<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Uses of Class org.apache.edgent.execution.services.Controls (Edgent v0.4.0)"; + } + } + 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/edgent/execution/services/Controls.html" title="class in org.apache.edgent.execution.services">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/edgent/execution/services/class-use/Controls.html" target="_top">Frames</a></li> +<li><a href="Controls.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.edgent.execution.services.Controls" class="title">Uses of Class<br>org.apache.edgent.execution.services.Controls</h2> +</div> +<div class="classUseContainer">No usage of org.apache.edgent.execution.services.Controls</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/edgent/execution/services/Controls.html" title="class in org.apache.edgent.execution.services">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 class="aboutLanguage"><a href="http://edgent.incubator.apache.org">Apache Edgent (incubating)</a></div> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/edgent/execution/services/class-use/Controls.html" target="_top">Frames</a></li> +<li><a href="Controls.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 The Apache Software Foundation. All Rights Reserved - 54ea8ac-20160726-1240</small></p> +</body> +</html> http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/85b6530d/site/javadoc/r0.4.0/org/apache/edgent/execution/services/class-use/JobRegistryService.EventType.html ---------------------------------------------------------------------- diff --git a/site/javadoc/r0.4.0/org/apache/edgent/execution/services/class-use/JobRegistryService.EventType.html b/site/javadoc/r0.4.0/org/apache/edgent/execution/services/class-use/JobRegistryService.EventType.html new file mode 100644 index 0000000..225e4ad --- /dev/null +++ b/site/javadoc/r0.4.0/org/apache/edgent/execution/services/class-use/JobRegistryService.EventType.html @@ -0,0 +1,232 @@ +<!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 Tue Jul 26 12:40:39 PDT 2016 --> +<title>Uses of Class org.apache.edgent.execution.services.JobRegistryService.EventType (Edgent v0.4.0)</title> +<meta name="date" content="2016-07-26"> +<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style"> +<script type="text/javascript" src="../../../../../../script.js"></script> +</head> +<body> +<script type="text/javascript"><!-- + try { + if (location.href.indexOf('is-external=true') == -1) { + parent.document.title="Uses of Class org.apache.edgent.execution.services.JobRegistryService.EventType (Edgent v0.4.0)"; + } + } + 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/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services">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/edgent/execution/services/class-use/JobRegistryService.EventType.html" target="_top">Frames</a></li> +<li><a href="JobRegistryService.EventType.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.edgent.execution.services.JobRegistryService.EventType" class="title">Uses of Class<br>org.apache.edgent.execution.services.JobRegistryService.EventType</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/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services">JobRegistryService.EventType</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.edgent.execution.services">org.apache.edgent.execution.services</a></td> +<td class="colLast"> +<div class="block">Execution services.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><a href="#org.apache.edgent.runtime.jobregistry">org.apache.edgent.runtime.jobregistry</a></td> +<td class="colLast"> </td> +</tr> +</tbody> +</table> +</li> +<li class="blockList"> +<ul class="blockList"> +<li class="blockList"><a name="org.apache.edgent.execution.services"> +<!-- --> +</a> +<h3>Uses of <a href="../../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services">JobRegistryService.EventType</a> in <a href="../../../../../../org/apache/edgent/execution/services/package-summary.html">org.apache.edgent.execution.services</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/edgent/execution/services/package-summary.html">org.apache.edgent.execution.services</a> that return <a href="../../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services">JobRegistryService.EventType</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/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services">JobRegistryService.EventType</a></code></td> +<td class="colLast"><span class="typeNameLabel">JobRegistryService.EventType.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html#valueOf-java.lang.String-">valueOf</a></span>(java.lang.String name)</code> +<div class="block">Returns the enum constant of this type with the specified name.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>static <a href="../../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services">JobRegistryService.EventType</a>[]</code></td> +<td class="colLast"><span class="typeNameLabel">JobRegistryService.EventType.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html#values--">values</a></span>()</code> +<div class="block">Returns an array containing the constants of this enum type, in +the order they are declared.</div> +</td> +</tr> +</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/edgent/execution/services/package-summary.html">org.apache.edgent.execution.services</a> with type arguments of type <a href="../../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services">JobRegistryService.EventType</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">JobRegistryService.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/edgent/execution/services/JobRegistryService.html#addListener-org.apache.edgent.function.BiConsumer-">addListener</a></span>(<a href="../../../../../../org/apache/edgent/function/BiConsumer.html" title="interface in org.apache.edgent.function">BiConsumer</a><<a href="../../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services">JobRegistryService.EventType</a>,<a href="../../../../../../org/apache/edgent/execution/Job.html" title="interface in org.apache.edgent.execution">Job</a>> listener)</code> +<div class="block">Adds a handler to a collection of listeners that will be notified + on job registration and state changes.</div> +</td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><span class="typeNameLabel">JobRegistryService.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/edgent/execution/services/JobRegistryService.html#removeListener-org.apache.edgent.function.BiConsumer-">removeListener</a></span>(<a href="../../../../../../org/apache/edgent/function/BiConsumer.html" title="interface in org.apache.edgent.function">BiConsumer</a><<a href="../../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services">JobRegistryService.EventType</a>,<a href="../../../../../../org/apache/edgent/execution/Job.html" title="interface in org.apache.edgent.execution">Job</a>> listener)</code> +<div class="block">Removes a handler from this registry's collection of listeners.</div> +</td> +</tr> +</tbody> +</table> +</li> +<li class="blockList"><a name="org.apache.edgent.runtime.jobregistry"> +<!-- --> +</a> +<h3>Uses of <a href="../../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services">JobRegistryService.EventType</a> in <a href="../../../../../../org/apache/edgent/runtime/jobregistry/package-summary.html">org.apache.edgent.runtime.jobregistry</a></h3> +<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing methods, and an explanation"> +<caption><span>Method parameters in <a href="../../../../../../org/apache/edgent/runtime/jobregistry/package-summary.html">org.apache.edgent.runtime.jobregistry</a> with type arguments of type <a href="../../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services">JobRegistryService.EventType</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">JobRegistry.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/edgent/runtime/jobregistry/JobRegistry.html#addListener-org.apache.edgent.function.BiConsumer-">addListener</a></span>(<a href="../../../../../../org/apache/edgent/function/BiConsumer.html" title="interface in org.apache.edgent.function">BiConsumer</a><<a href="../../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services">JobRegistryService.EventType</a>,<a href="../../../../../../org/apache/edgent/execution/Job.html" title="interface in org.apache.edgent.execution">Job</a>> listener)</code> </td> +</tr> +<tr class="rowColor"> +<td class="colFirst"><code>boolean</code></td> +<td class="colLast"><span class="typeNameLabel">JobRegistry.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/edgent/runtime/jobregistry/JobRegistry.html#removeListener-org.apache.edgent.function.BiConsumer-">removeListener</a></span>(<a href="../../../../../../org/apache/edgent/function/BiConsumer.html" title="interface in org.apache.edgent.function">BiConsumer</a><<a href="../../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services">JobRegistryService.EventType</a>,<a href="../../../../../../org/apache/edgent/execution/Job.html" title="interface in org.apache.edgent.execution">Job</a>> listener)</code> </td> +</tr> +<tr class="altColor"> +<td class="colFirst"><code>static <T> <a href="../../../../../../org/apache/edgent/topology/TStream.html" title="interface in org.apache.edgent.topology">TStream</a><T></code></td> +<td class="colLast"><span class="typeNameLabel">JobEvents.</span><code><span class="memberNameLink"><a href="../../../../../../org/apache/edgent/runtime/jobregistry/JobEvents.html#source-org.apache.edgent.topology.Topology-org.apache.edgent.function.BiFunction-">source</a></span>(<a href="../../../../../../org/apache/edgent/topology/Topology.html" title="interface in org.apache.edgent.topology">Topology</a> topology, + <a href="../../../../../../org/apache/edgent/function/BiFunction.html" title="interface in org.apache.edgent.function">BiFunction</a><<a href="../../../../../../org/apache/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services">JobRegistryService.EventType</a>,<a href="../../../../../../org/apache/edgent/execution/Job.html" title="interface in org.apache.edgent.execution">Job</a>,T> wrapper)</code> +<div class="block">Declares a stream populated by <a href="../../../../../../org/apache/edgent/execution/services/JobRegistryService.html" title="interface in org.apache.edgent.execution.services"><code>JobRegistryService</code></a> events.</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/edgent/execution/services/JobRegistryService.EventType.html" title="enum in org.apache.edgent.execution.services">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 class="aboutLanguage"><a href="http://edgent.incubator.apache.org">Apache Edgent (incubating)</a></div> +</div> +<div class="subNav"> +<ul class="navList"> +<li>Prev</li> +<li>Next</li> +</ul> +<ul class="navList"> +<li><a href="../../../../../../index.html?org/apache/edgent/execution/services/class-use/JobRegistryService.EventType.html" target="_top">Frames</a></li> +<li><a href="JobRegistryService.EventType.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 The Apache Software Foundation. All Rights Reserved - 54ea8ac-20160726-1240</small></p> +</body> +</html>