Class Allocator

java.lang.Object
com.mapr.client.impl.memory.Allocator

public class Allocator extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static io.netty.buffer.ByteBuf
    buffer(int initialCapacity)
     
    static io.netty.buffer.ByteBuf
    buffer(io.netty.buffer.ByteBufAllocator alloc)
     
    static io.netty.buffer.ByteBuf
    buffer(io.netty.buffer.ByteBufAllocator alloc, int initialCapacity)
     
    static io.netty.buffer.ByteBuf
    directBuffer(int initialCapacity)
     
    static io.netty.buffer.ByteBuf
    order(io.netty.buffer.ByteBuf buffer)
     
    static io.netty.buffer.ByteBuf
    wrappedBuffer(byte[] array)
     
    static io.netty.buffer.ByteBuf
    wrappedBuffer(io.netty.buffer.ByteBuf... buffers)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Allocator

      public Allocator()
  • Method Details

    • order

      public static io.netty.buffer.ByteBuf order(io.netty.buffer.ByteBuf buffer)
    • buffer

      public static io.netty.buffer.ByteBuf buffer(int initialCapacity)
    • directBuffer

      public static io.netty.buffer.ByteBuf directBuffer(int initialCapacity)
    • wrappedBuffer

      public static io.netty.buffer.ByteBuf wrappedBuffer(byte[] array)
    • wrappedBuffer

      public static io.netty.buffer.ByteBuf wrappedBuffer(io.netty.buffer.ByteBuf... buffers)
    • buffer

      public static io.netty.buffer.ByteBuf buffer(io.netty.buffer.ByteBufAllocator alloc)
    • buffer

      public static io.netty.buffer.ByteBuf buffer(io.netty.buffer.ByteBufAllocator alloc, int initialCapacity)