public void release ( ) throws IOException { for ( BufferPool . Buffer b : buffers ) { PooledBuffers . release ( b ) ; } buffers . clear ( ) ; count = 0 ; }
This really release buffers back to the pool . MUST be called to gain the benefit of pooling .