public static final class Sort.BufferSize extends Object
automatic(), 
megabytes(long)| Modifier and Type | Method and Description | 
|---|---|
| static Sort.BufferSize | automatic()Approximately half of the currently available free heap, but no less
 than  Sort.ABSOLUTE_MIN_SORT_BUFFER_SIZE. | 
| static Sort.BufferSize | megabytes(long mb)Creates a  Sort.BufferSizein MB. | 
public static Sort.BufferSize megabytes(long mb)
Sort.BufferSize in MB. The given 
 values must be $gt; 0 and < 2048.public static Sort.BufferSize automatic()
Sort.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.Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.