C# Class Lucene.Net.Store.MockRAMOutputStream

Used by MockRAMDirectory to create an output stream that will throw an IOException on fake disk full, track max disk space actually used, and maybe throw random IOExceptions.
Inheritance: Lucene.Net.Store.RAMOutputStream
Afficher le fichier Open project: synhershko/lucene.net

Méthodes publiques

Méthode Description
Flush ( ) : void
MockRAMOutputStream ( MockRAMDirectory dir, Lucene.Net.Store.RAMFile f, System name ) : System

Construct an empty output buffer.

WriteByte ( byte b ) : void
WriteBytes ( byte b, int offset, int len ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Method Details

Dispose() protected méthode

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

Flush() public méthode

public Flush ( ) : void
Résultat void

MockRAMOutputStream() public méthode

Construct an empty output buffer.
public MockRAMOutputStream ( MockRAMDirectory dir, Lucene.Net.Store.RAMFile f, System name ) : System
dir MockRAMDirectory
f Lucene.Net.Store.RAMFile
name System
Résultat System

WriteByte() public méthode

public WriteByte ( byte b ) : void
b byte
Résultat void

WriteBytes() public méthode

public WriteBytes ( byte b, int offset, int len ) : void
b byte
offset int
len int
Résultat void