private void freeMergedBuffer() { if (mData != null) { byte[] data = mData; mData = null; if (mConfig != null) { mConfig.freeFullBBuffer(data); } } } }
/** * This method should be called along with (or instead of) normal * close. After calling this method, no further reads should be tried. * Method will try to recycle read buffers (if any). */ public final void freeBuffers() { /* 11-Apr-2005, TSa: Ok, we can release the buffer now, to be * recycled by the next stream reader instantiated by this * thread (if any). */ if (mRecycleBuffer) { byte[] buf = mByteBuffer; if (buf != null) { mByteBuffer = null; if (mConfig != null) { mConfig.freeFullBBuffer(buf); } } } }
private void freeMergedBuffer() { if (mData != null) { byte[] data = mData; mData = null; if (mConfig != null) { mConfig.freeFullBBuffer(data); } } } }
private void freeMergedBuffer() { if (mData != null) { byte[] data = mData; mData = null; if (mConfig != null) { mConfig.freeFullBBuffer(data); } } } }
private void freeMergedBuffer() { if (mData != null) { byte[] data = mData; mData = null; if (mConfig != null) { mConfig.freeFullBBuffer(data); } } } }
private void freeMergedBuffer() { if (mData != null) { byte[] data = mData; mData = null; if (mConfig != null) { mConfig.freeFullBBuffer(data); } } } }
private void freeMergedBuffer() { if (mData != null) { byte[] data = mData; mData = null; if (mConfig != null) { mConfig.freeFullBBuffer(data); } } } }
private void freeMergedBuffer() { if (mData != null) { byte[] data = mData; mData = null; if (mConfig != null) { mConfig.freeFullBBuffer(data); } } } }
private void freeMergedBuffer() { if (mData != null) { byte[] data = mData; mData = null; if (mConfig != null) { mConfig.freeFullBBuffer(data); } } } }
/** * This method should be called along with (or instead of) normal * close. After calling this method, no further reads should be tried. * Method will try to recycle read buffers (if any). */ public final void freeBuffers() { //System.err.println("DEBUG: BaseReader, freeBuffers"); /* 11-Apr-2005, TSa: Ok, we can release the buffer now, to be * recycled by the next stream reader instantiated by this * thread (if any). */ byte[] buf = mBuffer; //System.err.println("DEBUG: buf: "+buf+", cfg: "+mConfig); if (buf != null) { mBuffer = null; if (mConfig != null) { mConfig.freeFullBBuffer(buf); } } }
/** * This method should be called along with (or instead of) normal * close. After calling this method, no further reads should be tried. * Method will try to recycle read buffers (if any). */ public final void freeBuffers() { /* 11-Apr-2005, TSa: Ok, we can release the buffer now, to be * recycled by the next stream reader instantiated by this * thread (if any). */ if (mRecycleBuffer) { byte[] buf = mByteBuffer; if (buf != null) { mByteBuffer = null; if (mConfig != null) { mConfig.freeFullBBuffer(buf); } } } }
/** * This method should be called along with (or instead of) normal * close. After calling this method, no further reads should be tried. * Method will try to recycle read buffers (if any). */ public final void freeBuffers() { /* 11-Apr-2005, TSa: Ok, we can release the buffer now, to be * recycled by the next stream reader instantiated by this * thread (if any). */ if (mRecycleBuffer) { byte[] buf = mByteBuffer; if (buf != null) { mByteBuffer = null; if (mConfig != null) { mConfig.freeFullBBuffer(buf); } } } }
/** * This method should be called along with (or instead of) normal * close. After calling this method, no further reads should be tried. * Method will try to recycle read buffers (if any). */ public final void freeBuffers() { //System.err.println("DEBUG: BaseReader, freeBuffers"); /* 11-Apr-2005, TSa: Ok, we can release the buffer now, to be * recycled by the next stream reader instantiated by this * thread (if any). */ byte[] buf = mBuffer; //System.err.println("DEBUG: buf: "+buf+", cfg: "+mConfig); if (buf != null) { mBuffer = null; if (mConfig != null) { mConfig.freeFullBBuffer(buf); } } }
/** * This method should be called along with (or instead of) normal * close. After calling this method, no further reads should be tried. * Method will try to recycle read buffers (if any). */ public final void freeBuffers() { /* 11-Apr-2005, TSa: Ok, we can release the buffer now, to be * recycled by the next stream reader instantiated by this * thread (if any). */ if (mRecycleBuffer) { byte[] buf = mByteBuffer; if (buf != null) { mByteBuffer = null; if (mConfig != null) { mConfig.freeFullBBuffer(buf); } } } }
/** * This method should be called along with (or instead of) normal * close. After calling this method, no further reads should be tried. * Method will try to recycle read buffers (if any). */ public final void freeBuffers() { //System.err.println("DEBUG: BaseReader, freeBuffers"); /* 11-Apr-2005, TSa: Ok, we can release the buffer now, to be * recycled by the next stream reader instantiated by this * thread (if any). */ byte[] buf = mBuffer; //System.err.println("DEBUG: buf: "+buf+", cfg: "+mConfig); if (buf != null) { mBuffer = null; if (mConfig != null) { mConfig.freeFullBBuffer(buf); } } }
/** * This method should be called along with (or instead of) normal * close. After calling this method, no further reads should be tried. * Method will try to recycle read buffers (if any). */ public final void freeBuffers() { /* 11-Apr-2005, TSa: Ok, we can release the buffer now, to be * recycled by the next stream reader instantiated by this * thread (if any). */ if (mRecycleBuffer) { byte[] buf = mByteBuffer; if (buf != null) { mByteBuffer = null; if (mConfig != null) { mConfig.freeFullBBuffer(buf); } } } }