Class WrappingAllocation

    • Constructor Detail

      • WrappingAllocation

        public WrappingAllocation​(byte[] array)
    • Method Detail

      • getArray

        public byte[] getArray()
      • isDirect

        public boolean isDirect()
        Specified by:
        isDirect in interface AllocationType
        Returns:
        true if this allocation type produces off-heap, or direct buffers. Otherwise false, if the buffers are on-heap.