SortType - the type of sortable valueRecordType - the type of record to be placed into the bufferpublic static interface BufferManager.SortingBufferMaker<SortType,RecordType>
BufferManager.SortingBuffer.| Modifier and Type | Method and Description |
|---|---|
BufferManager.SortingBufferMaker<SortType,RecordType> |
keepSize(boolean keepBufferSize)
Specify whether to keep track of the buffer size when adding value.
|
BufferManager.SortingBuffer<SortType,RecordType> |
make()
Create the
BufferManager.SortingBuffer instance. |
BufferManager.SortingBufferMaker<SortType,RecordType> |
useHeap(boolean useHeap)
Specify whether to store the bufer on the heap.
|
BufferManager.SortingBufferMaker<SortType,RecordType> useHeap(boolean useHeap)
useHeap - true if the buffer's contents are to be stored on the heap, or false if off-heap storage should be used.BufferManager.SortingBufferMaker<SortType,RecordType> keepSize(boolean keepBufferSize)
keepBufferSize - true if the buffer is to efficiently track its size, or false if it can skip this and, only if
BufferManager.Buffer.size() is called, compute the size in a brute force manner.BufferManager.SortingBuffer<SortType,RecordType> make()
BufferManager.SortingBuffer instance.Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.