| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| <meta name="generator" content="Doxygen 1.8.3"/> |
| <title>Lucene.Net: Lucene.Net.Store.FileSwitchDirectory Class Reference</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="jquery.js"></script> |
| <script type="text/javascript" src="dynsections.js"></script> |
| <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="search/search.js"></script> |
| <script type="text/javascript"> |
| $(document).ready(function() { searchBox.OnSelectItem(0); }); |
| </script> |
| <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| </head> |
| <body> |
| <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| <div id="titlearea"> |
| <table cellspacing="0" cellpadding="0"> |
| <tbody> |
| <tr style="height: 56px;"> |
| <td id="projectlogo"><img alt="Logo" src="lucene-net-icon-128x128.png"/></td> |
| <td style="padding-left: 0.5em;"> |
| <div id="projectname">Lucene.Net |
|  <span id="projectnumber">3.0.3</span> |
| </div> |
| <div id="projectbrief">Lucene.Net is a .NET port of the Java Lucene Indexing Library</div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.3 --> |
| <script type="text/javascript"> |
| var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| </script> |
| <div id="navrow1" class="tabs"> |
| <ul class="tablist"> |
| <li><a href="Index.html"><span>Main Page</span></a></li> |
| <li><a href="namespaces.html"><span>Packages</span></a></li> |
| <li class="current"><a href="annotated.html"><span>Classes</span></a></li> |
| <li><a href="files.html"><span>Files</span></a></li> |
| <li> |
| <div id="MSearchBox" class="MSearchBoxInactive"> |
| <span class="left"> |
| <img id="MSearchSelect" src="search/mag_sel.png" |
| onmouseover="return searchBox.OnSearchSelectShow()" |
| onmouseout="return searchBox.OnSearchSelectHide()" |
| alt=""/> |
| <input type="text" id="MSearchField" value="Search" accesskey="S" |
| onfocus="searchBox.OnSearchFieldFocus(true)" |
| onblur="searchBox.OnSearchFieldFocus(false)" |
| onkeyup="searchBox.OnSearchFieldChange(event)"/> |
| </span><span class="right"> |
| <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
| </span> |
| </div> |
| </li> |
| </ul> |
| </div> |
| <div id="navrow2" class="tabs2"> |
| <ul class="tablist"> |
| <li><a href="annotated.html"><span>Class List</span></a></li> |
| <li><a href="classes.html"><span>Class Index</span></a></li> |
| <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> |
| <li><a href="functions.html"><span>Class Members</span></a></li> |
| </ul> |
| </div> |
| <!-- window showing the filter options --> |
| <div id="MSearchSelectWindow" |
| onmouseover="return searchBox.OnSearchSelectShow()" |
| onmouseout="return searchBox.OnSearchSelectHide()" |
| onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark"> </span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark"> </span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark"> </span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark"> </span>Properties</a></div> |
| |
| <!-- iframe showing the search results (closed by default) --> |
| <div id="MSearchResultsWindow"> |
| <iframe src="javascript:void(0)" frameborder="0" |
| name="MSearchResults" id="MSearchResults"> |
| </iframe> |
| </div> |
| |
| <div id="nav-path" class="navpath"> |
| <ul> |
| <li class="navelem"><a class="el" href="namespace_lucene.html">Lucene</a></li><li class="navelem"><a class="el" href="namespace_lucene_1_1_net.html">Net</a></li><li class="navelem"><a class="el" href="namespace_lucene_1_1_net_1_1_store.html">Store</a></li><li class="navelem"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_file_switch_directory.html">FileSwitchDirectory</a></li> </ul> |
| </div> |
| </div><!-- top --> |
| <div class="header"> |
| <div class="summary"> |
| <a href="#pub-methods">Public Member Functions</a> | |
| <a href="#pub-static-methods">Static Public Member Functions</a> | |
| <a href="#pro-methods">Protected Member Functions</a> | |
| <a href="#properties">Properties</a> | |
| <a href="class_lucene_1_1_net_1_1_store_1_1_file_switch_directory-members.html">List of all members</a> </div> |
| <div class="headertitle"> |
| <div class="title">Lucene.Net.Store.FileSwitchDirectory Class Reference</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| |
| <p>Expert: A <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html" title="A Directory is a flat list of files. Files may be written once, when they are created. Once a file is created it may only be opened for read, or deleted. Random access is permitted both when reading and writing.">Directory</a> instance that switches files between two other <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html" title="A Directory is a flat list of files. Files may be written once, when they are created. Once a file is created it may only be opened for read, or deleted. Random access is permitted both when reading and writing.">Directory</a> instances. Files with the specified extensions are placed in the primary directory; others are placed in the secondary directory. The provided Set must not change once passed to this class, and must allow multiple threads to call contains at once. |
| <a href="class_lucene_1_1_net_1_1_store_1_1_file_switch_directory.html#details">More...</a></p> |
| |
| <p>Inherits <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html">Lucene.Net.Store.Directory</a>.</p> |
| <table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a> |
| Public Member Functions</h2></td></tr> |
| <tr class="memitem:ab5206123ef8c4bdb68f4d332c01ca78e"><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_file_switch_directory.html#ab5206123ef8c4bdb68f4d332c01ca78e">FileSwitchDirectory</a> (System.Collections.Generic.HashSet< string > primaryExtensions, <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html">Directory</a> primaryDir, <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html">Directory</a> secondaryDir, bool doClose)</td></tr> |
| <tr class="separator:ab5206123ef8c4bdb68f4d332c01ca78e"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ab78e159cc8b4ba242b6ec39da0050c91"><td class="memItemLeft" align="right" valign="top">override System.String[] </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_file_switch_directory.html#ab78e159cc8b4ba242b6ec39da0050c91">ListAll</a> ()</td></tr> |
| <tr class="memdesc:ab78e159cc8b4ba242b6ec39da0050c91"><td class="mdescLeft"> </td><td class="mdescRight">Returns an array of strings, one for each file in the directory. <a href="#ab78e159cc8b4ba242b6ec39da0050c91"></a><br/></td></tr> |
| <tr class="separator:ab78e159cc8b4ba242b6ec39da0050c91"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a58992011866f17f0374806c119c7510c"><td class="memItemLeft" align="right" valign="top">override bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_file_switch_directory.html#a58992011866f17f0374806c119c7510c">FileExists</a> (System.String name)</td></tr> |
| <tr class="memdesc:a58992011866f17f0374806c119c7510c"><td class="mdescLeft"> </td><td class="mdescRight">Returns true iff a file with the given name exists. <a href="#a58992011866f17f0374806c119c7510c"></a><br/></td></tr> |
| <tr class="separator:a58992011866f17f0374806c119c7510c"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a1c3762a58ee393c5d36eaeddc89b2b41"><td class="memItemLeft" align="right" valign="top">override long </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_file_switch_directory.html#a1c3762a58ee393c5d36eaeddc89b2b41">FileModified</a> (System.String name)</td></tr> |
| <tr class="memdesc:a1c3762a58ee393c5d36eaeddc89b2b41"><td class="mdescLeft"> </td><td class="mdescRight">Returns the time the named file was last modified. <a href="#a1c3762a58ee393c5d36eaeddc89b2b41"></a><br/></td></tr> |
| <tr class="separator:a1c3762a58ee393c5d36eaeddc89b2b41"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ae9ae8fcfe969c817d6028b32e4b484e6"><td class="memItemLeft" align="right" valign="top">override void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_file_switch_directory.html#ae9ae8fcfe969c817d6028b32e4b484e6">TouchFile</a> (System.String name)</td></tr> |
| <tr class="memdesc:ae9ae8fcfe969c817d6028b32e4b484e6"><td class="mdescLeft"> </td><td class="mdescRight">Set the modified time of an existing file to now. <a href="#ae9ae8fcfe969c817d6028b32e4b484e6"></a><br/></td></tr> |
| <tr class="separator:ae9ae8fcfe969c817d6028b32e4b484e6"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a8498f5443fb5ce8e82c3b352bd14222c"><td class="memItemLeft" align="right" valign="top">override void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_file_switch_directory.html#a8498f5443fb5ce8e82c3b352bd14222c">DeleteFile</a> (System.String name)</td></tr> |
| <tr class="memdesc:a8498f5443fb5ce8e82c3b352bd14222c"><td class="mdescLeft"> </td><td class="mdescRight">Removes an existing file in the directory. <a href="#a8498f5443fb5ce8e82c3b352bd14222c"></a><br/></td></tr> |
| <tr class="separator:a8498f5443fb5ce8e82c3b352bd14222c"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a4441ae9ff7bbaa27c3a213d956209518"><td class="memItemLeft" align="right" valign="top">override long </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_file_switch_directory.html#a4441ae9ff7bbaa27c3a213d956209518">FileLength</a> (System.String name)</td></tr> |
| <tr class="memdesc:a4441ae9ff7bbaa27c3a213d956209518"><td class="mdescLeft"> </td><td class="mdescRight">Returns the length of a file in the directory. <a href="#a4441ae9ff7bbaa27c3a213d956209518"></a><br/></td></tr> |
| <tr class="separator:a4441ae9ff7bbaa27c3a213d956209518"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:af6a9c0ace234b2df95a71316d768cc20"><td class="memItemLeft" align="right" valign="top">override <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_index_output.html">IndexOutput</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_file_switch_directory.html#af6a9c0ace234b2df95a71316d768cc20">CreateOutput</a> (System.String name)</td></tr> |
| <tr class="memdesc:af6a9c0ace234b2df95a71316d768cc20"><td class="mdescLeft"> </td><td class="mdescRight">Creates a new, empty file in the directory with the given name. Returns a stream writing this file. <a href="#af6a9c0ace234b2df95a71316d768cc20"></a><br/></td></tr> |
| <tr class="separator:af6a9c0ace234b2df95a71316d768cc20"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a0e1a2688994b71073a7db772928d400e"><td class="memItemLeft" align="right" valign="top">override void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_file_switch_directory.html#a0e1a2688994b71073a7db772928d400e">Sync</a> (System.String name)</td></tr> |
| <tr class="memdesc:a0e1a2688994b71073a7db772928d400e"><td class="mdescLeft"> </td><td class="mdescRight">Ensure that any writes to this file are moved to stable storage. <a class="el" href="namespace_lucene.html">Lucene</a> uses this to properly commit changes to the index, to prevent a machine/OS crash from corrupting the index. <a href="#a0e1a2688994b71073a7db772928d400e"></a><br/></td></tr> |
| <tr class="separator:a0e1a2688994b71073a7db772928d400e"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a8d31d83ad09b874c2f0db01ba47da7a3"><td class="memItemLeft" align="right" valign="top">override <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_index_input.html">IndexInput</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_file_switch_directory.html#a8d31d83ad09b874c2f0db01ba47da7a3">OpenInput</a> (System.String name)</td></tr> |
| <tr class="memdesc:a8d31d83ad09b874c2f0db01ba47da7a3"><td class="mdescLeft"> </td><td class="mdescRight">Returns a stream reading an existing file. <a href="#a8d31d83ad09b874c2f0db01ba47da7a3"></a><br/></td></tr> |
| <tr class="separator:a8d31d83ad09b874c2f0db01ba47da7a3"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="inherit_header pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory')"><img src="closed.png" alt="-"/> Public Member Functions inherited from <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html">Lucene.Net.Store.Directory</a></td></tr> |
| <tr class="memitem:a2a8da4004ee5216c050ed7094c3eeb6e inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_index_input.html">IndexInput</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#a2a8da4004ee5216c050ed7094c3eeb6e">OpenInput</a> (System.String name, int bufferSize)</td></tr> |
| <tr class="memdesc:a2a8da4004ee5216c050ed7094c3eeb6e inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="mdescLeft"> </td><td class="mdescRight">Returns a stream reading an existing file, with the specified read buffer size. The particular <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html" title="A Directory is a flat list of files. Files may be written once, when they are created. Once a file is created it may only be opened for read, or deleted. Random access is permitted both when reading and writing.">Directory</a> implementation may ignore the buffer size. Currently the only <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html" title="A Directory is a flat list of files. Files may be written once, when they are created. Once a file is created it may only be opened for read, or deleted. Random access is permitted both when reading and writing.">Directory</a> implementations that respect this parameter are <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_f_s_directory.html" title=" Base class for Directory implementations that store index files in the file system. There are currently three core subclasses:">FSDirectory</a> and <a class="el" href="class_lucene_1_1_net_1_1_index_1_1_compound_file_reader.html" title="Class for accessing a compound stream. This class implements a directory, but is limited to only read...">Lucene.Net.Index.CompoundFileReader</a> <a href="#a2a8da4004ee5216c050ed7094c3eeb6e"></a><br/></td></tr> |
| <tr class="separator:a2a8da4004ee5216c050ed7094c3eeb6e inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a28f7428b0f324cfb7dd4f615b94b0dfb inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_lock.html">Lock</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#a28f7428b0f324cfb7dd4f615b94b0dfb">MakeLock</a> (System.String name)</td></tr> |
| <tr class="memdesc:a28f7428b0f324cfb7dd4f615b94b0dfb inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="mdescLeft"> </td><td class="mdescRight">Construct a <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_lock.html" title="An interprocess mutex lock. Typical use might look like:">Lock</a>. <a href="#a28f7428b0f324cfb7dd4f615b94b0dfb"></a><br/></td></tr> |
| <tr class="separator:a28f7428b0f324cfb7dd4f615b94b0dfb inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:af034c6d49f075419935c0cf5b371736f inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#af034c6d49f075419935c0cf5b371736f">ClearLock</a> (System.String name)</td></tr> |
| <tr class="memdesc:af034c6d49f075419935c0cf5b371736f inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="mdescLeft"> </td><td class="mdescRight">Attempt to clear (forcefully unlock and remove) the specified lock. Only call this at a time when you are certain this lock is no longer in use. <a href="#af034c6d49f075419935c0cf5b371736f"></a><br/></td></tr> |
| <tr class="separator:af034c6d49f075419935c0cf5b371736f inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ab6db8d63d7d08a6486db6d8d0fae3efb inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#ab6db8d63d7d08a6486db6d8d0fae3efb">Close</a> ()</td></tr> |
| <tr class="separator:ab6db8d63d7d08a6486db6d8d0fae3efb inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aee7e78b13b835a9d411cff051e5a101f inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#aee7e78b13b835a9d411cff051e5a101f">Dispose</a> ()</td></tr> |
| <tr class="memdesc:aee7e78b13b835a9d411cff051e5a101f inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="mdescLeft"> </td><td class="mdescRight">Closes the store. <a href="#aee7e78b13b835a9d411cff051e5a101f"></a><br/></td></tr> |
| <tr class="separator:aee7e78b13b835a9d411cff051e5a101f inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a407c29121f9b5e5b40a79b33f3bdcf29 inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memItemLeft" align="right" valign="top">virtual void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#a407c29121f9b5e5b40a79b33f3bdcf29">SetLockFactory</a> (<a class="el" href="class_lucene_1_1_net_1_1_store_1_1_lock_factory.html">LockFactory</a> lockFactory)</td></tr> |
| <tr class="memdesc:a407c29121f9b5e5b40a79b33f3bdcf29 inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="mdescLeft"> </td><td class="mdescRight">Set the <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_lock_factory.html" title="Base class for Locking implementation. Directory uses instances of this class to implement locking...">LockFactory</a> that this <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html" title="A Directory is a flat list of files. Files may be written once, when they are created. Once a file is created it may only be opened for read, or deleted. Random access is permitted both when reading and writing.">Directory</a> instance should use for its locking implementation. Each * instance of <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_lock_factory.html" title="Base class for Locking implementation. Directory uses instances of this class to implement locking...">LockFactory</a> should only be used for one directory (ie, do not share a single instance across multiple Directories). <a href="#a407c29121f9b5e5b40a79b33f3bdcf29"></a><br/></td></tr> |
| <tr class="separator:a407c29121f9b5e5b40a79b33f3bdcf29 inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:adfb37c848971f09208379edd8d022618 inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memItemLeft" align="right" valign="top">virtual string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#adfb37c848971f09208379edd8d022618">GetLockId</a> ()</td></tr> |
| <tr class="memdesc:adfb37c848971f09208379edd8d022618 inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="mdescLeft"> </td><td class="mdescRight">Return a string identifier that uniquely differentiates this <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html" title="A Directory is a flat list of files. Files may be written once, when they are created. Once a file is created it may only be opened for read, or deleted. Random access is permitted both when reading and writing.">Directory</a> instance from other <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html" title="A Directory is a flat list of files. Files may be written once, when they are created. Once a file is created it may only be opened for read, or deleted. Random access is permitted both when reading and writing.">Directory</a> instances. This ID should be the same if two <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html" title="A Directory is a flat list of files. Files may be written once, when they are created. Once a file is created it may only be opened for read, or deleted. Random access is permitted both when reading and writing.">Directory</a> instances (even in different JVMs and/or on different machines) are considered "the same index". This is how locking "scopes" to the right index. <a href="#adfb37c848971f09208379edd8d022618"></a><br/></td></tr> |
| <tr class="separator:adfb37c848971f09208379edd8d022618 inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:af43436f8f012d994eeecbe80cdb566f2 inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memItemLeft" align="right" valign="top">override string </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#af43436f8f012d994eeecbe80cdb566f2">ToString</a> ()</td></tr> |
| <tr class="separator:af43436f8f012d994eeecbe80cdb566f2 inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:adddfbc37af5bd5ac2b4133c6207a04ab inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#adddfbc37af5bd5ac2b4133c6207a04ab">EnsureOpen</a> ()</td></tr> |
| <tr class="memdesc:adddfbc37af5bd5ac2b4133c6207a04ab inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="mdescLeft"> </td><td class="mdescRight"><throws> <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_already_closed_exception.html" title="This exception is thrown when there is an attempt to access something that has already been closed...">AlreadyClosedException</a> if this <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html" title="A Directory is a flat list of files. Files may be written once, when they are created. Once a file is created it may only be opened for read, or deleted. Random access is permitted both when reading and writing.">Directory</a> is closed </throws> <a href="#adddfbc37af5bd5ac2b4133c6207a04ab"></a><br/></td></tr> |
| <tr class="separator:adddfbc37af5bd5ac2b4133c6207a04ab inherit pub_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memSeparator" colspan="2"> </td></tr> |
| </table><table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a> |
| Static Public Member Functions</h2></td></tr> |
| <tr class="memitem:a8640489e1acc5162143a55525d1a966c"><td class="memItemLeft" align="right" valign="top">static System.String </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_file_switch_directory.html#a8640489e1acc5162143a55525d1a966c">GetExtension</a> (System.String name)</td></tr> |
| <tr class="memdesc:a8640489e1acc5162143a55525d1a966c"><td class="mdescLeft"> </td><td class="mdescRight">Utility method to return a file's extension. <a href="#a8640489e1acc5162143a55525d1a966c"></a><br/></td></tr> |
| <tr class="separator:a8640489e1acc5162143a55525d1a966c"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="inherit_header pub_static_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_class_lucene_1_1_net_1_1_store_1_1_directory')"><img src="closed.png" alt="-"/> Static Public Member Functions inherited from <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html">Lucene.Net.Store.Directory</a></td></tr> |
| <tr class="memitem:a048c03bc449c61d4e2805500b33d172e inherit pub_static_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memItemLeft" align="right" valign="top">static void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#a048c03bc449c61d4e2805500b33d172e">Copy</a> (<a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html">Directory</a> src, <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html">Directory</a> dest, bool closeDirSrc)</td></tr> |
| <tr class="memdesc:a048c03bc449c61d4e2805500b33d172e inherit pub_static_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="mdescLeft"> </td><td class="mdescRight">Copy contents of a directory src to a directory dest. If a file in src already exists in dest then the one in dest will be blindly overwritten. <a href="#a048c03bc449c61d4e2805500b33d172e"></a><br/></td></tr> |
| <tr class="separator:a048c03bc449c61d4e2805500b33d172e inherit pub_static_methods_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memSeparator" colspan="2"> </td></tr> |
| </table><table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a> |
| Protected Member Functions</h2></td></tr> |
| <tr class="memitem:aac89b7edb51bb97029d1cc45d2b971d8"><td class="memItemLeft" align="right" valign="top">override void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_file_switch_directory.html#aac89b7edb51bb97029d1cc45d2b971d8">Dispose</a> (bool disposing)</td></tr> |
| <tr class="separator:aac89b7edb51bb97029d1cc45d2b971d8"><td class="memSeparator" colspan="2"> </td></tr> |
| </table><table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="properties"></a> |
| Properties</h2></td></tr> |
| <tr class="memitem:ab23932f40619d1bdc89c482c4a5981c3"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html">Directory</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_file_switch_directory.html#ab23932f40619d1bdc89c482c4a5981c3">PrimaryDir</a><code> [get]</code></td></tr> |
| <tr class="memdesc:ab23932f40619d1bdc89c482c4a5981c3"><td class="mdescLeft"> </td><td class="mdescRight">Return the primary directory <a href="#ab23932f40619d1bdc89c482c4a5981c3"></a><br/></td></tr> |
| <tr class="separator:ab23932f40619d1bdc89c482c4a5981c3"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a217f6ce38a3202ebe7f20a2537b0ceab"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html">Directory</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_file_switch_directory.html#a217f6ce38a3202ebe7f20a2537b0ceab">SecondaryDir</a><code> [get]</code></td></tr> |
| <tr class="memdesc:a217f6ce38a3202ebe7f20a2537b0ceab"><td class="mdescLeft"> </td><td class="mdescRight">Return the secondary directory <a href="#a217f6ce38a3202ebe7f20a2537b0ceab"></a><br/></td></tr> |
| <tr class="separator:a217f6ce38a3202ebe7f20a2537b0ceab"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="inherit_header properties_class_lucene_1_1_net_1_1_store_1_1_directory"><td colspan="2" onclick="javascript:toggleInherit('properties_class_lucene_1_1_net_1_1_store_1_1_directory')"><img src="closed.png" alt="-"/> Properties inherited from <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html">Lucene.Net.Store.Directory</a></td></tr> |
| <tr class="memitem:ad11523bdc679a598c4f5e6deb3131366 inherit properties_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_lock_factory.html">LockFactory</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#ad11523bdc679a598c4f5e6deb3131366">LockFactory</a><code> [get]</code></td></tr> |
| <tr class="memdesc:ad11523bdc679a598c4f5e6deb3131366 inherit properties_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="mdescLeft"> </td><td class="mdescRight">Get the <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_lock_factory.html" title="Base class for Locking implementation. Directory uses instances of this class to implement locking...">LockFactory</a> that this <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html" title="A Directory is a flat list of files. Files may be written once, when they are created. Once a file is created it may only be opened for read, or deleted. Random access is permitted both when reading and writing.">Directory</a> instance is using for its locking implementation. Note that this may be null for <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html" title="A Directory is a flat list of files. Files may be written once, when they are created. Once a file is created it may only be opened for read, or deleted. Random access is permitted both when reading and writing.">Directory</a> implementations that provide their own locking implementation. <a href="#ad11523bdc679a598c4f5e6deb3131366"></a><br/></td></tr> |
| <tr class="separator:ad11523bdc679a598c4f5e6deb3131366 inherit properties_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ad53c9747e166be96af86c391777a0793 inherit properties_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memItemLeft" align="right" valign="top">bool </td><td class="memItemRight" valign="bottom"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#ad53c9747e166be96af86c391777a0793">isOpen_ForNUnit</a><code> [get]</code></td></tr> |
| <tr class="separator:ad53c9747e166be96af86c391777a0793 inherit properties_class_lucene_1_1_net_1_1_store_1_1_directory"><td class="memSeparator" colspan="2"> </td></tr> |
| </table> |
| <a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2> |
| <div class="textblock"><p>Expert: A <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html" title="A Directory is a flat list of files. Files may be written once, when they are created. Once a file is created it may only be opened for read, or deleted. Random access is permitted both when reading and writing.">Directory</a> instance that switches files between two other <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html" title="A Directory is a flat list of files. Files may be written once, when they are created. Once a file is created it may only be opened for read, or deleted. Random access is permitted both when reading and writing.">Directory</a> instances. </p> |
| <p>Files with the specified extensions are placed in the primary directory; others are placed in the secondary directory. The provided Set must not change once passed to this class, and must allow multiple threads to call contains at once.</p> |
| <p><b>NOTE</b>: this API is new and experimental and is subject to suddenly change in the next release. </p> |
| |
| <p>Definition at line <a class="el" href="_file_switch_directory_8cs_source.html#l00035">35</a> of file <a class="el" href="_file_switch_directory_8cs_source.html">FileSwitchDirectory.cs</a>.</p> |
| </div><h2 class="groupheader">Constructor & Destructor Documentation</h2> |
| <a class="anchor" id="ab5206123ef8c4bdb68f4d332c01ca78e"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">Lucene.Net.Store.FileSwitchDirectory.FileSwitchDirectory </td> |
| <td>(</td> |
| <td class="paramtype">System.Collections.Generic.HashSet< string > </td> |
| <td class="paramname"><em>primaryExtensions</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html">Directory</a> </td> |
| <td class="paramname"><em>primaryDir</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype"><a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html">Directory</a> </td> |
| <td class="paramname"><em>secondaryDir</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">bool </td> |
| <td class="paramname"><em>doClose</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Definition at line <a class="el" href="_file_switch_directory_8cs_source.html#l00043">43</a> of file <a class="el" href="_file_switch_directory_8cs_source.html">FileSwitchDirectory.cs</a>.</p> |
| |
| </div> |
| </div> |
| <h2 class="groupheader">Member Function Documentation</h2> |
| <a class="anchor" id="af6a9c0ace234b2df95a71316d768cc20"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">override <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_index_output.html">IndexOutput</a> Lucene.Net.Store.FileSwitchDirectory.CreateOutput </td> |
| <td>(</td> |
| <td class="paramtype">System.String </td> |
| <td class="paramname"><em>name</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Creates a new, empty file in the directory with the given name. Returns a stream writing this file. </p> |
| |
| <p>Implements <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#af44407cd2e54288502f459924efc9aac">Lucene.Net.Store.Directory</a>.</p> |
| |
| <p>Definition at line <a class="el" href="_file_switch_directory_8cs_source.html#l00152">152</a> of file <a class="el" href="_file_switch_directory_8cs_source.html">FileSwitchDirectory.cs</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a8498f5443fb5ce8e82c3b352bd14222c"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">override void Lucene.Net.Store.FileSwitchDirectory.DeleteFile </td> |
| <td>(</td> |
| <td class="paramtype">System.String </td> |
| <td class="paramname"><em>name</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Removes an existing file in the directory. </p> |
| |
| <p>Implements <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#ad3722fbcf237e9b2297d7834b6f09192">Lucene.Net.Store.Directory</a>.</p> |
| |
| <p>Definition at line <a class="el" href="_file_switch_directory_8cs_source.html#l00142">142</a> of file <a class="el" href="_file_switch_directory_8cs_source.html">FileSwitchDirectory.cs</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="aac89b7edb51bb97029d1cc45d2b971d8"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">override void Lucene.Net.Store.FileSwitchDirectory.Dispose </td> |
| <td>(</td> |
| <td class="paramtype">bool </td> |
| <td class="paramname"><em>disposing</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">protected</span><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Implements <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#abbc8e1b070b3186a1b7587d415535739">Lucene.Net.Store.Directory</a>.</p> |
| |
| <p>Definition at line <a class="el" href="_file_switch_directory_8cs_source.html#l00067">67</a> of file <a class="el" href="_file_switch_directory_8cs_source.html">FileSwitchDirectory.cs</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a58992011866f17f0374806c119c7510c"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">override bool Lucene.Net.Store.FileSwitchDirectory.FileExists </td> |
| <td>(</td> |
| <td class="paramtype">System.String </td> |
| <td class="paramname"><em>name</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Returns true iff a file with the given name exists. </p> |
| |
| <p>Implements <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#abff8f4b9909c5f197b18270a7ed8985c">Lucene.Net.Store.Directory</a>.</p> |
| |
| <p>Definition at line <a class="el" href="_file_switch_directory_8cs_source.html#l00127">127</a> of file <a class="el" href="_file_switch_directory_8cs_source.html">FileSwitchDirectory.cs</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a4441ae9ff7bbaa27c3a213d956209518"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">override long Lucene.Net.Store.FileSwitchDirectory.FileLength </td> |
| <td>(</td> |
| <td class="paramtype">System.String </td> |
| <td class="paramname"><em>name</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Returns the length of a file in the directory. </p> |
| |
| <p>Implements <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#aaf0539c5a4613457a1dbdc81a169f49f">Lucene.Net.Store.Directory</a>.</p> |
| |
| <p>Definition at line <a class="el" href="_file_switch_directory_8cs_source.html#l00147">147</a> of file <a class="el" href="_file_switch_directory_8cs_source.html">FileSwitchDirectory.cs</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a1c3762a58ee393c5d36eaeddc89b2b41"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">override long Lucene.Net.Store.FileSwitchDirectory.FileModified </td> |
| <td>(</td> |
| <td class="paramtype">System.String </td> |
| <td class="paramname"><em>name</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Returns the time the named file was last modified. </p> |
| |
| <p>Implements <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#a6335b0e675938d9106c71666018eac51">Lucene.Net.Store.Directory</a>.</p> |
| |
| <p>Definition at line <a class="el" href="_file_switch_directory_8cs_source.html#l00132">132</a> of file <a class="el" href="_file_switch_directory_8cs_source.html">FileSwitchDirectory.cs</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a8640489e1acc5162143a55525d1a966c"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">static System.String Lucene.Net.Store.FileSwitchDirectory.GetExtension </td> |
| <td>(</td> |
| <td class="paramtype">System.String </td> |
| <td class="paramname"><em>name</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">static</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Utility method to return a file's extension. </p> |
| |
| <p>Definition at line <a class="el" href="_file_switch_directory_8cs_source.html#l00104">104</a> of file <a class="el" href="_file_switch_directory_8cs_source.html">FileSwitchDirectory.cs</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ab78e159cc8b4ba242b6ec39da0050c91"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">override System.String [] Lucene.Net.Store.FileSwitchDirectory.ListAll </td> |
| <td>(</td> |
| <td class="paramname"></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Returns an array of strings, one for each file in the directory.</p> |
| <dl class="exception"><dt>Exceptions</dt><dd> |
| <table class="exception"> |
| <tr><td class="paramname">System.IO.IOException</td><td></td></tr> |
| </table> |
| </dd> |
| </dl> |
| |
| <p>Implements <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#abfb7e6d495559d12b84ffb9758e1b15d">Lucene.Net.Store.Directory</a>.</p> |
| |
| <p>Definition at line <a class="el" href="_file_switch_directory_8cs_source.html#l00095">95</a> of file <a class="el" href="_file_switch_directory_8cs_source.html">FileSwitchDirectory.cs</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a8d31d83ad09b874c2f0db01ba47da7a3"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">override <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_index_input.html">IndexInput</a> Lucene.Net.Store.FileSwitchDirectory.OpenInput </td> |
| <td>(</td> |
| <td class="paramtype">System.String </td> |
| <td class="paramname"><em>name</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Returns a stream reading an existing file. </p> |
| |
| <p>Implements <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#af08fb715df704bf7e0eb6f67e491b3c8">Lucene.Net.Store.Directory</a>.</p> |
| |
| <p>Definition at line <a class="el" href="_file_switch_directory_8cs_source.html#l00162">162</a> of file <a class="el" href="_file_switch_directory_8cs_source.html">FileSwitchDirectory.cs</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a0e1a2688994b71073a7db772928d400e"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">override void Lucene.Net.Store.FileSwitchDirectory.Sync </td> |
| <td>(</td> |
| <td class="paramtype">System.String </td> |
| <td class="paramname"><em>name</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Ensure that any writes to this file are moved to stable storage. <a class="el" href="namespace_lucene.html">Lucene</a> uses this to properly commit changes to the index, to prevent a machine/OS crash from corrupting the index. </p> |
| |
| <p>Reimplemented from <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#a1b5473afa8d8883972556956d638071c">Lucene.Net.Store.Directory</a>.</p> |
| |
| <p>Definition at line <a class="el" href="_file_switch_directory_8cs_source.html#l00157">157</a> of file <a class="el" href="_file_switch_directory_8cs_source.html">FileSwitchDirectory.cs</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ae9ae8fcfe969c817d6028b32e4b484e6"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">override void Lucene.Net.Store.FileSwitchDirectory.TouchFile </td> |
| <td>(</td> |
| <td class="paramtype">System.String </td> |
| <td class="paramname"><em>name</em></td><td>)</td> |
| <td></td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">virtual</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Set the modified time of an existing file to now. </p> |
| |
| <p>Implements <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html#ad374ac4d5b071ea364db40a0139b9574">Lucene.Net.Store.Directory</a>.</p> |
| |
| <p>Definition at line <a class="el" href="_file_switch_directory_8cs_source.html#l00137">137</a> of file <a class="el" href="_file_switch_directory_8cs_source.html">FileSwitchDirectory.cs</a>.</p> |
| |
| </div> |
| </div> |
| <h2 class="groupheader">Property Documentation</h2> |
| <a class="anchor" id="ab23932f40619d1bdc89c482c4a5981c3"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html">Directory</a> Lucene.Net.Store.FileSwitchDirectory.PrimaryDir</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">get</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Return the primary directory </p> |
| |
| <p>Definition at line <a class="el" href="_file_switch_directory_8cs_source.html#l00057">57</a> of file <a class="el" href="_file_switch_directory_8cs_source.html">FileSwitchDirectory.cs</a>.</p> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a217f6ce38a3202ebe7f20a2537b0ceab"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="mlabels"> |
| <tr> |
| <td class="mlabels-left"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">virtual <a class="el" href="class_lucene_1_1_net_1_1_store_1_1_directory.html">Directory</a> Lucene.Net.Store.FileSwitchDirectory.SecondaryDir</td> |
| </tr> |
| </table> |
| </td> |
| <td class="mlabels-right"> |
| <span class="mlabels"><span class="mlabel">get</span></span> </td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| <p>Return the secondary directory </p> |
| |
| <p>Definition at line <a class="el" href="_file_switch_directory_8cs_source.html#l00063">63</a> of file <a class="el" href="_file_switch_directory_8cs_source.html">FileSwitchDirectory.cs</a>.</p> |
| |
| </div> |
| </div> |
| <hr/>The documentation for this class was generated from the following file:<ul> |
| <li>core/Store/<a class="el" href="_file_switch_directory_8cs_source.html">FileSwitchDirectory.cs</a></li> |
| </ul> |
| </div><!-- contents --> |
| <!-- start footer part --> |
| <hr class="footer"/><address class="footer"><small> |
| Generated on Thu Jan 3 2013 02:12:59 for Lucene.Net by  <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/> |
| </a> 1.8.3 |
| </small></address> |
| </body> |
| </html> |