C# Class Lucene.Net.Facet.SlowRAMDirectory

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

Méthodes publiques

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

Private Methods

Méthode Description
doSleep ( Random random, int length ) : void
forkRandom ( ) : Random

Make a private random.

Method Details

CreateOutput() public méthode

public CreateOutput ( string name, IOContext context ) : IndexOutput
name string
context IOContext
Résultat IndexOutput

OpenInput() public méthode

public OpenInput ( string name, IOContext context ) : IndexInput
name string
context IOContext
Résultat IndexInput

SlowRAMDirectory() public méthode

public SlowRAMDirectory ( int sleepMillis, Random random ) : System
sleepMillis int
random System.Random
Résultat System