Class FlushInfo
A FlushInfo provides information required for a FLUSH context. It is used as part of an IOContext in case of FLUSH context.
Inheritance
System.Object
    FlushInfo
  Inherited Members
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: Lucene.Net.Store
Assembly: Lucene.Net.dll
Syntax
public class FlushInfoConstructors
| Improve this Doc View SourceFlushInfo(Int32, Int64)
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 | 
|---|---|---|
| System.Int32 | numDocs | |
| System.Int64 | estimatedSegmentSize | 
Properties
| Improve this Doc View SourceEstimatedSegmentSize
Declaration
public long EstimatedSegmentSize { get; }Property Value
| Type | Description | 
|---|---|
| System.Int64 | 
NumDocs
Declaration
public int NumDocs { get; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Methods
| Improve this Doc View SourceEquals(Object)
Declaration
public override bool Equals(object obj)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | obj | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Overrides
System.Object.Equals(System.Object)
  
    |
    Improve this Doc
  
  
    View Source
  
  
  GetHashCode()
Declaration
public override int GetHashCode()Returns
| Type | Description | 
|---|---|
| System.Int32 | 
Overrides
System.Object.GetHashCode()
  
    |
    Improve this Doc
  
  
    View Source
  
  
  ToString()
Declaration
public override string ToString()Returns
| Type | Description | 
|---|---|
| System.String | 
Overrides
System.Object.ToString()