/** * Handles the end of input stream. */ private void endInput(final FileContentInputStream instr) { final FileContentThreadData fileContentThreadData = threadLocal.get(); if (fileContentThreadData != null) { fileContentThreadData.removeInstr(instr); } if (fileContentThreadData == null || !fileContentThreadData.hasStreams()) { // remove even when no value is set to remove key threadLocal.remove(); } streamClosed(); }
/** * Handles the end of random access. */ private void endRandomAccess(final RandomAccessContent rac) { final FileContentThreadData fileContentThreadData = threadLocal.get(); if (fileContentThreadData != null) { fileContentThreadData.removeRastr(rac); } if (fileContentThreadData == null || !fileContentThreadData.hasStreams()) { // remove even when no value is set to remove key threadLocal.remove(); } streamClosed(); }
/** * Handles the end of input stream. */ private void endInput(final FileContentInputStream instr) { final FileContentThreadData fileContentThreadData = threadLocal.get(); if (fileContentThreadData != null) { fileContentThreadData.removeInstr(instr); } if (fileContentThreadData == null || !fileContentThreadData.hasStreams()) { // remove even when no value is set to remove key threadLocal.remove(); } streamClosed(); }
/** * Handles the end of random access. */ private void endRandomAccess(final RandomAccessContent rac) { final FileContentThreadData fileContentThreadData = threadLocal.get(); if (fileContentThreadData != null) { fileContentThreadData.removeRastr(rac); } if (fileContentThreadData == null || !fileContentThreadData.hasStreams()) { // remove even when no value is set to remove key threadLocal.remove(); } streamClosed(); }
/** * Handles the end of input stream. */ private void endInput(final FileContentInputStream instr) { final FileContentThreadData fileContentThreadData = threadLocal.get(); if (fileContentThreadData != null) { fileContentThreadData.removeInstr(instr); } if (fileContentThreadData == null || !fileContentThreadData.hasStreams()) { // remove even when no value is set to remove key threadLocal.remove(); } streamClosed(); }
/** * Handles the end of random access. */ private void endRandomAccess(final RandomAccessContent rac) { final FileContentThreadData fileContentThreadData = threadLocal.get(); if (fileContentThreadData != null) { fileContentThreadData.removeRastr(rac); } if (fileContentThreadData == null || !fileContentThreadData.hasStreams()) { // remove even when no value is set to remove key threadLocal.remove(); } streamClosed(); }
/** * Handles the end of input stream. */ private void endInput(final FileContentInputStream instr) { FileContentThreadData streams = threadData.get(); if (streams != null) { streams.removeInstr(instr); } if ((streams == null) || !streams.hasStreams()) { // remove even when no value is set to remove key threadData.remove(); } streamClosed(); }
/** * Handles the end of random access. */ private void endRandomAccess(final RandomAccessContent rac) { FileContentThreadData streams = threadData.get(); if (streams != null) { streams.removeRastr(rac); } if ((streams == null) || !streams.hasStreams()) { // remove even when no value is set to remove key threadData.remove(); } streamClosed(); }
/** * Handles the end of output stream. */ private void endOutput() throws Exception { final FileContentThreadData fileContentThreadData = threadLocal.get(); if (fileContentThreadData != null) { fileContentThreadData.setOutstr(null); } if (fileContentThreadData == null || !fileContentThreadData.hasStreams()) { // remove even when no value is set to remove key threadLocal.remove(); } streamClosed(); fileObject.endOutput(); }
/** * Handles the end of output stream. */ private void endOutput() throws Exception { final FileContentThreadData fileContentThreadData = threadLocal.get(); if (fileContentThreadData != null) { fileContentThreadData.setOutstr(null); } if (fileContentThreadData == null || !fileContentThreadData.hasStreams()) { // remove even when no value is set to remove key threadLocal.remove(); } streamClosed(); fileObject.endOutput(); }
/** * Handles the end of output stream. */ private void endOutput() throws Exception { final FileContentThreadData fileContentThreadData = threadLocal.get(); if (fileContentThreadData != null) { fileContentThreadData.setOutstr(null); } if (fileContentThreadData == null || !fileContentThreadData.hasStreams()) { // remove even when no value is set to remove key threadLocal.remove(); } streamClosed(); fileObject.endOutput(); }
/** * Handles the end of output stream. */ private void endOutput() throws Exception { FileContentThreadData streams = threadData.get(); if (streams != null) { streams.setOutstr(null); } if ((streams == null) || !streams.hasStreams()) { // remove even when no value is set to remove key threadData.remove(); } streamClosed(); fileObject.endOutput(); }