Class OfflineSorter.BufferSize
A bit more descriptive unit for constructors.
Inheritance
System.Object
    OfflineSorter.BufferSize
  Inherited Members
      System.Object.Equals(System.Object)
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetHashCode()
    
    
      System.Object.GetType()
    
    
      System.Object.MemberwiseClone()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
    
      System.Object.ToString()
    
  Namespace: Lucene.Net.Util
Assembly: Lucene.Net.dll
Syntax
public sealed class BufferSizeMethods
| Improve this Doc View SourceAutomatic()
Approximately half of the currently available free heap, but no less than ABSOLUTE_MIN_SORT_BUFFER_SIZE. However if current heap allocation is insufficient or if there is a large portion of unallocated heap-space available for sorting consult with max allowed heap size.
Declaration
public static OfflineSorter.BufferSize Automatic()Returns
| Type | Description | 
|---|---|
| OfflineSorter.BufferSize | 
Megabytes(Int64)
Creates a OfflineSorter.BufferSize in MB. The given values must be > 0 and < 2048.
Declaration
public static OfflineSorter.BufferSize Megabytes(long mb)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int64 | mb | 
Returns
| Type | Description | 
|---|---|
| OfflineSorter.BufferSize |