Sophie

Sophie

distrib > Fedora > 14 > i386 > by-pkgid > 864d1c3c3cd8df4e3a2692faf8776e05 > files > 1271

db4o-doc-7.4-2.fc13.i686.rpm

<html>
  <head>
    <META http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>No Shutdown Thread</title>
    <link rel="stylesheet" type="text/css" href="../../../style.css">
  </head>
  <body>
    <div class="CommonContent">
      <div class="CommonContentArea">
        <h1>No Shutdown Thread</h1><div id="TOC"><div id="TOCinner"><span class="TOCtitle">Contents</span><div class="TOCcontents"><ul><li><a href ="#Advantage">Advantage</a></li><li><a href ="#Effect">Effect</a></li><li><a href ="#Alternate Strategies">Alternate Strategies</a></li></ul></li></ul></div></div></div>


<span name="cs_wiki_filter" csw_filters="net">
<p>.NET: </p><p><code>Db4oFactory.Configure().AutomaticShutDown(false)</code></p>
</span>

<a name="Advantage"></a><h2>Advantage</h2>
<p>
can prevent the creation of a shutdown thread on some platforms.</p>
<a name="Effect"></a><h2>Effect</h2>
<p>
On some platforms db4o uses a ShutDownHook to cleanly close all database files upon system termination. If a system is terminated without calling ObjectContainer#close() for all open ObjectContainers, these ObjectContainers will still be usable but they will not be able to write back their freespace management system back to the database file. Accordingly database files will be observed to grow.</p>
<a name="Alternate Strategies"></a><h2>Alternate Strategies</h2>
<p>
Database files can be reduced to their minimal size with <a href="../../implementation_strategies/maintenance/defragment.html" class="wikiLink">Defragment</a></p></div>
    </div>
    <div id="footer">
					This revision (8) was last Modified 2007-05-07T15:46:34 by Tetyana.
				</div>
  </body>
</html>