C# Class Lucene.Net.Facet.SlowRAMDirectory

Test utility - slow directory
Inheritance: Lucene.Net.Store.RAMDirectory
Datei anzeigen Open project: apache/lucenenet Class Usage Examples

Public Methods

Method Description
CreateOutput ( string name, IOContext context ) : IndexOutput
OpenInput ( string name, IOContext context ) : IndexInput
SlowRAMDirectory ( int sleepMillis, Random random ) : System

Private Methods

Method Description
doSleep ( Random random, int length ) : void
forkRandom ( ) : Random

Make a private random.

Method Details

CreateOutput() public method

public CreateOutput ( string name, IOContext context ) : IndexOutput
name string
context IOContext
return IndexOutput

OpenInput() public method

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

SlowRAMDirectory() public method

public SlowRAMDirectory ( int sleepMillis, Random random ) : System
sleepMillis int
random System.Random
return System