Class NioDirectBufferPool


  • public class NioDirectBufferPool
    extends java.lang.Object
    Direct buffer pool.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.nio.ByteBuffer acquire​(int length)  
      static void release​(java.nio.ByteBuffer buffer)  
      • Methods inherited from class java.lang.Object

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

      • NioDirectBufferPool

        public NioDirectBufferPool()
    • Method Detail

      • acquire

        public static java.nio.ByteBuffer acquire​(int length)
        Parameters:
        length -
        Returns:
        buffer
      • release

        public static void release​(java.nio.ByteBuffer buffer)
        Parameters:
        buffer -