C# 클래스 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.
상속: Lucene.Net.Store.RAMOutputStream
파일 보기 프로젝트 열기: synhershko/lucene.net

공개 메소드들

메소드 설명
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

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

메소드 상세

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Flush() 공개 메소드

public Flush ( ) : void
리턴 void

MockRAMOutputStream() 공개 메소드

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
리턴 System

WriteByte() 공개 메소드

public WriteByte ( byte b ) : void
b byte
리턴 void

WriteBytes() 공개 메소드

public WriteBytes ( byte b, int offset, int len ) : void
b byte
offset int
len int
리턴 void