org.modeshape.jcr.query

## Interface BufferManager.QueueBufferMaker<T>

- Type Parameters:
    `T` - the type of value to be used in the buffer
  All Known Implementing Classes:
    BufferManager.MakeOrderedBuffer
  Enclosing class:
    BufferManager

      public static interface BufferManager.QueueBufferMaker<T>

  An object use to create a new `BufferManager.DistinctBuffer`.
  See Also:
    `BufferManager.createDistinctBuffer(Serializer)`

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `BufferManager.QueueBuffer<T>` | `make()` Create the `BufferManager.DistinctBuffer` instance.
    `BufferManager.QueueBufferMaker<T>` | `useHeap(boolean useHeap)` Specify whether to store the bufer on the heap.

- - ### Method Detail

    - #### useHeap

          BufferManager.QueueBufferMaker<T> useHeap(boolean useHeap)

      Specify whether to store the bufer on the heap.
      Parameters:
        `useHeap` - true if the buffer's contents are to be stored on the heap, or false if off-heap storage should be used.
      Returns:
        this maker instance; never null

    - #### make

          BufferManager.QueueBuffer<T> make()

      Create the `BufferManager.DistinctBuffer` instance.
      Returns:
        the distinct buffer; never null

Copyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.