ResponseWriter(final Response response, final boolean configSetStatusOverSendError) { this.grizzlyResponse = response; this.configSetStatusOverSendError = configSetStatusOverSendError; if (logger.isDebugLoggable()) { this.name = "ResponseWriter {" + "id=" + UUID.randomUUID().toString() + ", grizzlyResponse=" + grizzlyResponse.hashCode() + '}'; logger.debugLog("{0} - init", name); } else { this.name = "ResponseWriter"; } }
terminated = executorService.awaitTermination(terminationTimeout, terminationTimeUnit); } catch (InterruptedException e) { if (LOGGER.isDebugLoggable()) { LOGGER.log(LOGGER.getDebugLevel(), "Interrupted while waiting for thread pool executor " + executorName + " to shutdown.", e); if (LOGGER.isDebugLoggable()) { LOGGER.debugLog("Thread pool executor {0} forced-shut down. List of cancelled tasks: {1}", executorName, cancelledTasks);
terminated = executorService.awaitTermination(terminationTimeout, terminationTimeUnit); } catch (InterruptedException e) { if (LOGGER.isDebugLoggable()) { LOGGER.log(LOGGER.getDebugLevel(), "Interrupted while waiting for thread pool executor " + executorName + " to shutdown.", e); if (LOGGER.isDebugLoggable()) { LOGGER.debugLog("Thread pool executor {0} forced-shut down. List of cancelled tasks: {1}", executorName, cancelledTasks);
ResponseWriter(final Response response, final boolean configSetStatusOverSendError) { this.grizzlyResponse = response; this.configSetStatusOverSendError = configSetStatusOverSendError; if (logger.isDebugLoggable()) { this.name = "ResponseWriter {" + "id=" + UUID.randomUUID().toString() + ", grizzlyResponse=" + grizzlyResponse.hashCode() + '}'; logger.debugLog("{0} - init", name); } else { this.name = "ResponseWriter"; } }
terminated = executorService.awaitTermination(terminationTimeout, terminationTimeUnit); } catch (InterruptedException e) { if (LOGGER.isDebugLoggable()) { LOGGER.log(LOGGER.getDebugLevel(), "Interrupted while waiting for thread pool executor " + executorName + " to shutdown.", e); if (LOGGER.isDebugLoggable()) { LOGGER.debugLog("Thread pool executor {0} forced-shut down. List of cancelled tasks: {1}", executorName, cancelledTasks);
terminated = executorService.awaitTermination(terminationTimeout, terminationTimeUnit); } catch (InterruptedException e) { if (LOGGER.isDebugLoggable()) { LOGGER.log(LOGGER.getDebugLevel(), "Interrupted while waiting for thread pool executor " + executorName + " to shutdown.", e); if (LOGGER.isDebugLoggable()) { LOGGER.debugLog("Thread pool executor {0} forced-shut down. List of cancelled tasks: {1}", executorName, cancelledTasks);
terminated = executorService.awaitTermination(terminationTimeout, terminationTimeUnit); } catch (InterruptedException e) { if (LOGGER.isDebugLoggable()) { LOGGER.log(LOGGER.getDebugLevel(), "Interrupted while waiting for thread pool executor " + executorName + " to shutdown.", e); if (LOGGER.isDebugLoggable()) { LOGGER.debugLog("Thread pool executor {0} forced-shut down. List of cancelled tasks: {1}", executorName, cancelledTasks);
terminated = executorService.awaitTermination(terminationTimeout, terminationTimeUnit); } catch (InterruptedException e) { if (LOGGER.isDebugLoggable()) { LOGGER.log(LOGGER.getDebugLevel(), "Interrupted while waiting for thread pool executor " + executorName + " to shutdown.", e); if (LOGGER.isDebugLoggable()) { LOGGER.debugLog("Thread pool executor {0} forced-shut down. List of cancelled tasks: {1}", executorName, cancelledTasks);
terminated = executorService.awaitTermination(terminationTimeout, terminationTimeUnit); } catch (InterruptedException e) { if (LOGGER.isDebugLoggable()) { LOGGER.log(LOGGER.getDebugLevel(), "Interrupted while waiting for thread pool executor " + executorName + " to shutdown.", e); if (LOGGER.isDebugLoggable()) { LOGGER.debugLog("Thread pool executor {0} forced-shut down. List of cancelled tasks: {1}", executorName, cancelledTasks);