<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Java SDK 100.7 How to Put a LocalGP Service on a Timer in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/java-sdk-100-7-how-to-put-a-localgp-service-on-a/m-p/244510#M702</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your comment and I apologize for not getting back sooner. I was able to use a thread coinciding with a GPTask. I initialized the local server in the initialize() method and then created a thread to run the GPSTask and everything&amp;nbsp;is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Apr 2020 13:55:37 GMT</pubDate>
    <dc:creator>thomasbales</dc:creator>
    <dc:date>2020-04-27T13:55:37Z</dc:date>
    <item>
      <title>Java SDK 100.7 How to Put a LocalGP Service on a Timer</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-sdk-100-7-how-to-put-a-localgp-service-on-a/m-p/244508#M700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to run a local gpk and it runs once returning a railroad milepost location. What I need to do is to put the gpk on a thread and return the milepost location once every second or two. I am not sure how to do this or where the loop (timer) should go. Could somebody point me in the right direction? The method is in an attachment below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Apr 2020 13:14:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-sdk-100-7-how-to-put-a-localgp-service-on-a/m-p/244508#M700</guid>
      <dc:creator>thomasbales</dc:creator>
      <dc:date>2020-04-02T13:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Java SDK 100.7 How to Put a LocalGP Service on a Timer</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-sdk-100-7-how-to-put-a-localgp-service-on-a/m-p/244509#M701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;I would use a &lt;A class="link-titled" href="https://docs.oracle.com/javase/10/docs/api/java/util/TimerTask.html" title="https://docs.oracle.com/javase/10/docs/api/java/util/TimerTask.html"&gt;TimerTask (Java SE 10 &amp;amp; JDK 10 )&lt;/A&gt;&amp;nbsp; and &lt;A class="link-titled" href="https://docs.oracle.com/javase/10/docs/api/java/util/Timer.html" title="https://docs.oracle.com/javase/10/docs/api/java/util/Timer.html"&gt;Timer (Java SE 10 &amp;amp; JDK 10 )&lt;/A&gt; for this,&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gayle.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Apr 2020 15:15:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-sdk-100-7-how-to-put-a-localgp-service-on-a/m-p/244509#M701</guid>
      <dc:creator>GayleYoung</dc:creator>
      <dc:date>2020-04-23T15:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: Java SDK 100.7 How to Put a LocalGP Service on a Timer</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/java-sdk-100-7-how-to-put-a-localgp-service-on-a/m-p/244510#M702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for your comment and I apologize for not getting back sooner. I was able to use a thread coinciding with a GPTask. I initialized the local server in the initialize() method and then created a thread to run the GPSTask and everything&amp;nbsp;is working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Apr 2020 13:55:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/java-sdk-100-7-how-to-put-a-localgp-service-on-a/m-p/244510#M702</guid>
      <dc:creator>thomasbales</dc:creator>
      <dc:date>2020-04-27T13:55:37Z</dc:date>
    </item>
  </channel>
</rss>

