<?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: Function call when adding or removing ArcGIS Server Map Services in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/function-call-when-adding-or-removing-arcgis/m-p/584512#M15802</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think that the services are stored in a file on the file system.&amp;nbsp; If that is the case then you can simply watch that file and read it when it changes to see if your service was deleted.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Jul 2011 00:00:58 GMT</pubDate>
    <dc:creator>RichardWatson</dc:creator>
    <dc:date>2011-07-19T00:00:58Z</dc:date>
    <item>
      <title>Function call when adding or removing ArcGIS Server Map Services</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/function-call-when-adding-or-removing-arcgis/m-p/584511#M15801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am working on improving the performance of a server object extension by caching some data in memory that does not change once a map service is added to the server.&amp;nbsp; I would like to change my cache to write the data to a file so I can free up some memory and avoid the computational overhead from recreating the cache every time an instance of the service is created.&amp;nbsp; I know how to structure the cache, but I have one problem.&amp;nbsp; I need to figure out if a service is deleted from the server so I can clear out the file cache.&amp;nbsp; Often times services are deleted and then an updated version is added, at which point I need to update the cache.&amp;nbsp; If I can trigger an event that deletes the cache associated with a service when that service is deleted, I think I can really improve the performance of the extension.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adam Lake&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Echo Lake Consulting&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Jul 2011 20:48:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/function-call-when-adding-or-removing-arcgis/m-p/584511#M15801</guid>
      <dc:creator>AdamLake</dc:creator>
      <dc:date>2011-07-18T20:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Function call when adding or removing ArcGIS Server Map Services</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/function-call-when-adding-or-removing-arcgis/m-p/584512#M15802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think that the services are stored in a file on the file system.&amp;nbsp; If that is the case then you can simply watch that file and read it when it changes to see if your service was deleted.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Jul 2011 00:00:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/function-call-when-adding-or-removing-arcgis/m-p/584512#M15802</guid>
      <dc:creator>RichardWatson</dc:creator>
      <dc:date>2011-07-19T00:00:58Z</dc:date>
    </item>
  </channel>
</rss>

