<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Background thread and PersistenceManager</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Background thread and PersistenceManager</description>
  <pubDate>Sun, 12 Apr 2026 23:35:17 -700</pubDate>
  <lastBuildDate>Thu, 01 May 2008 08:12:52 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=791</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Background thread and PersistenceManager : &amp;#034;Each GetEntitiesAsync method...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=791&amp;PID=2916#2916</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=152" rel="nofollow">f3rland</a><br /><strong>Subject:</strong> 791<br /><strong>Posted:</strong> 01-May-2008 at 8:12am<br /><br />"Each GetEntitiesAsync method runs the query asynchronously per the specified strategy and updates the PersistenceManager with retrieved entities. The second overload (a "Timer-Triggered" query) performs the query repeatedly at the millisecond intervals specified in the TimerInteval parameter. "<br><br>Search for "GetEntitiesAsync" in the Developers Guide. I think this will be easier to implement. One line of code and your cache will be automatically updated at specified interval. No mess with thread and/or cross-thread errors, persistencemanager merging, etc.<br><br><img src="http://www.ideablade.com/forum/smileys/smiley20.gif" border="0" align="absmiddle" alt="Thumbs%20Up" /> to GetEntitiesAsync!!<br>]]>
   </description>
   <pubDate>Thu, 01 May 2008 08:12:52 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=791&amp;PID=2916#2916</guid>
  </item> 
  <item>
   <title>Background thread and PersistenceManager : I&amp;#039;d use two different Persistence...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=791&amp;PID=2902#2902</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=23" rel="nofollow">davidklitzke</a><br /><strong>Subject:</strong> 791<br /><strong>Posted:</strong> 29-Apr-2008 at 3:58pm<br /><br /><P>I'd use two different Persistence Managers, each with their own cache.&nbsp; </P>]]>
   </description>
   <pubDate>Tue, 29 Apr 2008 15:58:29 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=791&amp;PID=2902#2902</guid>
  </item> 
  <item>
   <title>Background thread and PersistenceManager : In my app, I want to have a background...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=791&amp;PID=2901#2901</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=202" rel="nofollow">BillG</a><br /><strong>Subject:</strong> 791<br /><strong>Posted:</strong> 29-Apr-2008 at 1:07pm<br /><br />In my app, I want to have a background worker that just looks&nbsp;at the memos table in the database and sees if any new memos have been sent to the current logged in user.&nbsp; If there is, it's going to alert the user that a new memo has arrived.<DIV>&nbsp;</DIV><DIV>Is it ok to use the default PersistenceManager for this or should I create a new PersistenceManager for the background worker?&nbsp; There will never be any relationship between them or need to share data between them.</DIV><DIV>&nbsp;</DIV><DIV>the sole purpose of the thread is just to monitors memos being inserted into the Memo table.</DIV><DIV>&nbsp;</DIV><DIV>Bill</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 29 Apr 2008 13:07:18 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=791&amp;PID=2901#2901</guid>
  </item> 
 </channel>
</rss>