C# Класс Lucene.Net.Util.ThrottledIndexOutput

Intentionally slow IndexOutput for testing.
Наследование: Lucene.Net.Store.IndexOutput
Показать файл Открыть проект

Открытые методы

Метод Описание
CopyBytes ( DataInput input, long numBytes ) : void
Dispose ( ) : void
Flush ( ) : void
MBitsToBytes ( int mbits ) : int
NewFromDelegate ( IndexOutput output ) : ThrottledIndexOutput
Seek ( long pos ) : void
ThrottledIndexOutput ( int bytesPerSecond, long delayInMillis, IndexOutput @delegate ) : System
ThrottledIndexOutput ( int bytesPerSecond, long delays, int minBytesWritten, IndexOutput @delegate ) : System
ThrottledIndexOutput ( int bytesPerSecond, long flushDelayMillis, long closeDelayMillis, long seekDelayMillis, long minBytesWritten, IndexOutput @delegate ) : System
WriteByte ( byte b ) : void
WriteBytes ( byte b, int offset, int length ) : void

Защищенные методы

Метод Описание
GetDelay ( bool closing ) : long

Приватные методы

Метод Описание
Sleep ( long ms ) : void

Описание методов

CopyBytes() публичный Метод

public CopyBytes ( DataInput input, long numBytes ) : void
input DataInput
numBytes long
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Flush() публичный Метод

public Flush ( ) : void
Результат void

GetDelay() защищенный Метод

protected GetDelay ( bool closing ) : long
closing bool
Результат long

MBitsToBytes() публичный статический Метод

public static MBitsToBytes ( int mbits ) : int
mbits int
Результат int

NewFromDelegate() публичный Метод

public NewFromDelegate ( IndexOutput output ) : ThrottledIndexOutput
output IndexOutput
Результат ThrottledIndexOutput

Seek() публичный Метод

public Seek ( long pos ) : void
pos long
Результат void

ThrottledIndexOutput() публичный Метод

public ThrottledIndexOutput ( int bytesPerSecond, long delayInMillis, IndexOutput @delegate ) : System
bytesPerSecond int
delayInMillis long
@delegate IndexOutput
Результат System

ThrottledIndexOutput() публичный Метод

public ThrottledIndexOutput ( int bytesPerSecond, long delays, int minBytesWritten, IndexOutput @delegate ) : System
bytesPerSecond int
delays long
minBytesWritten int
@delegate IndexOutput
Результат System

ThrottledIndexOutput() публичный Метод

public ThrottledIndexOutput ( int bytesPerSecond, long flushDelayMillis, long closeDelayMillis, long seekDelayMillis, long minBytesWritten, IndexOutput @delegate ) : System
bytesPerSecond int
flushDelayMillis long
closeDelayMillis long
seekDelayMillis long
minBytesWritten long
@delegate IndexOutput
Результат System

WriteByte() публичный Метод

public WriteByte ( byte b ) : void
b byte
Результат void

WriteBytes() публичный Метод

public WriteBytes ( byte b, int offset, int length ) : void
b byte
offset int
length int
Результат void