C# Class Lucene.Net.Store.MockRAMDirectory

Inheritance: RAMDirectory
Afficher le fichier Open project: synhershko/lucene.net Class Usage Examples

Méthodes publiques

Méthode Description
ClearCrash ( ) : void
Crash ( ) : void
CreateOutput ( String name ) : Lucene.Net.Store.IndexOutput
DeleteFile ( String name ) : void
FailOn ( Failure fail ) : void
GetMaxSizeInBytes ( ) : long
GetMaxUsedSizeInBytes ( ) : long
GetNoDeleteOpenFile ( ) : bool
GetOpenDeletedFiles ( ) : ISet
GetRandomIOExceptionRate ( ) : double
GetRecomputedActualSizeInBytes ( ) : long
GetRecomputedSizeInBytes ( ) : long
MockRAMDirectory ( ) : System
MockRAMDirectory ( Lucene.Net.Store.Directory dir ) : System
OpenInput ( String name ) : IndexInput
ResetMaxUsedSizeInBytes ( ) : void
SetMaxSizeInBytes ( long maxSize ) : void
SetNoDeleteOpenFile ( bool value ) : void
SetPreventDoubleWrite ( bool value ) : void
SetRandomIOExceptionRate ( double rate, long seed ) : void
Sync ( String name ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
DeleteFile ( String name, bool forced ) : void
Init ( ) : void
MaybeThrowDeterministicException ( ) : void
MaybeThrowIOException ( ) : void

Method Details

ClearCrash() public méthode

public ClearCrash ( ) : void
Résultat void

Crash() public méthode

public Crash ( ) : void
Résultat void

CreateOutput() public méthode

public CreateOutput ( String name ) : Lucene.Net.Store.IndexOutput
name String
Résultat Lucene.Net.Store.IndexOutput

DeleteFile() public méthode

public DeleteFile ( String name ) : void
name String
Résultat void

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

FailOn() public méthode

public FailOn ( Failure fail ) : void
fail Failure
Résultat void

GetMaxSizeInBytes() public méthode

public GetMaxSizeInBytes ( ) : long
Résultat long

GetMaxUsedSizeInBytes() public méthode

public GetMaxUsedSizeInBytes ( ) : long
Résultat long

GetNoDeleteOpenFile() public méthode

public GetNoDeleteOpenFile ( ) : bool
Résultat bool

GetOpenDeletedFiles() public méthode

public GetOpenDeletedFiles ( ) : ISet
Résultat ISet

GetRandomIOExceptionRate() public méthode

public GetRandomIOExceptionRate ( ) : double
Résultat double

GetRecomputedActualSizeInBytes() public méthode

public GetRecomputedActualSizeInBytes ( ) : long
Résultat long

GetRecomputedSizeInBytes() public méthode

public GetRecomputedSizeInBytes ( ) : long
Résultat long

MockRAMDirectory() public méthode

public MockRAMDirectory ( ) : System
Résultat System

MockRAMDirectory() public méthode

public MockRAMDirectory ( Lucene.Net.Store.Directory dir ) : System
dir Lucene.Net.Store.Directory
Résultat System

OpenInput() public méthode

public OpenInput ( String name ) : IndexInput
name String
Résultat IndexInput

ResetMaxUsedSizeInBytes() public méthode

public ResetMaxUsedSizeInBytes ( ) : void
Résultat void

SetMaxSizeInBytes() public méthode

public SetMaxSizeInBytes ( long maxSize ) : void
maxSize long
Résultat void

SetNoDeleteOpenFile() public méthode

public SetNoDeleteOpenFile ( bool value ) : void
value bool
Résultat void

SetPreventDoubleWrite() public méthode

public SetPreventDoubleWrite ( bool value ) : void
value bool
Résultat void

SetRandomIOExceptionRate() public méthode

public SetRandomIOExceptionRate ( double rate, long seed ) : void
rate double
seed long
Résultat void

Sync() public méthode

public Sync ( String name ) : void
name String
Résultat void