Class FlushInfo
A FlushInfo provides information required for a FLUSH context. It is used as part of an IOContext in case of FLUSH context.
Inherited Members
Namespace: Lucene.Net.Store
Assembly: Lucene.Net.dll
Syntax
public class FlushInfo
Constructors
FlushInfo(int, long)
Creates a new FlushInfo instance from
the values required for a FLUSH IOContext context.
These values are only estimates and are not the actual values.
Declaration
public FlushInfo(int numDocs, long estimatedSegmentSize)
Parameters
| Type | Name | Description |
|---|---|---|
| int | numDocs | |
| long | estimatedSegmentSize |
Properties
EstimatedSegmentSize
A FlushInfo provides information required for a FLUSH context. It is used as part of an IOContext in case of FLUSH context.
Declaration
public long EstimatedSegmentSize { get; }
Property Value
| Type | Description |
|---|---|
| long |
NumDocs
A FlushInfo provides information required for a FLUSH context. It is used as part of an IOContext in case of FLUSH context.
Declaration
public int NumDocs { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
GetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for the current object. |
Overrides
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |