185186187188189190191192193194195
ExpiringStack stack = bufferStacks[getBufferStackIndex(bufferStacks, buf.buf().capacity())]; synchronized (stack) { // push back stack.push(buf); } } public ByteBuffer wrap(java.nio.ByteBuffer nioBuffer) { ensureNotDisposed();
198199200201202203204205206207208
ExpiringStack stack = bufferStacks[getBufferStackIndex( bufferStacks, buf.buf().capacity() )]; synchronized( stack ) { // push back stack.push( buf ); } } public ByteBuffer wrap( java.nio.ByteBuffer nioBuffer ) {
210211212213214215216217218219220
ExpiringStack stack = bufferStacks[ getBufferStackIndex( bufferStacks, buf.buf().capacity() ) ]; synchronized( stack ) { // push back stack.push( buf ); } } public ByteBuffer wrap( java.nio.ByteBuffer nioBuffer ) {
225226227228229230231232233234235
355356357358359360361362363364365
ExpiringStack stack = bufferStacks[getBufferStackIndex(bufferStacks, buf.buf().capacity())]; synchronized (stack) { // push back stack.push(buf); } } /** *