| <!DOCTYPE html> |
| <!--[if IE]><![endif]--> |
| <html> |
| |
| <head> |
| <meta charset="utf-8"> |
| <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> |
| <title>Class MockDirectoryWrapper |
| | Apache Lucene.NET 4.8.0-beta00010 Documentation </title> |
| <meta name="viewport" content="width=device-width"> |
| <meta name="title" content="Class MockDirectoryWrapper |
| | Apache Lucene.NET 4.8.0-beta00010 Documentation "> |
| <meta name="generator" content="docfx 2.56.0.0"> |
| |
| <link rel="shortcut icon" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/logo/favicon.ico"> |
| <link rel="stylesheet" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.vendor.css"> |
| <link rel="stylesheet" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.css"> |
| <link rel="stylesheet" href="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/main.css"> |
| <meta property="docfx:navrel" content="toc.html"> |
| <meta property="docfx:tocrel" content="test-framework/toc.html"> |
| |
| <meta property="docfx:rel" content="https://lucenenet.apache.org/docs/4.8.0-beta00009/"> |
| |
| </head> |
| <body data-spy="scroll" data-target="#affix" data-offset="120"> |
| <div id="wrapper"> |
| <header> |
| |
| <nav id="autocollapse" class="navbar ng-scope" role="navigation"> |
| <div class="container"> |
| <div class="navbar-header"> |
| <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar"> |
| <span class="sr-only">Toggle navigation</span> |
| <span class="icon-bar"></span> |
| <span class="icon-bar"></span> |
| <span class="icon-bar"></span> |
| </button> |
| |
| <a class="navbar-brand" href="/"> |
| <img id="logo" class="svg" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/logo/lucene-net-color.png" alt=""> |
| </a> |
| </div> |
| <div class="collapse navbar-collapse" id="navbar"> |
| <form class="navbar-form navbar-right" role="search" id="search"> |
| <div class="form-group"> |
| <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off"> |
| </div> |
| </form> |
| </div> |
| </div> |
| </nav> |
| |
| <div class="subnav navbar navbar-default"> |
| <div class="container hide-when-search"> |
| <ul class="level0 breadcrumb"> |
| <li> |
| <a href="https://lucenenet.apache.org/docs/4.8.0-beta00009/">API</a> |
| <span id="breadcrumb"> |
| <ul class="breadcrumb"> |
| <li></li> |
| </ul> |
| </span> |
| </li> |
| </ul> |
| </div> |
| </div> |
| </header> |
| <div class="container body-content"> |
| |
| <div id="search-results"> |
| <div class="search-list"></div> |
| <div class="sr-items"> |
| <p><i class="glyphicon glyphicon-refresh index-loading"></i></p> |
| </div> |
| <ul id="pagination"></ul> |
| </div> |
| </div> |
| <div role="main" class="container body-content hide-when-search"> |
| |
| <div class="sidenav hide-when-search"> |
| <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a> |
| <div class="sidetoggle collapse" id="sidetoggle"> |
| <div id="sidetoc"></div> |
| </div> |
| </div> |
| <div class="article row grid-right"> |
| <div class="col-md-10"> |
| <article class="content wrap" id="_content" data-uid="Lucene.Net.Store.MockDirectoryWrapper"> |
| |
| |
| <h1 id="Lucene_Net_Store_MockDirectoryWrapper" data-uid="Lucene.Net.Store.MockDirectoryWrapper" class="text-break">Class MockDirectoryWrapper |
| </h1> |
| <div class="markdown level0 summary"><p>This is a Directory Wrapper that adds methods |
| intended to be used only by unit tests. |
| It also adds a number of features useful for testing: |
| <ul><li> |
| Instances created by <a class="xref" href="Lucene.Net.Util.LuceneTestCase.html#Lucene_Net_Util_LuceneTestCase_NewDirectory">NewDirectory()</a> are tracked |
| to ensure they are disposed by the test. |
| </li><li> |
| When a <a class="xref" href="Lucene.Net.Store.MockDirectoryWrapper.html">MockDirectoryWrapper</a> is disposed, it will throw an exception if |
| it has any open files against it (with a stacktrace indicating where |
| they were opened from). |
| </li><li> |
| When a <a class="xref" href="Lucene.Net.Store.MockDirectoryWrapper.html">MockDirectoryWrapper</a> is disposed, it runs <span class="xref">Lucene.Net.Index.CheckIndex</span> to test if |
| the index was corrupted. |
| </li><li> |
| <a class="xref" href="Lucene.Net.Store.MockDirectoryWrapper.html">MockDirectoryWrapper</a> simulates some "features" of Windows, such as |
| refusing to write/delete to open files. |
| </li></ul></p> |
| </div> |
| <div class="markdown level0 conceptual"></div> |
| <div class="inheritance"> |
| <h5>Inheritance</h5> |
| <div class="level0"><span class="xref">System.Object</span></div> |
| <div class="level1"><span class="xref">Lucene.Net.Store.Directory</span></div> |
| <div class="level2"><span class="xref">Lucene.Net.Store.FilterDirectory</span></div> |
| <div class="level3"><a class="xref" href="Lucene.Net.Store.BaseDirectoryWrapper.html">BaseDirectoryWrapper</a></div> |
| <div class="level4"><span class="xref">MockDirectoryWrapper</span></div> |
| </div> |
| <div classs="implements"> |
| <h5>Implements</h5> |
| <div><span class="xref">System.IDisposable</span></div> |
| </div> |
| <div class="inheritedMembers"> |
| <h5>Inherited Members</h5> |
| <div> |
| <a class="xref" href="Lucene.Net.Store.BaseDirectoryWrapper.html#Lucene_Net_Store_BaseDirectoryWrapper_IsOpen">BaseDirectoryWrapper.IsOpen</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Store.BaseDirectoryWrapper.html#Lucene_Net_Store_BaseDirectoryWrapper_CheckIndexOnDispose">BaseDirectoryWrapper.CheckIndexOnDispose</a> |
| </div> |
| <div> |
| <a class="xref" href="Lucene.Net.Store.BaseDirectoryWrapper.html#Lucene_Net_Store_BaseDirectoryWrapper_CrossCheckTermVectorsOnDispose">BaseDirectoryWrapper.CrossCheckTermVectorsOnDispose</a> |
| </div> |
| <div> |
| <span class="xref">Lucene.Net.Store.FilterDirectory.m_input</span> |
| </div> |
| <div> |
| <span class="xref">Lucene.Net.Store.FilterDirectory.Delegate</span> |
| </div> |
| <div> |
| <span class="xref">Lucene.Net.Store.FilterDirectory.ToString()</span> |
| </div> |
| <div> |
| <span class="xref">Lucene.Net.Store.Directory.OpenChecksumInput(System.String, Lucene.Net.Store.IOContext)</span> |
| </div> |
| <div> |
| <span class="xref">Lucene.Net.Store.Directory.Dispose()</span> |
| </div> |
| <div> |
| <span class="xref">Lucene.Net.Store.Directory.EnsureOpen()</span> |
| </div> |
| <div> |
| <span class="xref">System.Object.Equals(System.Object)</span> |
| </div> |
| <div> |
| <span class="xref">System.Object.Equals(System.Object, System.Object)</span> |
| </div> |
| <div> |
| <span class="xref">System.Object.GetHashCode()</span> |
| </div> |
| <div> |
| <span class="xref">System.Object.GetType()</span> |
| </div> |
| <div> |
| <span class="xref">System.Object.MemberwiseClone()</span> |
| </div> |
| <div> |
| <span class="xref">System.Object.ReferenceEquals(System.Object, System.Object)</span> |
| </div> |
| </div> |
| <h6><strong>Namespace</strong>: <a class="xref" href="Lucene.Net.Store.html">Lucene.Net.Store</a></h6> |
| <h6><strong>Assembly</strong>: Lucene.Net.TestFramework.dll</h6> |
| <h5 id="Lucene_Net_Store_MockDirectoryWrapper_syntax">Syntax</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public class MockDirectoryWrapper : BaseDirectoryWrapper, IDisposable</code></pre> |
| </div> |
| <h3 id="constructors">Constructors |
| </h3> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper__ctor_System_Random_Lucene_Net_Store_Directory_.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.%23ctor(System.Random%2CLucene.Net.Store.Directory)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L157">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper__ctor_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.#ctor*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper__ctor_System_Random_Lucene_Net_Store_Directory_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.#ctor(System.Random,Lucene.Net.Store.Directory)">MockDirectoryWrapper(Random, Directory)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public MockDirectoryWrapper(Random random, Directory delegate)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Random</span></td> |
| <td><span class="parametername">random</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">Lucene.Net.Store.Directory</span></td> |
| <td><span class="parametername">delegate</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h3 id="fields">Fields |
| </h3> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_m_lockFactory.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.m_lockFactory%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L118">View Source</a> |
| </span> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_m_lockFactory" data-uid="Lucene.Net.Store.MockDirectoryWrapper.m_lockFactory">m_lockFactory</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected LockFactory m_lockFactory</code></pre> |
| </div> |
| <h5 class="fieldValue">Field Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">Lucene.Net.Store.LockFactory</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h3 id="properties">Properties |
| </h3> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_AllowRandomFileNotFoundException.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.AllowRandomFileNotFoundException%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L194">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_AllowRandomFileNotFoundException_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.AllowRandomFileNotFoundException*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_AllowRandomFileNotFoundException" data-uid="Lucene.Net.Store.MockDirectoryWrapper.AllowRandomFileNotFoundException">AllowRandomFileNotFoundException</h4> |
| <div class="markdown level1 summary"><p>If set to true (the default), when we throw random |
| <span class="xref">System.IO.IOException</span> on <a class="xref" href="Lucene.Net.Store.MockDirectoryWrapper.html#Lucene_Net_Store_MockDirectoryWrapper_OpenInput_System_String_Lucene_Net_Store_IOContext_">OpenInput(String, IOContext)</a> or |
| <a class="xref" href="Lucene.Net.Store.MockDirectoryWrapper.html#Lucene_Net_Store_MockDirectoryWrapper_CreateOutput_System_String_Lucene_Net_Store_IOContext_">CreateOutput(String, IOContext)</a>, we may |
| sometimes throw <span class="xref">System.IO.FileNotFoundException</span>.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual bool AllowRandomFileNotFoundException { get; set; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_AllowReadingFilesStillOpenForWrite.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.AllowReadingFilesStillOpenForWrite%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L204">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_AllowReadingFilesStillOpenForWrite_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.AllowReadingFilesStillOpenForWrite*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_AllowReadingFilesStillOpenForWrite" data-uid="Lucene.Net.Store.MockDirectoryWrapper.AllowReadingFilesStillOpenForWrite">AllowReadingFilesStillOpenForWrite</h4> |
| <div class="markdown level1 summary"><p>If set to true, you can open an inputstream on a file |
| that is still open for writes.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual bool AllowReadingFilesStillOpenForWrite { get; set; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_AssertNoDeleteOpenFile.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.AssertNoDeleteOpenFile%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L444">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_AssertNoDeleteOpenFile_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.AssertNoDeleteOpenFile*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_AssertNoDeleteOpenFile" data-uid="Lucene.Net.Store.MockDirectoryWrapper.AssertNoDeleteOpenFile">AssertNoDeleteOpenFile</h4> |
| <div class="markdown level1 summary"><p>Trip a test assert if there is an attempt |
| to delete an open file.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual bool AssertNoDeleteOpenFile { get; set; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_AssertNoUnreferencedFilesOnClose.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.AssertNoUnreferencedFilesOnClose%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L839">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_AssertNoUnreferencedFilesOnClose_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.AssertNoUnreferencedFilesOnClose*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_AssertNoUnreferencedFilesOnClose" data-uid="Lucene.Net.Store.MockDirectoryWrapper.AssertNoUnreferencedFilesOnClose">AssertNoUnreferencedFilesOnClose</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual bool AssertNoUnreferencedFilesOnClose { get; set; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_FailOnCreateOutput.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.FailOnCreateOutput%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L608">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_FailOnCreateOutput_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.FailOnCreateOutput*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_FailOnCreateOutput" data-uid="Lucene.Net.Store.MockDirectoryWrapper.FailOnCreateOutput">FailOnCreateOutput</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual bool FailOnCreateOutput { get; set; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_FailOnOpenInput.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.FailOnOpenInput%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L735">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_FailOnOpenInput_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.FailOnOpenInput*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_FailOnOpenInput" data-uid="Lucene.Net.Store.MockDirectoryWrapper.FailOnOpenInput">FailOnOpenInput</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual bool FailOnOpenInput { get; set; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_InputCloneCount.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.InputCloneCount%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L170">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_InputCloneCount_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.InputCloneCount*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_InputCloneCount" data-uid="Lucene.Net.Store.MockDirectoryWrapper.InputCloneCount">InputCloneCount</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual int InputCloneCount { get; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Int32</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_LockFactory.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.LockFactory%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L1185">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_LockFactory_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.LockFactory*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_LockFactory" data-uid="Lucene.Net.Store.MockDirectoryWrapper.LockFactory">LockFactory</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public override LockFactory LockFactory { get; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">Lucene.Net.Store.LockFactory</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><span class="xref">Lucene.Net.Store.FilterDirectory.LockFactory</span></div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_MaxSizeInBytes.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.MaxSizeInBytes%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L413">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_MaxSizeInBytes_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.MaxSizeInBytes*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_MaxSizeInBytes" data-uid="Lucene.Net.Store.MockDirectoryWrapper.MaxSizeInBytes">MaxSizeInBytes</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual long MaxSizeInBytes { get; set; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Int64</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_MaxUsedSizeInBytes.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.MaxUsedSizeInBytes%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L423">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_MaxUsedSizeInBytes_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.MaxUsedSizeInBytes*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_MaxUsedSizeInBytes" data-uid="Lucene.Net.Store.MockDirectoryWrapper.MaxUsedSizeInBytes">MaxUsedSizeInBytes</h4> |
| <div class="markdown level1 summary"><p>Returns the peek actual storage used (bytes) in this |
| directory.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual long MaxUsedSizeInBytes { get; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Int64</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_NoDeleteOpenFile.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.NoDeleteOpenFile%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L434">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_NoDeleteOpenFile_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.NoDeleteOpenFile*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_NoDeleteOpenFile" data-uid="Lucene.Net.Store.MockDirectoryWrapper.NoDeleteOpenFile">NoDeleteOpenFile</h4> |
| <div class="markdown level1 summary"><p>Emulate Windows whereby deleting an open file is not |
| allowed (raise <span class="xref">System.IO.IOException</span>).</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual bool NoDeleteOpenFile { get; set; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_PreventDoubleWrite.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.PreventDoubleWrite%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L182">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_PreventDoubleWrite_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.PreventDoubleWrite*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_PreventDoubleWrite" data-uid="Lucene.Net.Store.MockDirectoryWrapper.PreventDoubleWrite">PreventDoubleWrite</h4> |
| <div class="markdown level1 summary"><p>If set to true, we throw an <span class="xref">System.IO.IOException</span> if the same |
| file is opened by <a class="xref" href="Lucene.Net.Store.MockDirectoryWrapper.html#Lucene_Net_Store_MockDirectoryWrapper_CreateOutput_System_String_Lucene_Net_Store_IOContext_">CreateOutput(String, IOContext)</a>, ever.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual bool PreventDoubleWrite { get; set; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_RandomIOExceptionRate.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.RandomIOExceptionRate%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L456">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_RandomIOExceptionRate_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.RandomIOExceptionRate*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_RandomIOExceptionRate" data-uid="Lucene.Net.Store.MockDirectoryWrapper.RandomIOExceptionRate">RandomIOExceptionRate</h4> |
| <div class="markdown level1 summary"><p>If 0.0, no exceptions will be thrown. Else this should |
| be a double 0.0 - 1.0. We will randomly throw an |
| <span class="xref">System.IO.IOException</span> on the first write to a <span class="xref">System.IO.Stream</span> based |
| on this probability.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual double RandomIOExceptionRate { get; set; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Double</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_RandomIOExceptionRateOnOpen.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.RandomIOExceptionRateOnOpen%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L469">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_RandomIOExceptionRateOnOpen_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.RandomIOExceptionRateOnOpen*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_RandomIOExceptionRateOnOpen" data-uid="Lucene.Net.Store.MockDirectoryWrapper.RandomIOExceptionRateOnOpen">RandomIOExceptionRateOnOpen</h4> |
| <div class="markdown level1 summary"><p>If 0.0, no exceptions will be thrown during <a class="xref" href="Lucene.Net.Store.MockDirectoryWrapper.html#Lucene_Net_Store_MockDirectoryWrapper_OpenInput_System_String_Lucene_Net_Store_IOContext_">OpenInput(String, IOContext)</a> |
| and <a class="xref" href="Lucene.Net.Store.MockDirectoryWrapper.html#Lucene_Net_Store_MockDirectoryWrapper_CreateOutput_System_String_Lucene_Net_Store_IOContext_">CreateOutput(String, IOContext)</a>. Else this should |
| be a double 0.0 - 1.0 and we will randomly throw an |
| <span class="xref">System.IO.IOException</span> in <a class="xref" href="Lucene.Net.Store.MockDirectoryWrapper.html#Lucene_Net_Store_MockDirectoryWrapper_OpenInput_System_String_Lucene_Net_Store_IOContext_">OpenInput(String, IOContext)</a> and <a class="xref" href="Lucene.Net.Store.MockDirectoryWrapper.html#Lucene_Net_Store_MockDirectoryWrapper_CreateOutput_System_String_Lucene_Net_Store_IOContext_">CreateOutput(String, IOContext)</a> with |
| this probability.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual double RandomIOExceptionRateOnOpen { get; set; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Double</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_Throttling.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.Throttling%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L212">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_Throttling_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.Throttling*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_Throttling" data-uid="Lucene.Net.Store.MockDirectoryWrapper.Throttling">Throttling</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual Throttling Throttling { get; set; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Store.Throttling.html">Throttling</a></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_TrackDiskUsage.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.TrackDiskUsage%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L172">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_TrackDiskUsage_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.TrackDiskUsage*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_TrackDiskUsage" data-uid="Lucene.Net.Store.MockDirectoryWrapper.TrackDiskUsage">TrackDiskUsage</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual bool TrackDiskUsage { get; set; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_WrapLockFactory.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.WrapLockFactory%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L854">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_WrapLockFactory_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.WrapLockFactory*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_WrapLockFactory" data-uid="Lucene.Net.Store.MockDirectoryWrapper.WrapLockFactory">WrapLockFactory</h4> |
| <div class="markdown level1 summary"><p>Set to false if you want to return the pure lockfactory |
| and not wrap it with <a class="xref" href="Lucene.Net.Store.MockLockFactoryWrapper.html">MockLockFactoryWrapper</a>. |
| <p> |
| Be careful if you turn this off: <a class="xref" href="Lucene.Net.Store.MockDirectoryWrapper.html">MockDirectoryWrapper</a> might |
| no longer be able to detect if you forget to close an <span class="xref">Lucene.Net.Index.IndexWriter</span>, |
| and spit out horribly scary confusing exceptions instead of |
| simply telling you that.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual bool WrapLockFactory { get; set; }</code></pre> |
| </div> |
| <h5 class="propertyValue">Property Value</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h3 id="methods">Methods |
| </h3> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_ClearCrash.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.ClearCrash%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L404">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_ClearCrash_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.ClearCrash*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_ClearCrash" data-uid="Lucene.Net.Store.MockDirectoryWrapper.ClearCrash">ClearCrash()</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual void ClearCrash()</code></pre> |
| </div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_ClearLock_System_String_.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.ClearLock(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L1163">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_ClearLock_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.ClearLock*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_ClearLock_System_String_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.ClearLock(System.String)">ClearLock(String)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public override void ClearLock(string name)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">name</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><span class="xref">Lucene.Net.Store.FilterDirectory.ClearLock(System.String)</span></div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_Copy_Lucene_Net_Store_Directory_System_String_System_String_Lucene_Net_Store_IOContext_.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.Copy(Lucene.Net.Store.Directory%2CSystem.String%2CSystem.String%2CLucene.Net.Store.IOContext)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L1213">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_Copy_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.Copy*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_Copy_Lucene_Net_Store_Directory_System_String_System_String_Lucene_Net_Store_IOContext_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.Copy(Lucene.Net.Store.Directory,System.String,System.String,Lucene.Net.Store.IOContext)">Copy(Directory, String, String, IOContext)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public override void Copy(Directory to, string src, string dest, IOContext context)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">Lucene.Net.Store.Directory</span></td> |
| <td><span class="parametername">to</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">src</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">dest</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">Lucene.Net.Store.IOContext</span></td> |
| <td><span class="parametername">context</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><a class="xref" href="Lucene.Net.Store.BaseDirectoryWrapper.html#Lucene_Net_Store_BaseDirectoryWrapper_Copy_Lucene_Net_Store_Directory_System_String_System_String_Lucene_Net_Store_IOContext_">BaseDirectoryWrapper.Copy(Directory, String, String, IOContext)</a></div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_Crash.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.Crash%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L288">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_Crash_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.Crash*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_Crash" data-uid="Lucene.Net.Store.MockDirectoryWrapper.Crash">Crash()</h4> |
| <div class="markdown level1 summary"><p>Simulates a crash of OS or machine by overwriting |
| unsynced files.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual void Crash()</code></pre> |
| </div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_CreateOutput_System_String_Lucene_Net_Store_IOContext_.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.CreateOutput(System.String%2CLucene.Net.Store.IOContext)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L614">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_CreateOutput_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.CreateOutput*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_CreateOutput_System_String_Lucene_Net_Store_IOContext_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.CreateOutput(System.String,Lucene.Net.Store.IOContext)">CreateOutput(String, IOContext)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public override IndexOutput CreateOutput(string name, IOContext context)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">name</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">Lucene.Net.Store.IOContext</span></td> |
| <td><span class="parametername">context</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">Lucene.Net.Store.IndexOutput</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><span class="xref">Lucene.Net.Store.FilterDirectory.CreateOutput(System.String, Lucene.Net.Store.IOContext)</span></div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_CreateSlicer_System_String_Lucene_Net_Store_IOContext_.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.CreateSlicer(System.String%2CLucene.Net.Store.IOContext)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L1223">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_CreateSlicer_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.CreateSlicer*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_CreateSlicer_System_String_Lucene_Net_Store_IOContext_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.CreateSlicer(System.String,Lucene.Net.Store.IOContext)">CreateSlicer(String, IOContext)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public override Directory.IndexInputSlicer CreateSlicer(string name, IOContext context)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">name</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">Lucene.Net.Store.IOContext</span></td> |
| <td><span class="parametername">context</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">Lucene.Net.Store.Directory.IndexInputSlicer</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><a class="xref" href="Lucene.Net.Store.BaseDirectoryWrapper.html#Lucene_Net_Store_BaseDirectoryWrapper_CreateSlicer_System_String_Lucene_Net_Store_IOContext_">BaseDirectoryWrapper.CreateSlicer(String, IOContext)</a></div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_DeleteFile_System_String_.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.DeleteFile(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L506">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_DeleteFile_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.DeleteFile*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_DeleteFile_System_String_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.DeleteFile(System.String)">DeleteFile(String)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public override void DeleteFile(string name)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">name</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><span class="xref">Lucene.Net.Store.FilterDirectory.DeleteFile(System.String)</span></div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_Dispose_System_Boolean_.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.Dispose(System.Boolean)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L860">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_Dispose_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.Dispose*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_Dispose_System_Boolean_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.Dispose(System.Boolean)">Dispose(Boolean)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">protected override void Dispose(bool disposing)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td><span class="parametername">disposing</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><a class="xref" href="Lucene.Net.Store.BaseDirectoryWrapper.html#Lucene_Net_Store_BaseDirectoryWrapper_Dispose_System_Boolean_">BaseDirectoryWrapper.Dispose(Boolean)</a></div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_FailOn_Lucene_Net_Store_Failure_.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.FailOn(Lucene.Net.Store.Failure)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L1096">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_FailOn_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.FailOn*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_FailOn_Lucene_Net_Store_Failure_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.FailOn(Lucene.Net.Store.Failure)">FailOn(Failure)</h4> |
| <div class="markdown level1 summary"><p>Add a <a class="xref" href="Lucene.Net.Store.Failure.html">Failure</a> object to the list of objects to be evaluated |
| at every potential failure point.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual void FailOn(Failure fail)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><a class="xref" href="Lucene.Net.Store.Failure.html">Failure</a></td> |
| <td><span class="parametername">fail</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_FileExists_System_String_.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.FileExists(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L1135">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_FileExists_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.FileExists*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_FileExists_System_String_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.FileExists(System.String)">FileExists(String)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">[Obsolete("this method will be removed in 5.0")] |
| public override bool FileExists(string name)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">name</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Boolean</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><span class="xref">Lucene.Net.Store.FilterDirectory.FileExists(System.String)</span></div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_FileLength_System_String_.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.FileLength(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L1145">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_FileLength_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.FileLength*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_FileLength_System_String_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.FileLength(System.String)">FileLength(String)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public override long FileLength(string name)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">name</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Int64</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><span class="xref">Lucene.Net.Store.FilterDirectory.FileLength(System.String)</span></div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_GetLockID.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.GetLockID%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L1204">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_GetLockID_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.GetLockID*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_GetLockID" data-uid="Lucene.Net.Store.MockDirectoryWrapper.GetLockID">GetLockID()</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public override string GetLockID()</code></pre> |
| </div> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><span class="xref">Lucene.Net.Store.FilterDirectory.GetLockID()</span></div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_GetOpenDeletedFiles.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.GetOpenDeletedFiles%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L598">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_GetOpenDeletedFiles_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.GetOpenDeletedFiles*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_GetOpenDeletedFiles" data-uid="Lucene.Net.Store.MockDirectoryWrapper.GetOpenDeletedFiles">GetOpenDeletedFiles()</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual ICollection<string> GetOpenDeletedFiles()</code></pre> |
| </div> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Collections.Generic.ICollection</span><<span class="xref">System.String</span>></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_GetRecomputedActualSizeInBytes.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.GetRecomputedActualSizeInBytes%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L819">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_GetRecomputedActualSizeInBytes_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.GetRecomputedActualSizeInBytes*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_GetRecomputedActualSizeInBytes" data-uid="Lucene.Net.Store.MockDirectoryWrapper.GetRecomputedActualSizeInBytes">GetRecomputedActualSizeInBytes()</h4> |
| <div class="markdown level1 summary"><p>Like <a class="xref" href="Lucene.Net.Store.MockDirectoryWrapper.html#Lucene_Net_Store_MockDirectoryWrapper_GetRecomputedSizeInBytes">GetRecomputedSizeInBytes()</a>, but, uses actual file |
| lengths rather than buffer allocations (which are |
| quantized up to nearest |
| <span class="xref">Lucene.Net.Store.RAMOutputStream.BUFFER_SIZE</span> (now 1024) bytes.</p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public long GetRecomputedActualSizeInBytes()</code></pre> |
| </div> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Int64</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_GetRecomputedSizeInBytes.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.GetRecomputedSizeInBytes%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L795">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_GetRecomputedSizeInBytes_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.GetRecomputedSizeInBytes*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_GetRecomputedSizeInBytes" data-uid="Lucene.Net.Store.MockDirectoryWrapper.GetRecomputedSizeInBytes">GetRecomputedSizeInBytes()</h4> |
| <div class="markdown level1 summary"><p>Provided for testing purposes. Use <a class="xref" href="Lucene.Net.Store.MockDirectoryWrapper.html#Lucene_Net_Store_MockDirectoryWrapper_GetSizeInBytes">GetSizeInBytes()</a> instead. </p> |
| </div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public long GetRecomputedSizeInBytes()</code></pre> |
| </div> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Int64</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_GetSizeInBytes.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.GetSizeInBytes%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L263">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_GetSizeInBytes_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.GetSizeInBytes*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_GetSizeInBytes" data-uid="Lucene.Net.Store.MockDirectoryWrapper.GetSizeInBytes">GetSizeInBytes()</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public long GetSizeInBytes()</code></pre> |
| </div> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Int64</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_ListAll.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.ListAll%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L1126">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_ListAll_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.ListAll*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_ListAll" data-uid="Lucene.Net.Store.MockDirectoryWrapper.ListAll">ListAll()</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public override string[] ListAll()</code></pre> |
| </div> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.String</span>[]</td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><span class="xref">Lucene.Net.Store.FilterDirectory.ListAll()</span></div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_MakeLock_System_String_.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.MakeLock(System.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L1154">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_MakeLock_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.MakeLock*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_MakeLock_System_String_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.MakeLock(System.String)">MakeLock(String)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public override Lock MakeLock(string name)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">name</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">Lucene.Net.Store.Lock</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><span class="xref">Lucene.Net.Store.FilterDirectory.MakeLock(System.String)</span></div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_OpenInput_System_String_Lucene_Net_Store_IOContext_.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.OpenInput(System.String%2CLucene.Net.Store.IOContext)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L741">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_OpenInput_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.OpenInput*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_OpenInput_System_String_Lucene_Net_Store_IOContext_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.OpenInput(System.String,Lucene.Net.Store.IOContext)">OpenInput(String, IOContext)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public override IndexInput OpenInput(string name, IOContext context)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">name</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">Lucene.Net.Store.IOContext</span></td> |
| <td><span class="parametername">context</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="returns">Returns</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">Lucene.Net.Store.IndexInput</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><span class="xref">Lucene.Net.Store.FilterDirectory.OpenInput(System.String, Lucene.Net.Store.IOContext)</span></div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_RemoveIndexInput_Lucene_Net_Store_IndexInput_System_String_.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.RemoveIndexInput(Lucene.Net.Store.IndexInput%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L1080">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_RemoveIndexInput_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.RemoveIndexInput*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_RemoveIndexInput_Lucene_Net_Store_IndexInput_System_String_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.RemoveIndexInput(Lucene.Net.Store.IndexInput,System.String)">RemoveIndexInput(IndexInput, String)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual void RemoveIndexInput(IndexInput in, string name)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">Lucene.Net.Store.IndexInput</span></td> |
| <td><span class="parametername">in</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">name</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_RemoveIndexOutput_Lucene_Net_Store_IndexOutput_System_String_.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.RemoveIndexOutput(Lucene.Net.Store.IndexOutput%2CSystem.String)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L1071">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_RemoveIndexOutput_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.RemoveIndexOutput*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_RemoveIndexOutput_Lucene_Net_Store_IndexOutput_System_String_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.RemoveIndexOutput(Lucene.Net.Store.IndexOutput,System.String)">RemoveIndexOutput(IndexOutput, String)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual void RemoveIndexOutput(IndexOutput out, string name)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">Lucene.Net.Store.IndexOutput</span></td> |
| <td><span class="parametername">out</span></td> |
| <td></td> |
| </tr> |
| <tr> |
| <td><span class="xref">System.String</span></td> |
| <td><span class="parametername">name</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_ResetMaxUsedSizeInBytes.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.ResetMaxUsedSizeInBytes%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L425">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_ResetMaxUsedSizeInBytes_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.ResetMaxUsedSizeInBytes*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_ResetMaxUsedSizeInBytes" data-uid="Lucene.Net.Store.MockDirectoryWrapper.ResetMaxUsedSizeInBytes">ResetMaxUsedSizeInBytes()</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public virtual void ResetMaxUsedSizeInBytes()</code></pre> |
| </div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_SetLockFactory_Lucene_Net_Store_LockFactory_.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.SetLockFactory(Lucene.Net.Store.LockFactory)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L1172">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_SetLockFactory_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.SetLockFactory*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_SetLockFactory_Lucene_Net_Store_LockFactory_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.SetLockFactory(Lucene.Net.Store.LockFactory)">SetLockFactory(LockFactory)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public override void SetLockFactory(LockFactory lockFactory)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">Lucene.Net.Store.LockFactory</span></td> |
| <td><span class="parametername">lockFactory</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><span class="xref">Lucene.Net.Store.FilterDirectory.SetLockFactory(Lucene.Net.Store.LockFactory)</span></div> |
| <span class="small pull-right mobile-hide"> |
| <span class="divider">|</span> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper_Sync_System_Collections_Generic_ICollection_System_String__.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper.Sync(System.Collections.Generic.ICollection%7BSystem.String%7D)%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A">Improve this Doc</a> |
| </span> |
| <span class="small pull-right mobile-hide"> |
| <a href="https://github.com/NightOwl888/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L234">View Source</a> |
| </span> |
| <a id="Lucene_Net_Store_MockDirectoryWrapper_Sync_" data-uid="Lucene.Net.Store.MockDirectoryWrapper.Sync*"></a> |
| <h4 id="Lucene_Net_Store_MockDirectoryWrapper_Sync_System_Collections_Generic_ICollection_System_String__" data-uid="Lucene.Net.Store.MockDirectoryWrapper.Sync(System.Collections.Generic.ICollection{System.String})">Sync(ICollection<String>)</h4> |
| <div class="markdown level1 summary"></div> |
| <div class="markdown level1 conceptual"></div> |
| <h5 class="decalaration">Declaration</h5> |
| <div class="codewrapper"> |
| <pre><code class="lang-csharp hljs">public override void Sync(ICollection<string> names)</code></pre> |
| </div> |
| <h5 class="parameters">Parameters</h5> |
| <table class="table table-bordered table-striped table-condensed"> |
| <thead> |
| <tr> |
| <th>Type</th> |
| <th>Name</th> |
| <th>Description</th> |
| </tr> |
| </thead> |
| <tbody> |
| <tr> |
| <td><span class="xref">System.Collections.Generic.ICollection</span><<span class="xref">System.String</span>></td> |
| <td><span class="parametername">names</span></td> |
| <td></td> |
| </tr> |
| </tbody> |
| </table> |
| <h5 class="overrides">Overrides</h5> |
| <div><span class="xref">Lucene.Net.Store.FilterDirectory.Sync(System.Collections.Generic.ICollection<System.String>)</span></div> |
| <h3 id="implements">Implements</h3> |
| <div> |
| <span class="xref">System.IDisposable</span> |
| </div> |
| </article> |
| </div> |
| |
| <div class="hidden-sm col-md-2" role="complementary"> |
| <div class="sideaffix"> |
| <div class="contribution"> |
| <ul class="nav"> |
| <li> |
| <a href="https://github.com/apache/lucenenet/new/docs/4.8.0-beta00010/websites/apidocs/apiSpec/new?filename=Lucene_Net_Store_MockDirectoryWrapper.md&value=---%0Auid%3A%20Lucene.Net.Store.MockDirectoryWrapper%0Asummary%3A%20'*You%20can%20override%20summary%20for%20the%20API%20here%20using%20*MARKDOWN*%20syntax'%0A---%0A%0A*Please%20type%20below%20more%20information%20about%20this%20API%3A*%0A%0A" class="contribution-link">Improve this Doc</a> |
| </li> |
| <li> |
| <a href="https://github.com/apache/lucenenet/blob/release/Lucene.Net_4_8_0_beta00010/src/Lucene.Net.TestFramework/Store/MockDirectoryWrapper.cs/#L94" class="contribution-link">View Source</a> |
| </li> |
| </ul> |
| </div> |
| <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix"> |
| <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> --> |
| </nav> |
| </div> |
| </div> |
| </div> |
| </div> |
| |
| <footer> |
| <div class="grad-bottom"></div> |
| <div class="footer"> |
| <div class="container"> |
| <span class="pull-right"> |
| <a href="#top">Back to top</a> |
| </span> |
| Copyright © 2020 Licensed to the Apache Software Foundation (ASF) |
| |
| </div> |
| </div> |
| </footer> |
| </div> |
| |
| <script type="text/javascript" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.vendor.js"></script> |
| <script type="text/javascript" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/docfx.js"></script> |
| <script type="text/javascript" src="https://lucenenet.apache.org/docs/4.8.0-beta00009/styles/main.js"></script> |
| </body> |
| </html> |