UnpooledByteBufAllocator.this

Create a new instance

@param preferDirect {@code true} if {@link #buffer(int)} should try to allocate a direct buffer rather than a heap buffer @param disableLeakDetector {@code true} if the leak-detection should be disabled completely for this allocator. This can be useful if the user just want to depend on the GC to handle direct buffers when not explicit released.

  1. this(bool preferDirect)
  2. this(bool preferDirect, bool disableLeakDetector)
    class UnpooledByteBufAllocator
  3. this(bool preferDirect, bool disableLeakDetector, bool tryNoCleaner)

Meta