Class MockIndexOutputWrapper
Used by MockDirectoryWrapper to create an output stream that
will throw an on fake disk full, track max
disk space actually used, and maybe throw random
s.
Inheritance
System.Object
MockIndexOutputWrapper
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class MockIndexOutputWrapper : IndexOutput
Constructors
|
Improve this Doc
View Source
MockIndexOutputWrapper(MockDirectoryWrapper, IndexOutput, String)
Construct an empty output buffer.
Declaration
public MockIndexOutputWrapper(MockDirectoryWrapper dir, IndexOutput delegate, string name)
Parameters
Properties
|
Improve this Doc
View Source
Checksum
Declaration
public override long Checksum { get; }
Property Value
| Type |
Description |
| System.Int64 |
|
|
Improve this Doc
View Source
Length
Declaration
public override long Length { get; set; }
Property Value
| Type |
Description |
| System.Int64 |
|
Methods
|
Improve this Doc
View Source
Declaration
public override void CopyBytes(DataInput input, long numBytes)
Parameters
| Type |
Name |
Description |
| DataInput |
input |
|
| System.Int64 |
numBytes |
|
|
Improve this Doc
View Source
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type |
Name |
Description |
| System.Boolean |
disposing |
|
|
Improve this Doc
View Source
Flush()
Declaration
public override void Flush()
|
Improve this Doc
View Source
GetFilePointer()
Declaration
public override long GetFilePointer()
Returns
| Type |
Description |
| System.Int64 |
|
|
Improve this Doc
View Source
Seek(Int64)
Declaration
public override void Seek(long pos)
Parameters
| Type |
Name |
Description |
| System.Int64 |
pos |
|
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
| Type |
Description |
| System.String |
|
|
Improve this Doc
View Source
WriteByte(Byte)
Declaration
public override void WriteByte(byte b)
Parameters
| Type |
Name |
Description |
| System.Byte |
b |
|
|
Improve this Doc
View Source
WriteBytes(Byte[], Int32, Int32)
Declaration
public override void WriteBytes(byte[] b, int offset, int len)
Parameters
| Type |
Name |
Description |
| System.Byte[] |
b |
|
| System.Int32 |
offset |
|
| System.Int32 |
len |
|