C# Class Lucene.Net.Store.TestBufferedIndexInput.MockFSDirectory

Inheritance: Lucene.Net.Store.Directory
显示文件 Open project: apache/lucenenet

Public Methods

Method Description
CreateOutput ( string name, IOContext context ) : Lucene.Net.Store.IndexOutput
DeleteFile ( string name ) : void
Dispose ( ) : void
FileExists ( string name ) : bool
FileLength ( string name ) : long
ListAll ( ) : string[]
MockFSDirectory ( DirectoryInfo path, Random rand ) : Lucene.Net.Documents
OpenInput ( string name, IOContext context ) : IndexInput
Sync ( ICollection names ) : void
TweakBufferSizes ( ) : void

Method Details

CreateOutput() public method

public CreateOutput ( string name, IOContext context ) : Lucene.Net.Store.IndexOutput
name string
context IOContext
return Lucene.Net.Store.IndexOutput

DeleteFile() public method

public DeleteFile ( string name ) : void
name string
return void

Dispose() public method

public Dispose ( ) : void
return void

FileExists() public method

public FileExists ( string name ) : bool
name string
return bool

FileLength() public method

public FileLength ( string name ) : long
name string
return long

ListAll() public method

public ListAll ( ) : string[]
return string[]

MockFSDirectory() public method

public MockFSDirectory ( DirectoryInfo path, Random rand ) : Lucene.Net.Documents
path DirectoryInfo
rand System.Random
return Lucene.Net.Documents

OpenInput() public method

public OpenInput ( string name, IOContext context ) : IndexInput
name string
context IOContext
return IndexInput

Sync() public method

public Sync ( ICollection names ) : void
names ICollection
return void

TweakBufferSizes() public method

public TweakBufferSizes ( ) : void
return void