ByteBuffer function ( ) { ByteBuffer loc0 = bufferQueue . poll ( ) ; if ( loc0 == null ) { loc0 = ByteBuffer . allocateDirect ( DIRECT_BUFFER_SIZE ) ; } else { currentQueueSize . decrementAndGet ( ) ; } return loc0 ; }
get a direct buffer from this buffer manager . concode_field_sep int DIRECT_BUFFER_SIZE concode_elem_sep ConcurrentLinkedQueue<ByteBuffer> bufferQueue concode_elem_sep int maxQueueSize concode_elem_sep AtomicInteger currentQueueSize concode_field_sep void setMaxQueueSize concode_elem_sep boolean giveBack concode_elem_sep int getMaxQueueSize