http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/9b42cd73/content/docs/samples.html ---------------------------------------------------------------------- diff --git a/content/docs/samples.html b/content/docs/samples.html deleted file mode 100644 index e615628..0000000 --- a/content/docs/samples.html +++ /dev/null @@ -1,803 +0,0 @@ -<!DOCTYPE html> - <head> - - <meta charset="utf-8"> -<meta http-equiv="X-UA-Compatible" content="IE=edge"> -<meta name="viewport" content="width=device-width, initial-scale=1"> -<meta name="description" content=""> -<meta name="keywords" content=" "> -<title>Sample programs | Apache Edgent Documentation</title> -<link rel="stylesheet" type="text/css" href="../css/syntax.css"> -<link rel="stylesheet" type="text/css" href="../css/font-awesome.min.css"> -<!--<link rel="stylesheet" type="text/css" href="../css/bootstrap.min.css">--> -<link rel="stylesheet" type="text/css" href="../css/modern-business.css"> -<link rel="stylesheet" type="text/css" href="../css/lavish-bootstrap.css"> -<link rel="stylesheet" type="text/css" href="../css/customstyles.css"> -<link rel="stylesheet" type="text/css" href="../css/theme-blue.css"> -<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script> -<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.min.js"></script> -<script src="../js/jquery.navgoco.min.js"></script> -<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script> -<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/2.0.0/anchor.min.js"></script> -<script src="../js/toc.js"></script> -<script src="../js/customscripts.js"></script> -<link rel="shortcut icon" href="../common_images/favicon.ico" type="image/x-icon"> -<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> -<!-- WARNING: Respond.js doesn't work if you view the page via file:// --> -<!--[if lt IE 9]> -<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script> -<script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script> -<![endif]--> - - - - - - - - - -<script> - $(function () { - $('[data-toggle="tooltip"]').tooltip() - }) -</script> - - - - </head> - -<body> - - <!-- Navigation --> -<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation"> - <div class="container topnavlinks"> - <div class="navbar-header"> - <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1"> - <span class="sr-only">Toggle navigation</span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - <span class="icon-bar"></span> - </button> - - <a class="fa fa-home fa-lg navbar-brand" href="../docs/home.html"> <span class="projectTitle"> Apache Edgent Documentation</span></a> - - </div> - <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> - <ul class="nav navbar-nav navbar-right"> - <!-- entries without drop-downs appear here --> - <!-- conditional logic to control which topnav appears for the audience defined in the configuration file.--> - - - - - - - - - - <li class="dropdown"> - - - - <a href="#" class="dropdown-toggle" data-toggle="dropdown">GitHub Repos<b class="caret"></b></a> - <ul class="dropdown-menu"> - - - - <li><a href="https://github.com/apache/incubator-edgent" target="_blank">Source code</a></li> - - - - - - <li><a href="https://github.com/apache/incubator-edgent-website" target="_blank">Website/Documentation</a></li> - - - - - - </ul> - </li> - - - - - <li class="dropdown"> - - - - <a href="#" class="dropdown-toggle" data-toggle="dropdown">Javadoc<b class="caret"></b></a> - <ul class="dropdown-menu"> - - - - <li><a href="..\javadoc\latest">latest</a></li> - - - - - - <li><a href="..\javadoc\r1.1.0">1.1.0</a></li> - - - - - - <li><a href="..\javadoc\r1.0.0">1.0.0</a></li> - - - - - - <li><a href="..\javadoc\r0.4.0">0.4.0</a></li> - - - - - - </ul> - </li> - - - - - <!-- entries with drop-downs appear here --> - <!-- conditional logic to control which topnav appears for the audience defined in the configuration file.--> - - <li class="dropdown"> - - - - <a href="#" class="dropdown-toggle" data-toggle="dropdown">Edgent Resources<b class="caret"></b></a> - <ul class="dropdown-menu"> - - - - <li><a href="downloads">Download</a></li> - - - - - - <li class="dropdownActive"><a href="samples">Samples</a></li> - - - - - - <li><a href="faq">FAQ</a></li> - - - - - - <li class="dropdownActive"><a href="/">edgent.apache.org</a></li> - - - - - - </ul> - </li> - - - - - <!-- special insertion --> - - - <!-- Send feedback function --> -<script> -function SendLinkByMail(href) { -var subject= "Apache Edgent Documentation feedback"; -var body = "I have some feedback about the Sample programs page: "; -body += window.location.href; -body += ""; -var uri = "mailto:?subject="; -uri += encodeURIComponent(subject); -uri += "&body="; -uri += encodeURIComponent(body); -window.location.href = uri; -} -</script> - -<li><a href="mailto:d...@edgent.incubator.apache.org" target="_blank"><i class="fa fa-envelope-o"></i> Feedback</a></li> - - - <!--uncomment this block if you want simple search instead of algolia--> - <li> - <!--start search--> - <div id="search-demo-container"> - <input type="text" id="search-input" placeholder="search..."> - <ul id="results-container"></ul> - </div> - <script src="../js/jekyll-search.js" type="text/javascript"></script> - <script type="text/javascript"> - SimpleJekyllSearch.init({ - searchInput: document.getElementById('search-input'), - resultsContainer: document.getElementById('results-container'), - dataSource: '../search.json', - searchResultTemplate: '<li><a href="{url}" title="Sample programs">{title}</a></li>', - noResultsText: 'No results found.', - limit: 10, - fuzzy: true, - }) - </script> - <!--end search--> - </li> - - - </div> - <!-- /.container --> -</nav> - - - - <!-- Page Content --> - <div class="container"> - <div class="col-lg-12"> </div> - - -<!-- Content Row --> -<div class="row"> - <!-- Sidebar Column --> - <div class="col-md-3"> - - <script> - - $(document).ready(function() { - // Initialize navgoco with default options - $("#mysidebar").navgoco({ - caretHtml: '', - accordion: true, - openClass: 'active', // open - save: true, - cookie: { - name: 'navgoco', - expires: false, - path: '/' - }, - slide: { - duration: 400, - easing: 'swing' - } - }); - - $("#collapseAll").click(function(e) { - e.preventDefault(); - $("#mysidebar").navgoco('toggle', false); - }); - - $("#expandAll").click(function(e) { - e.preventDefault(); - $("#mysidebar").navgoco('toggle', true); - }); - - }); - - </script> - - - - - - - - - - - - - <ul id="mysidebar" class="nav"> - - <span class="siteTagline">Edgent</span> - <span class="versionTagline">Version 1.1.0-incubating</span> - - - - - - - <li><a href="#">Overview</a> - <ul> - - - - - <li><a href="../docs/edgent_index.html">Introduction</a></li> - - - - - - - - - - <li><a href="../docs/faq.html">FAQ</a></li> - - - - - - - </ul> - - - - <li><a href="#">Get Started</a> - <ul> - - - - - <li><a href="../docs/downloads.html">Downloads</a></li> - - - - - - - - - - <li><a href="../docs/edgent-getting-started.html">Getting started guide</a></li> - - - - - - - - - - <li><a href="../docs/streaming-concepts.html">Streaming concepts</a></li> - - - - - - - - - - <li><a href="../docs/common-edgent-operations.html">Common operations</a></li> - - - - - - - </ul> - - - - <li><a href="#">Edgent Cookbook</a> - <ul> - - - - - <li><a href="../recipes/recipe_hello_edgent.html">Hello Edgent!</a></li> - - - - - - - - - - <li><a href="../recipes/recipe_source_function.html">Writing a source function</a></li> - - - - - - - - - - <li><a href="../recipes/recipe_value_out_of_range.html">Detecting a sensor value out of expected range</a></li> - - - - - - - - - - <li><a href="../recipes/recipe_different_processing_against_stream.html">Applying different processing against a single stream</a></li> - - - - - - - - - - <li><a href="../recipes/recipe_combining_streams_processing_results.html">Splitting a stream to apply different processing and combining the results into a single stream</a></li> - - - - - - - - - - <li><a href="../recipes/recipe_external_filter_range.html">Using an external configuration file for filter ranges</a></li> - - - - - - - - - - <li><a href="../recipes/recipe_adaptable_filter_range.html">Changing a filter's range</a></li> - - - - - - - - - - <li><a href="../recipes/recipe_adaptable_polling_source.html">Changing a polled source stream's period</a></li> - - - - - - - - - - <li><a href="../recipes/recipe_adaptable_deadtime_filter.html">Using an adaptable deadtime filter</a></li> - - - - - - - - - - <li><a href="../recipes/recipe_dynamic_analytic_control.html">Dynamically enabling analytic flows</a></li> - - - - - - - - - - <li><a href="../recipes/recipe_parallel_analytics.html">How can I run analytics on several tuples in parallel?</a></li> - - - - - - - - - - <li><a href="../recipes/recipe_concurrent_analytics.html">How can I run several analytics on a tuple concurrently?</a></li> - - - - - - - - - - <li><a href="../recipes/recipe_writing_a_connector.html">How do I write a connector?</a></li> - - - - - - - </ul> - - - - <li><a href="#">Sample Programs</a> - <ul> - - - - - <li class="active"><a href="../docs/samples.html">Samples</a></li> - - - - - - - - - - <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> - - - - - - - </ul> - - - - <li><a href="#">Using the Console</a> - <ul> - - - - - <li><a href="../docs/console.html">Using the console</a></li> - - - - - - - </ul> - - - - <li><a href="#">Get Involved</a> - <ul> - - - - - <li><a href="../docs/community.html">How to participate</a></li> - - - - - - - - - - <li><a href="../docs/committers.html">Committers</a></li> - - - - - - - </ul> - - - - - - <!-- if you aren't using the accordion, uncomment this block: - - <p class="external"> - <a href="#" id="collapseAll">Collapse All</a> | <a href="#" id="expandAll">Expand All</a> - </p> - --> - <br/> - </li> - </ul> - <div class="row"> - <div class="col-md-12"> - -<!-- this handles the automatic toc. use ## for subheads to auto-generate the on-page minitoc. if you use html tags, you must supply an ID for the heading element in order for it to appear in the minitoc. --> -<script> -$( document ).ready(function() { - // Handler for .ready() called. - -$('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3,h4' }); - -/* this offset helps account for the space taken up by the floating toolbar. */ -$('#toc').on('click', 'a', function() { - var target = $(this.getAttribute('href')) - , scroll_target = target.offset().top - - $(window).scrollTop(scroll_target - 10); - return false -}) - -}); -</script> - - -<div id="toc"></div> - - </div> - </div> - </div> - - <!-- this highlights the active parent class in the navgoco sidebar. this is critical so that the parent expands when you're viewing a page. This must appear below the sidebar code above. Otherwise, if placed inside customscripts.js, the script runs before the sidebar code runs and the class never gets inserted.--> - <script>$("li.active").parents('li').toggleClass("active");</script> - - - <!-- Content Column --> - <div class="col-md-9"> - - <div class="post-header"> - <h1 class="post-title-main">Sample programs</h1> -</div> - -<div class="post-content"> - - - -<!-- this handles the automatic toc. use ## for subheads to auto-generate the on-page minitoc. if you use html tags, you must supply an ID for the heading element in order for it to appear in the minitoc. --> -<script> -$( document ).ready(function() { - // Handler for .ready() called. - -$('#toc').toc({ minimumHeaders: 0, listType: 'ul', showSpeed: 0, headers: 'h2,h3,h4' }); - -/* this offset helps account for the space taken up by the floating toolbar. */ -$('#toc').on('click', 'a', function() { - var target = $(this.getAttribute('href')) - , scroll_target = target.offset().top - - $(window).scrollTop(scroll_target - 10); - return false -}) - -}); -</script> - - -<div id="toc"></div> - - - - - <a target="_blank" href="https://github.com/apache/incubator-edgent-website/blob/master/site/docs/samples.md" class="btn btn-default githubEditButton" role="button"><i class="fa fa-github fa-lg"></i> Edit me</a> - - <p>The <a href="edgent-getting-started">Getting started guide</a> includes a step-by-step walkthrough of a simple Edgent application.</p> - -<p>Edgent also includes a number of sample Java applications that demonstrate different ways that you can use and implement Edgent.</p> - -<p>If you are using a released version of Edgent, the samples are already compiled and ready to use. If you downloaded the source or the Git project, the samples are built when you build Edgent.</p> - -<h2 id="resources">Resources</h2> - -<p>The samples are currently available only for Java 8 environments. To use the samples, you'll need the resources in the following subdirectories of the Edgent package.:</p> - -<ul> -<li>The <code>java8/samples</code> directory contains the Java code for the samples</li> -<li>The <code>java8/scripts</code> directory contains the shell scripts that you need to run the samples</li> -</ul> - -<p>If you use any of the samples in your own applications, ensure that you include the related Edgent JAR files in your <code>classpath</code>.</p> - -<h2 id="recommended-samples">Recommended samples</h2> - -<p>In addition to the sample application in the <a href="edgent-getting-started">Getting started guide</a>, the following samples can help you start developing with Edgent:</p> - -<ul> -<li><strong>HelloEdgent</strong> - -<ul> -<li>This simple program demonstrates the basic mechanics of declaring and executing a topology</li> -</ul></li> -<li><strong>PeriodicSource</strong> - -<ul> -<li>This simple program demonstrates how to periodically poll a source for data to create a source stream</li> -</ul></li> -<li><strong>SimpleFilterTransform</strong> - -<ul> -<li>This simple program demonstrates a simple analytics pipeline: <code>source -> filter -> transform -> sink</code></li> -</ul></li> -<li><strong>SensorAnalytics</strong> - -<ul> -<li>This more complex program demonstrates multiple facets of an Edgent application, including: - -<ul> -<li>Configuration control</li> -<li>Reading data from a device with multiple sensors</li> -<li>Running common analytic algorithms</li> -<li>Publishing results to MQTT server</li> -<li>Receiving commands</li> -<li>Logging results locally</li> -<li>Conditional stream tracing</li> -</ul></li> -</ul></li> -<li><strong>IBM Watson IoT Platform</strong> - -<ul> -<li>Samples that demonstrate how to use IBM Watson IoT Platform as the IoT scale message hub between Edgent and back-end analytic systems: - -<ul> -<li><a href="quickstart">Sample using the no-registration Quickstart service</a></li> -</ul></li> -</ul></li> -</ul> - -<p>Additional samples are documented in the <a href="/javadoc/latest/overview-summary.html#overview.description">Edgent Overview</a> section of the Javadoc.</p> - - -<div class="tags"> - -</div> - -<!-- - - <div id="disqus_thread"></div> - <script type="text/javascript"> - /* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */ - var disqus_shortname = 'idrbwjekyll'; // required: replace example with your forum shortname - - /* * * DON'T EDIT BELOW THIS LINE * * */ - (function() { - var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true; - dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; - (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq); - })(); - </script> - <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript> - --> - -</div> - - - -<footer> - <div class="row"> - <div class="col-lg-12 footer"> - - Site last - generated: May 15, 2017 <br/> - - </div> - </div> - <br/> - <div class="row"> - <div class="col-md-12"> - <p class="small">Apache Edgent is an effort undergoing Incubation at The Apache Software - Foundation (ASF), sponsored by the Incubator. Incubation is required of all newly accepted projects - until a further review indicates that the infrastructure, communications, and decision making process - have stabilized in a manner consistent with other successful ASF projects. While incubation status is - not necessarily a reflection of the completeness or stability of the code, it does indicate that the - project has yet to be fully endorsed by the ASF.</p> - </div> - </div> - <div class="row"> - <div class="col-md-12"> - <p class="small">Copyright © 2016 The Apache Software Foundation. Licensed under the Apache - License, Version 2.0. - Apache, the Apache Feather logo, and the Apache Incubator project logo are trademarks of The Apache - Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their - respective owners.</p> - </div> - </div> - - <div class="container"> - <div class="row"> - <div> - <img class="img-responsive center-block" src="../img/edgent_incubation.png" style="display: block; margin: auto;"alt=""> - </div> - </div> -</footer> - - </div><!-- /.row --> - - </div> <!-- /.container --> - -</body> - - -</html> -
http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/9b42cd73/content/docs/search.html ---------------------------------------------------------------------- diff --git a/content/docs/search.html b/content/docs/search.html index 50ec6cd..16aba0d 100644 --- a/content/docs/search.html +++ b/content/docs/search.html @@ -160,12 +160,6 @@ - <li><a href="samples">Samples</a></li> - - - - - <li><a href="faq">FAQ</a></li> @@ -315,6 +309,26 @@ window.location.href = uri; + <li><a href="../docs/home.html">Edgent Overview</a></li> + + + + + + + + + + <li><a href="../docs/power-of-edgent.html">The Power of Edgent</a></li> + + + + + + + + + <li><a href="../docs/faq.html">FAQ</a></li> @@ -342,7 +356,37 @@ window.location.href = uri; - <li><a href="../docs/edgent-getting-started.html">Getting started guide</a></li> + <li><a href="../docs/edgent-getting-started.html">Getting Started Guide</a></li> + + + + + + + + + + <li><a href="../docs/edgent-getting-started-samples.html">Quickstart with Edgent Samples</a></li> + + + + + + + + + + <li><a href="../docs/application-development.html">Understanding App Development</a></li> + + + + + + + + + + <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> @@ -510,33 +554,6 @@ window.location.href = uri; - <li><a href="#">Sample Programs</a> - <ul> - - - - - <li><a href="../docs/samples.html">Samples</a></li> - - - - - - - - - - <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> - - - - - - - </ul> - - - <li><a href="#">Using the Console</a> <ul> @@ -686,7 +703,7 @@ $('#toc').on('click', 'a', function() { <div class="col-lg-12 footer"> Site last - generated: May 15, 2017 <br/> + generated: Dec 15, 2017 <br/> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/9b42cd73/content/docs/streaming-concepts.html ---------------------------------------------------------------------- diff --git a/content/docs/streaming-concepts.html b/content/docs/streaming-concepts.html index e45010c..6be98c3 100644 --- a/content/docs/streaming-concepts.html +++ b/content/docs/streaming-concepts.html @@ -160,12 +160,6 @@ - <li><a href="samples">Samples</a></li> - - - - - <li><a href="faq">FAQ</a></li> @@ -315,6 +309,26 @@ window.location.href = uri; + <li><a href="../docs/home.html">Edgent Overview</a></li> + + + + + + + + + + <li><a href="../docs/power-of-edgent.html">The Power of Edgent</a></li> + + + + + + + + + <li><a href="../docs/faq.html">FAQ</a></li> @@ -342,7 +356,37 @@ window.location.href = uri; - <li><a href="../docs/edgent-getting-started.html">Getting started guide</a></li> + <li><a href="../docs/edgent-getting-started.html">Getting Started Guide</a></li> + + + + + + + + + + <li><a href="../docs/edgent-getting-started-samples.html">Quickstart with Edgent Samples</a></li> + + + + + + + + + + <li><a href="../docs/application-development.html">Understanding App Development</a></li> + + + + + + + + + + <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> @@ -510,33 +554,6 @@ window.location.href = uri; - <li><a href="#">Sample Programs</a> - <ul> - - - - - <li><a href="../docs/samples.html">Samples</a></li> - - - - - - - - - - <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> - - - - - - - </ul> - - - <li><a href="#">Using the Console</a> <ul> @@ -1447,7 +1464,7 @@ $('#toc').on('click', 'a', function() { <div class="col-lg-12 footer"> Site last - generated: May 15, 2017 <br/> + generated: Dec 15, 2017 <br/> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/9b42cd73/content/docs/tag_collaboration.html ---------------------------------------------------------------------- diff --git a/content/docs/tag_collaboration.html b/content/docs/tag_collaboration.html index 7d1a689..e9c5c2c 100644 --- a/content/docs/tag_collaboration.html +++ b/content/docs/tag_collaboration.html @@ -160,12 +160,6 @@ - <li><a href="samples">Samples</a></li> - - - - - <li><a href="faq">FAQ</a></li> @@ -315,6 +309,26 @@ window.location.href = uri; + <li><a href="../docs/home.html">Edgent Overview</a></li> + + + + + + + + + + <li><a href="../docs/power-of-edgent.html">The Power of Edgent</a></li> + + + + + + + + + <li><a href="../docs/faq.html">FAQ</a></li> @@ -342,7 +356,37 @@ window.location.href = uri; - <li><a href="../docs/edgent-getting-started.html">Getting started guide</a></li> + <li><a href="../docs/edgent-getting-started.html">Getting Started Guide</a></li> + + + + + + + + + + <li><a href="../docs/edgent-getting-started-samples.html">Quickstart with Edgent Samples</a></li> + + + + + + + + + + <li><a href="../docs/application-development.html">Understanding App Development</a></li> + + + + + + + + + + <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> @@ -510,33 +554,6 @@ window.location.href = uri; - <li><a href="#">Sample Programs</a> - <ul> - - - - - <li><a href="../docs/samples.html">Samples</a></li> - - - - - - - - - - <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> - - - - - - - </ul> - - - <li><a href="#">Using the Console</a> <ul> @@ -689,8 +706,14 @@ $('#toc').on('click', 'a', function() { - - + + + + + + + + @@ -793,7 +816,7 @@ $('#toc').on('click', 'a', function() { <div class="col-lg-12 footer"> Site last - generated: May 15, 2017 <br/> + generated: Dec 15, 2017 <br/> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/9b42cd73/content/docs/tag_content_types.html ---------------------------------------------------------------------- diff --git a/content/docs/tag_content_types.html b/content/docs/tag_content_types.html index 9bae47a..42821ab 100644 --- a/content/docs/tag_content_types.html +++ b/content/docs/tag_content_types.html @@ -160,12 +160,6 @@ - <li><a href="samples">Samples</a></li> - - - - - <li><a href="faq">FAQ</a></li> @@ -315,6 +309,26 @@ window.location.href = uri; + <li><a href="../docs/home.html">Edgent Overview</a></li> + + + + + + + + + + <li><a href="../docs/power-of-edgent.html">The Power of Edgent</a></li> + + + + + + + + + <li><a href="../docs/faq.html">FAQ</a></li> @@ -342,7 +356,37 @@ window.location.href = uri; - <li><a href="../docs/edgent-getting-started.html">Getting started guide</a></li> + <li><a href="../docs/edgent-getting-started.html">Getting Started Guide</a></li> + + + + + + + + + + <li><a href="../docs/edgent-getting-started-samples.html">Quickstart with Edgent Samples</a></li> + + + + + + + + + + <li><a href="../docs/application-development.html">Understanding App Development</a></li> + + + + + + + + + + <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> @@ -510,33 +554,6 @@ window.location.href = uri; - <li><a href="#">Sample Programs</a> - <ul> - - - - - <li><a href="../docs/samples.html">Samples</a></li> - - - - - - - - - - <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> - - - - - - - </ul> - - - <li><a href="#">Using the Console</a> <ul> @@ -689,8 +706,14 @@ $('#toc').on('click', 'a', function() { - - + + + + + + + + @@ -793,7 +816,7 @@ $('#toc').on('click', 'a', function() { <div class="col-lg-12 footer"> Site last - generated: May 15, 2017 <br/> + generated: Dec 15, 2017 <br/> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/9b42cd73/content/docs/tag_formatting.html ---------------------------------------------------------------------- diff --git a/content/docs/tag_formatting.html b/content/docs/tag_formatting.html index 9927726..a74c502 100644 --- a/content/docs/tag_formatting.html +++ b/content/docs/tag_formatting.html @@ -160,12 +160,6 @@ - <li><a href="samples">Samples</a></li> - - - - - <li><a href="faq">FAQ</a></li> @@ -315,6 +309,26 @@ window.location.href = uri; + <li><a href="../docs/home.html">Edgent Overview</a></li> + + + + + + + + + + <li><a href="../docs/power-of-edgent.html">The Power of Edgent</a></li> + + + + + + + + + <li><a href="../docs/faq.html">FAQ</a></li> @@ -342,7 +356,37 @@ window.location.href = uri; - <li><a href="../docs/edgent-getting-started.html">Getting started guide</a></li> + <li><a href="../docs/edgent-getting-started.html">Getting Started Guide</a></li> + + + + + + + + + + <li><a href="../docs/edgent-getting-started-samples.html">Quickstart with Edgent Samples</a></li> + + + + + + + + + + <li><a href="../docs/application-development.html">Understanding App Development</a></li> + + + + + + + + + + <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> @@ -510,33 +554,6 @@ window.location.href = uri; - <li><a href="#">Sample Programs</a> - <ul> - - - - - <li><a href="../docs/samples.html">Samples</a></li> - - - - - - - - - - <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> - - - - - - - </ul> - - - <li><a href="#">Using the Console</a> <ul> @@ -689,8 +706,14 @@ $('#toc').on('click', 'a', function() { - - + + + + + + + + @@ -793,7 +816,7 @@ $('#toc').on('click', 'a', function() { <div class="col-lg-12 footer"> Site last - generated: May 15, 2017 <br/> + generated: Dec 15, 2017 <br/> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/9b42cd73/content/docs/tag_getting_started.html ---------------------------------------------------------------------- diff --git a/content/docs/tag_getting_started.html b/content/docs/tag_getting_started.html index e2aaeac..6f97ff3 100644 --- a/content/docs/tag_getting_started.html +++ b/content/docs/tag_getting_started.html @@ -160,12 +160,6 @@ - <li><a href="samples">Samples</a></li> - - - - - <li><a href="faq">FAQ</a></li> @@ -315,6 +309,26 @@ window.location.href = uri; + <li><a href="../docs/home.html">Edgent Overview</a></li> + + + + + + + + + + <li><a href="../docs/power-of-edgent.html">The Power of Edgent</a></li> + + + + + + + + + <li><a href="../docs/faq.html">FAQ</a></li> @@ -342,7 +356,37 @@ window.location.href = uri; - <li><a href="../docs/edgent-getting-started.html">Getting started guide</a></li> + <li><a href="../docs/edgent-getting-started.html">Getting Started Guide</a></li> + + + + + + + + + + <li><a href="../docs/edgent-getting-started-samples.html">Quickstart with Edgent Samples</a></li> + + + + + + + + + + <li><a href="../docs/application-development.html">Understanding App Development</a></li> + + + + + + + + + + <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> @@ -510,33 +554,6 @@ window.location.href = uri; - <li><a href="#">Sample Programs</a> - <ul> - - - - - <li><a href="../docs/samples.html">Samples</a></li> - - - - - - - - - - <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> - - - - - - - </ul> - - - <li><a href="#">Using the Console</a> <ul> @@ -689,13 +706,14 @@ $('#toc').on('click', 'a', function() { - - - <tr><td><a href="../docs/home">Introduction</a></td> - <td> Apache Edgent overview Devices and sensors are everywhere, and more are coming online every day. You need a way to analyze all of the data coming from your devices, but it can be expensive to transmit all of the data from a sensor to your central analytics engine. Edgent... </td> - </tr> - - + + + + + + + + @@ -798,7 +816,7 @@ $('#toc').on('click', 'a', function() { <div class="col-lg-12 footer"> Site last - generated: May 15, 2017 <br/> + generated: Dec 15, 2017 <br/> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/9b42cd73/content/docs/tag_mobile.html ---------------------------------------------------------------------- diff --git a/content/docs/tag_mobile.html b/content/docs/tag_mobile.html index 7c1466d..167e24b 100644 --- a/content/docs/tag_mobile.html +++ b/content/docs/tag_mobile.html @@ -160,12 +160,6 @@ - <li><a href="samples">Samples</a></li> - - - - - <li><a href="faq">FAQ</a></li> @@ -315,6 +309,26 @@ window.location.href = uri; + <li><a href="../docs/home.html">Edgent Overview</a></li> + + + + + + + + + + <li><a href="../docs/power-of-edgent.html">The Power of Edgent</a></li> + + + + + + + + + <li><a href="../docs/faq.html">FAQ</a></li> @@ -342,7 +356,37 @@ window.location.href = uri; - <li><a href="../docs/edgent-getting-started.html">Getting started guide</a></li> + <li><a href="../docs/edgent-getting-started.html">Getting Started Guide</a></li> + + + + + + + + + + <li><a href="../docs/edgent-getting-started-samples.html">Quickstart with Edgent Samples</a></li> + + + + + + + + + + <li><a href="../docs/application-development.html">Understanding App Development</a></li> + + + + + + + + + + <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> @@ -510,33 +554,6 @@ window.location.href = uri; - <li><a href="#">Sample Programs</a> - <ul> - - - - - <li><a href="../docs/samples.html">Samples</a></li> - - - - - - - - - - <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> - - - - - - - </ul> - - - <li><a href="#">Using the Console</a> <ul> @@ -689,8 +706,14 @@ $('#toc').on('click', 'a', function() { - - + + + + + + + + @@ -793,7 +816,7 @@ $('#toc').on('click', 'a', function() { <div class="col-lg-12 footer"> Site last - generated: May 15, 2017 <br/> + generated: Dec 15, 2017 <br/> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/9b42cd73/content/docs/tag_navigation.html ---------------------------------------------------------------------- diff --git a/content/docs/tag_navigation.html b/content/docs/tag_navigation.html index d796fa2..70f48a0 100644 --- a/content/docs/tag_navigation.html +++ b/content/docs/tag_navigation.html @@ -160,12 +160,6 @@ - <li><a href="samples">Samples</a></li> - - - - - <li><a href="faq">FAQ</a></li> @@ -315,6 +309,26 @@ window.location.href = uri; + <li><a href="../docs/home.html">Edgent Overview</a></li> + + + + + + + + + + <li><a href="../docs/power-of-edgent.html">The Power of Edgent</a></li> + + + + + + + + + <li><a href="../docs/faq.html">FAQ</a></li> @@ -342,7 +356,37 @@ window.location.href = uri; - <li><a href="../docs/edgent-getting-started.html">Getting started guide</a></li> + <li><a href="../docs/edgent-getting-started.html">Getting Started Guide</a></li> + + + + + + + + + + <li><a href="../docs/edgent-getting-started-samples.html">Quickstart with Edgent Samples</a></li> + + + + + + + + + + <li><a href="../docs/application-development.html">Understanding App Development</a></li> + + + + + + + + + + <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> @@ -510,33 +554,6 @@ window.location.href = uri; - <li><a href="#">Sample Programs</a> - <ul> - - - - - <li><a href="../docs/samples.html">Samples</a></li> - - - - - - - - - - <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> - - - - - - - </ul> - - - <li><a href="#">Using the Console</a> <ul> @@ -689,8 +706,14 @@ $('#toc').on('click', 'a', function() { - - + + + + + + + + @@ -793,7 +816,7 @@ $('#toc').on('click', 'a', function() { <div class="col-lg-12 footer"> Site last - generated: May 15, 2017 <br/> + generated: Dec 15, 2017 <br/> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/9b42cd73/content/docs/tag_publishing.html ---------------------------------------------------------------------- diff --git a/content/docs/tag_publishing.html b/content/docs/tag_publishing.html index ad1ceb4..3096844 100644 --- a/content/docs/tag_publishing.html +++ b/content/docs/tag_publishing.html @@ -160,12 +160,6 @@ - <li><a href="samples">Samples</a></li> - - - - - <li><a href="faq">FAQ</a></li> @@ -315,6 +309,26 @@ window.location.href = uri; + <li><a href="../docs/home.html">Edgent Overview</a></li> + + + + + + + + + + <li><a href="../docs/power-of-edgent.html">The Power of Edgent</a></li> + + + + + + + + + <li><a href="../docs/faq.html">FAQ</a></li> @@ -342,7 +356,37 @@ window.location.href = uri; - <li><a href="../docs/edgent-getting-started.html">Getting started guide</a></li> + <li><a href="../docs/edgent-getting-started.html">Getting Started Guide</a></li> + + + + + + + + + + <li><a href="../docs/edgent-getting-started-samples.html">Quickstart with Edgent Samples</a></li> + + + + + + + + + + <li><a href="../docs/application-development.html">Understanding App Development</a></li> + + + + + + + + + + <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> @@ -510,33 +554,6 @@ window.location.href = uri; - <li><a href="#">Sample Programs</a> - <ul> - - - - - <li><a href="../docs/samples.html">Samples</a></li> - - - - - - - - - - <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> - - - - - - - </ul> - - - <li><a href="#">Using the Console</a> <ul> @@ -689,8 +706,14 @@ $('#toc').on('click', 'a', function() { - - + + + + + + + + @@ -793,7 +816,7 @@ $('#toc').on('click', 'a', function() { <div class="col-lg-12 footer"> Site last - generated: May 15, 2017 <br/> + generated: Dec 15, 2017 <br/> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/9b42cd73/content/docs/tag_single_sourcing.html ---------------------------------------------------------------------- diff --git a/content/docs/tag_single_sourcing.html b/content/docs/tag_single_sourcing.html index e8e5b06..86ed2c7 100644 --- a/content/docs/tag_single_sourcing.html +++ b/content/docs/tag_single_sourcing.html @@ -160,12 +160,6 @@ - <li><a href="samples">Samples</a></li> - - - - - <li><a href="faq">FAQ</a></li> @@ -315,6 +309,26 @@ window.location.href = uri; + <li><a href="../docs/home.html">Edgent Overview</a></li> + + + + + + + + + + <li><a href="../docs/power-of-edgent.html">The Power of Edgent</a></li> + + + + + + + + + <li><a href="../docs/faq.html">FAQ</a></li> @@ -342,7 +356,37 @@ window.location.href = uri; - <li><a href="../docs/edgent-getting-started.html">Getting started guide</a></li> + <li><a href="../docs/edgent-getting-started.html">Getting Started Guide</a></li> + + + + + + + + + + <li><a href="../docs/edgent-getting-started-samples.html">Quickstart with Edgent Samples</a></li> + + + + + + + + + + <li><a href="../docs/application-development.html">Understanding App Development</a></li> + + + + + + + + + + <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> @@ -510,33 +554,6 @@ window.location.href = uri; - <li><a href="#">Sample Programs</a> - <ul> - - - - - <li><a href="../docs/samples.html">Samples</a></li> - - - - - - - - - - <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> - - - - - - - </ul> - - - <li><a href="#">Using the Console</a> <ul> @@ -689,8 +706,14 @@ $('#toc').on('click', 'a', function() { - - + + + + + + + + @@ -793,7 +816,7 @@ $('#toc').on('click', 'a', function() { <div class="col-lg-12 footer"> Site last - generated: May 15, 2017 <br/> + generated: Dec 15, 2017 <br/> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/9b42cd73/content/docs/tag_special_layouts.html ---------------------------------------------------------------------- diff --git a/content/docs/tag_special_layouts.html b/content/docs/tag_special_layouts.html index 1e122ff..f2e9394 100644 --- a/content/docs/tag_special_layouts.html +++ b/content/docs/tag_special_layouts.html @@ -160,12 +160,6 @@ - <li><a href="samples">Samples</a></li> - - - - - <li><a href="faq">FAQ</a></li> @@ -315,6 +309,26 @@ window.location.href = uri; + <li><a href="../docs/home.html">Edgent Overview</a></li> + + + + + + + + + + <li><a href="../docs/power-of-edgent.html">The Power of Edgent</a></li> + + + + + + + + + <li><a href="../docs/faq.html">FAQ</a></li> @@ -342,7 +356,37 @@ window.location.href = uri; - <li><a href="../docs/edgent-getting-started.html">Getting started guide</a></li> + <li><a href="../docs/edgent-getting-started.html">Getting Started Guide</a></li> + + + + + + + + + + <li><a href="../docs/edgent-getting-started-samples.html">Quickstart with Edgent Samples</a></li> + + + + + + + + + + <li><a href="../docs/application-development.html">Understanding App Development</a></li> + + + + + + + + + + <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> @@ -510,33 +554,6 @@ window.location.href = uri; - <li><a href="#">Sample Programs</a> - <ul> - - - - - <li><a href="../docs/samples.html">Samples</a></li> - - - - - - - - - - <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> - - - - - - - </ul> - - - <li><a href="#">Using the Console</a> <ul> @@ -689,8 +706,14 @@ $('#toc').on('click', 'a', function() { - - + + + + + + + + @@ -793,7 +816,7 @@ $('#toc').on('click', 'a', function() { <div class="col-lg-12 footer"> Site last - generated: May 15, 2017 <br/> + generated: Dec 15, 2017 <br/> </div> </div> http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/9b42cd73/content/index.html ---------------------------------------------------------------------- diff --git a/content/index.html b/content/index.html index 07a3a54..69c2067 100644 --- a/content/index.html +++ b/content/index.html @@ -112,7 +112,6 @@ <ul class="dropdown-menu"> <li><a href="docs/edgent-getting-started">Getting Started Guide</a></li> <li><a href="docs/downloads">Downloads</a></li> - <li><a href="docs/samples">Sample Programs</a></li> <li><a href="docs/faq">FAQ</a></li> </ul> http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/9b42cd73/content/prince-file-list.txt ---------------------------------------------------------------------- diff --git a/content/prince-file-list.txt b/content/prince-file-list.txt index a4d21e9..093f8fb 100644 --- a/content/prince-file-list.txt +++ b/content/prince-file-list.txt @@ -32,6 +32,16 @@ + http://edgent.incubator.apache.org/docs/home.html + + + + + http://edgent.incubator.apache.org/docs/power-of-edgent.html + + + + http://edgent.incubator.apache.org/docs/faq.html @@ -51,6 +61,21 @@ + http://edgent.incubator.apache.org/docs/edgent-getting-started-samples.html + + + + + http://edgent.incubator.apache.org/docs/application-development.html + + + + + http://edgent.incubator.apache.org/docs/quickstart.html + + + + http://edgent.incubator.apache.org/docs/streaming-concepts.html @@ -134,20 +159,6 @@ - http://edgent.incubator.apache.org/docs/samples.html - - - - - http://edgent.incubator.apache.org/docs/quickstart.html - - - - - - - - http://edgent.incubator.apache.org/docs/console.html http://git-wip-us.apache.org/repos/asf/incubator-edgent-website/blob/9b42cd73/content/recipes/recipe_adaptable_deadtime_filter.html ---------------------------------------------------------------------- diff --git a/content/recipes/recipe_adaptable_deadtime_filter.html b/content/recipes/recipe_adaptable_deadtime_filter.html index 599ff7c..d680119 100644 --- a/content/recipes/recipe_adaptable_deadtime_filter.html +++ b/content/recipes/recipe_adaptable_deadtime_filter.html @@ -160,12 +160,6 @@ - <li><a href="samples">Samples</a></li> - - - - - <li><a href="faq">FAQ</a></li> @@ -315,6 +309,26 @@ window.location.href = uri; + <li><a href="../docs/home.html">Edgent Overview</a></li> + + + + + + + + + + <li><a href="../docs/power-of-edgent.html">The Power of Edgent</a></li> + + + + + + + + + <li><a href="../docs/faq.html">FAQ</a></li> @@ -342,7 +356,37 @@ window.location.href = uri; - <li><a href="../docs/edgent-getting-started.html">Getting started guide</a></li> + <li><a href="../docs/edgent-getting-started.html">Getting Started Guide</a></li> + + + + + + + + + + <li><a href="../docs/edgent-getting-started-samples.html">Quickstart with Edgent Samples</a></li> + + + + + + + + + + <li><a href="../docs/application-development.html">Understanding App Development</a></li> + + + + + + + + + + <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> @@ -510,33 +554,6 @@ window.location.href = uri; - <li><a href="#">Sample Programs</a> - <ul> - - - - - <li><a href="../docs/samples.html">Samples</a></li> - - - - - - - - - - <li><a href="../docs/quickstart.html">Quickstart IBM Watson IoT Platform</a></li> - - - - - - - </ul> - - - <li><a href="#">Using the Console</a> <ul> @@ -687,20 +704,20 @@ $('#toc').on('click', 'a', function() { </code></pre></div> <p>It's also a good practice to add tags to streams to improve the usability of the development mode Edgent console.</p> -<h2 id="create-a-deadtime-filtered-streaminitially-no-deadtime">Create a deadtime filtered stream—initially no deadtime</h2> +<h2 id="create-a-deadtime-filtered-stream-mdash-initially-no-deadtime">Create a deadtime filtered stream—initially no deadtime</h2> <p>In this recipe we'll just filter the direct <code>engineTemp</code> sensor reading stream. In practice this filtering would be performed after some analytics stages and used as the input to <code>IotDevice.event()</code> or some other connector publish operation.</p> <div class="highlight"><pre><code class="language-java" data-lang="java"><span class="n">Deadtime</span><span class="o"><</span><span class="n">Double</span><span class="o">></span> <span class="n">deadtime</span> <span class="o">=</span> <span class="k">new</span> <span class="n">Deadtime</span><span class="o"><>();</span> <span class="n">TStream</span><span class="o"><</span><span class="n">Double</span><span class="o">></span> <span class="n">deadtimeFilteredEngineTemp</span> <span class="o">=</span> <span class="n">engineTemp</span><span class="o">.</span><span class="na">filter</span><span class="o">(</span><span class="n">deadtime</span><span class="o">)</span> <span class="o">.</span><span class="na">tag</span><span class="o">(</span><span class="s">"deadtimeFilteredEngineTemp"</span><span class="o">);</span> </code></pre></div> -<h2 id="define-a-set-deadtime-period-method">Define a "set deadtime period" method</h2> -<div class="highlight"><pre><code class="language-java" data-lang="java"><span class="kd">static</span> <span class="o"><</span><span class="n">T</span><span class="o">></span> <span class="kt">void</span> <span class="nf">setDeadtimePeriod</span><span class="o">(</span><span class="n">Deadtime</span><span class="o"><</span><span class="n">T</span><span class="o">></span> <span class="n">deadtime</span><span class="o">,</span> <span class="kt">long</span> <span class="n">period</span><span class="o">,</span> <span class="n">TimeUnit</span> <span class="n">unit</span><span class="o">)</span> <span class="o">{</span> +<h2 id="define-a-quot-set-deadtime-period-quot-method">Define a "set deadtime period" method</h2> +<div class="highlight"><pre><code class="language-java" data-lang="java"><span class="kd">static</span> <span class="o"><</span><span class="n">T</span><span class="o">></span> <span class="kt">void</span> <span class="n">setDeadtimePeriod</span><span class="o">(</span><span class="n">Deadtime</span><span class="o"><</span><span class="n">T</span><span class="o">></span> <span class="n">deadtime</span><span class="o">,</span> <span class="kt">long</span> <span class="n">period</span><span class="o">,</span> <span class="n">TimeUnit</span> <span class="n">unit</span><span class="o">)</span> <span class="o">{</span> <span class="n">System</span><span class="o">.</span><span class="na">out</span><span class="o">.</span><span class="na">println</span><span class="o">(</span><span class="s">"Setting deadtime period="</span><span class="o">+</span><span class="n">period</span><span class="o">+</span><span class="s">" "</span><span class="o">+</span><span class="n">unit</span><span class="o">);</span> <span class="n">deadtime</span><span class="o">.</span><span class="na">setPeriod</span><span class="o">(</span><span class="n">period</span><span class="o">,</span> <span class="n">unit</span><span class="o">);</span> <span class="o">}</span> </code></pre></div> -<h2 id="process-the-set-deadtime-period-command-stream">Process the "set deadtime period" command stream</h2> +<h2 id="process-the-quot-set-deadtime-period-quot-command-stream">Process the "set deadtime period" command stream</h2> <p>Our commands are on the <code>TStream<JsonObject> cmds</code> stream. Each <code>JsonObject</code> tuple is a command with the properties "period" and "unit".</p> <div class="highlight"><pre><code class="language-java" data-lang="java"><span class="n">cmds</span><span class="o">.</span><span class="na">sink</span><span class="o">(</span><span class="n">json</span> <span class="o">-></span> <span class="n">setDeadtimePeriod</span><span class="o">(</span><span class="n">deadtimeFilteredEngineTemp</span><span class="o">,</span> @@ -738,7 +755,7 @@ $('#toc').on('click', 'a', function() { * Respond to a simulated command stream to change the deadtime window * duration. */</span> - <span class="kd">public</span> <span class="kd">static</span> <span class="kt">void</span> <span class="nf">main</span><span class="o">(</span><span class="n">String</span><span class="o">[]</span> <span class="n">args</span><span class="o">)</span> <span class="kd">throws</span> <span class="n">Exception</span> <span class="o">{</span> + <span class="kd">public</span> <span class="kd">static</span> <span class="kt">void</span> <span class="n">main</span><span class="o">(</span><span class="n">String</span><span class="o">[]</span> <span class="n">args</span><span class="o">)</span> <span class="kd">throws</span> <span class="n">Exception</span> <span class="o">{</span> <span class="n">DirectProvider</span> <span class="n">dp</span> <span class="o">=</span> <span class="k">new</span> <span class="n">DevelopmentProvider</span><span class="o">();</span> <span class="n">System</span><span class="o">.</span><span class="na">out</span><span class="o">.</span><span class="na">println</span><span class="o">(</span><span class="s">"development console url: "</span> @@ -772,12 +789,12 @@ $('#toc').on('click', 'a', function() { <span class="n">dp</span><span class="o">.</span><span class="na">submit</span><span class="o">(</span><span class="n">top</span><span class="o">);</span> <span class="o">}</span> - <span class="kd">static</span> <span class="o"><</span><span class="n">T</span><span class="o">></span> <span class="kt">void</span> <span class="nf">setDeadtimePeriod</span><span class="o">(</span><span class="n">Deadtime</span><span class="o"><</span><span class="n">T</span><span class="o">></span> <span class="n">deadtime</span><span class="o">,</span> <span class="kt">long</span> <span class="n">period</span><span class="o">,</span> <span class="n">TimeUnit</span> <span class="n">unit</span><span class="o">)</span> <span class="o">{</span> + <span class="kd">static</span> <span class="o"><</span><span class="n">T</span><span class="o">></span> <span class="kt">void</span> <span class="n">setDeadtimePeriod</span><span class="o">(</span><span class="n">Deadtime</span><span class="o"><</span><span class="n">T</span><span class="o">></span> <span class="n">deadtime</span><span class="o">,</span> <span class="kt">long</span> <span class="n">period</span><span class="o">,</span> <span class="n">TimeUnit</span> <span class="n">unit</span><span class="o">)</span> <span class="o">{</span> <span class="n">System</span><span class="o">.</span><span class="na">out</span><span class="o">.</span><span class="na">println</span><span class="o">(</span><span class="s">"Setting deadtime period="</span><span class="o">+</span><span class="n">period</span><span class="o">+</span><span class="s">" "</span><span class="o">+</span><span class="n">unit</span><span class="o">);</span> <span class="n">deadtime</span><span class="o">.</span><span class="na">setPeriod</span><span class="o">(</span><span class="n">period</span><span class="o">,</span> <span class="n">unit</span><span class="o">);</span> <span class="o">}</span> - <span class="kd">static</span> <span class="n">TStream</span><span class="o"><</span><span class="n">JsonObject</span><span class="o">></span> <span class="nf">simulatedSetDeadtimePeriodCmds</span><span class="o">(</span><span class="n">Topology</span> <span class="n">top</span><span class="o">)</span> <span class="o">{</span> + <span class="kd">static</span> <span class="n">TStream</span><span class="o"><</span><span class="n">JsonObject</span><span class="o">></span> <span class="n">simulatedSetDeadtimePeriodCmds</span><span class="o">(</span><span class="n">Topology</span> <span class="n">top</span><span class="o">)</span> <span class="o">{</span> <span class="n">AtomicInteger</span> <span class="n">lastPeriod</span> <span class="o">=</span> <span class="k">new</span> <span class="n">AtomicInteger</span><span class="o">(-</span><span class="mi">1</span><span class="o">);</span> <span class="n">TStream</span><span class="o"><</span><span class="n">JsonObject</span><span class="o">></span> <span class="n">cmds</span> <span class="o">=</span> <span class="n">top</span><span class="o">.</span><span class="na">poll</span><span class="o">(()</span> <span class="o">-></span> <span class="o">{</span> <span class="c1">// don't change on first invocation</span> @@ -830,7 +847,7 @@ $('#toc').on('click', 'a', function() { <div class="col-lg-12 footer"> Site last - generated: May 15, 2017 <br/> + generated: Dec 15, 2017 <br/> </div> </div>