C# Class Lucene.Net.Store.MockRAMDirectory

Inheritance: RAMDirectory
ファイルを表示 Open project: synhershko/lucene.net Class Usage Examples

Public Methods

Method 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

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
DeleteFile ( String name, bool forced ) : void
Init ( ) : void
MaybeThrowDeterministicException ( ) : void
MaybeThrowIOException ( ) : void

Method Details

ClearCrash() public method

public ClearCrash ( ) : void
return void

Crash() public method

public Crash ( ) : void
return void

CreateOutput() public method

public CreateOutput ( String name ) : Lucene.Net.Store.IndexOutput
name String
return Lucene.Net.Store.IndexOutput

DeleteFile() public method

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

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

FailOn() public method

public FailOn ( Failure fail ) : void
fail Failure
return void

GetMaxSizeInBytes() public method

public GetMaxSizeInBytes ( ) : long
return long

GetMaxUsedSizeInBytes() public method

public GetMaxUsedSizeInBytes ( ) : long
return long

GetNoDeleteOpenFile() public method

public GetNoDeleteOpenFile ( ) : bool
return bool

GetOpenDeletedFiles() public method

public GetOpenDeletedFiles ( ) : ISet
return ISet

GetRandomIOExceptionRate() public method

public GetRandomIOExceptionRate ( ) : double
return double

GetRecomputedActualSizeInBytes() public method

public GetRecomputedActualSizeInBytes ( ) : long
return long

GetRecomputedSizeInBytes() public method

public GetRecomputedSizeInBytes ( ) : long
return long

MockRAMDirectory() public method

public MockRAMDirectory ( ) : System
return System

MockRAMDirectory() public method

public MockRAMDirectory ( Lucene.Net.Store.Directory dir ) : System
dir Lucene.Net.Store.Directory
return System

OpenInput() public method

public OpenInput ( String name ) : IndexInput
name String
return IndexInput

ResetMaxUsedSizeInBytes() public method

public ResetMaxUsedSizeInBytes ( ) : void
return void

SetMaxSizeInBytes() public method

public SetMaxSizeInBytes ( long maxSize ) : void
maxSize long
return void

SetNoDeleteOpenFile() public method

public SetNoDeleteOpenFile ( bool value ) : void
value bool
return void

SetPreventDoubleWrite() public method

public SetPreventDoubleWrite ( bool value ) : void
value bool
return void

SetRandomIOExceptionRate() public method

public SetRandomIOExceptionRate ( double rate, long seed ) : void
rate double
seed long
return void

Sync() public method

public Sync ( String name ) : void
name String
return void